PDA

View Full Version : Restoring GRUB



ucetin
5th August 2005, 11:40 PM
I installed Windows on a Linux box and made it dual boot. I am not getting the GRUB window anymore when I boot the computer (it boots into Window by default). How can I restore this, so I can boot into Linux? Thanks.

sailor
6th August 2005, 12:08 AM
steps to reinstall GRUB
1.- Boot from first FC CD or use the RESCUE CD
2. - type "linux rescue"
3. - rescue program will find your FC linux partition and mount it to /mnt/sysimage
4. - type chroot /mnt/sysimage
5. - type grub-install /dev/hda (this command install grub into MBR on first HDD)
6. - type exit
7. - hit ctr-alt-del to reboot your linux box - and see the expected results :-)

shams
6th August 2005, 12:19 AM
or better to boot the linux from windows how to do it read here (http://shams2.bravehost.com/page2.html) .

ucetin
6th August 2005, 12:23 AM
grub-install /dev/sda is giving me this error: The file /boot/grub/stage1 not read corretly.

Omega Blue
6th August 2005, 06:03 AM
Are you using SATA?

ucetin
6th August 2005, 06:36 AM
Yes, it is Serial ATA HD.