In Dual Boot

Discussion regarding the installation and configuration of Linux distributions.
Post Reply
hamidabrar
Lance Naik
Posts: 31
Joined: Thu May 10, 2007 2:29 pm
Location: Saudi Arabia (Dammam)
Contact:

In Dual Boot

Post by hamidabrar »

Salamz
i have Dual Boot (Xp & RH E 4).
I have reinstall XP, now there is now option/Menu for seletion operating, only xp get start diretly.
is there any solution.
pls. help
I want to be a Master not JAck
hamidabrar
Lance Naik
Posts: 31
Joined: Thu May 10, 2007 2:29 pm
Location: Saudi Arabia (Dammam)
Contact:

Any one there

Post by hamidabrar »

Bro's
let me know how to recover my bootloader.
* I dont want to re-install Linux, i just want to recover my bootloader.

looking for a nice and efficent reply.
I want to be a Master not JAck
mudasir
Captain
Posts: 565
Joined: Tue Oct 17, 2006 5:23 am
Location: Dubai
Contact:

Post by mudasir »

AOA,

Dear hamidabrar,

Just follow the steps below and all your problems will be solved.

1. Insert RedHat ENterprise 4 CD-1 into your CD-ROM.
2. No type "linux rescue".
3. Now chroot /mnt/sysimage
4. fdisk -l
5. Point out the /dev/ of your root partition. (mine is /dev/hda5)
6. Then execute this command very carefully "dd if=/dev/hda5 of=/linux.lnx bs=512 count=1"
In the above command change "/dev/hda5" with your main root partition.
7. Now create a dir "mkdir /win".
8. Now mount any FAT32 partition to this dir " mount /dev/hda1 /win"
In the above command replace "/dev/hda1" with your FAT32 partition.
9. Now execute this command "cp /linux.lnx /win"
10. Now reboot your PC in Windows XP.
11. First check in which partition the linux.lnx file is present
12. Goto Start then RUN, then type c:boot.ini
13. Now goto the last line and then type
C:\linux.lnx="RedHat Enterprise Linux 4"
In the above Path change "C:\" with the Drive in which linux.lnx file is present.
14. Save and Exit the file c:boot.ini
15. Reboot and if you have done everything correctly, then you should have two options on Boot Loader.
Do let me know if you were able to correctly follow all the steps.
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
x2oxen
Major General
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Location: Faisalabad
Contact:

Post by x2oxen »

1.) Boot using Linux CD.
2.) Type Linux Rescue at the prompt.
3.) Follow the instructions until u get the sh prompt. Then give following commands:

chroot /mnt/sysimage
grub-install /dev/hda

Here /dev/hda refers to ur HDD
Muhammad Usman
+92-321-6640501
Chemonics International
http://usmanpk.com
sfh1975
Lance Naik
Posts: 22
Joined: Tue May 22, 2007 11:21 pm
Contact:

Post by sfh1975 »

yep, reinstall grub- the boot loader.
just google how to do so or search this forum for previous posts on the subject.
x2oxen
Major General
Posts: 1114
Joined: Wed Aug 22, 2007 3:17 pm
Location: Faisalabad
Contact:

Post by x2oxen »

sfh1975 wrote:yep, reinstall grub- the boot loader.
just google how to do so or search this forum for previous posts on the subject.
You want to say the above solutions are not working well that he should google about it more???
Muhammad Usman
+92-321-6640501
Chemonics International
http://usmanpk.com
sfh1975
Lance Naik
Posts: 22
Joined: Tue May 22, 2007 11:21 pm
Contact:

Post by sfh1975 »

x2oxen wrote: You want to say the above solutions are not working well that he should google about it more???
no!
hamidabrar
Lance Naik
Posts: 31
Joined: Thu May 10, 2007 2:29 pm
Location: Saudi Arabia (Dammam)
Contact:

Partition Problem

Post by hamidabrar »

Salamz
i am trying to install linux (in Dual Boot) using Disk Druid, i have enough space (more then 25 GB) on my SATA HDD, but after making any 2 partition, Disk Druid failed to make 3rd partition. Following MSG
***could not allocate requested partition, Partition failed.
Could no partition***
my XP loading smootingly, i have checked my HDD using dignostic tool, its ok.
pls. help me.

Regards
I want to be a Master not JAck
hamidabrar
Lance Naik
Posts: 31
Joined: Thu May 10, 2007 2:29 pm
Location: Saudi Arabia (Dammam)
Contact:

Partition Problem

Post by hamidabrar »

Salamz
i am trying to install linux (in Dual Boot) using Disk Druid, i have enough space (more then 25 GB) on my SATA HDD, but after making any 2 partition, Disk Druid failed to make 3rd partition. Following MSG
***could not allocate requested partition, Partition failed.
Could no partition***
my XP(on NTFS) loading smootingly, i have checked my HDD using dignostic tool, its ok.
pls. help me.

i am waitng for a solution, coz i have checked google too much.
Regards
I want to be a Master not JAck
shahzor
Naik
Posts: 72
Joined: Thu Jun 29, 2006 11:33 am
Location: Quetta
Contact:

Post by shahzor »

dear hamidabrar

I have been using alot of time the dual boot OS, what I suggest you is the best first you Xp on a partition and then try to install Linux I think you will have less troubles.

thanks
shahz
LinuxBoy
nomankhn
Colonel
Posts: 714
Joined: Wed Aug 07, 2002 8:00 pm

Post by nomankhn »

Hi shahzor,

i agree with our statement, you are right.

Regards,
Noman Liaquat
Post Reply