[mdlug] Flakey hard drive - don't see the linux bootloader anymore

gib at juno.com gib at juno.com
Sat Aug 25 17:13:00 EDT 2007


I saw this advise:
http://www.howtogeek.com/howto/ubuntu/reinstall-ubuntu-grub-bootloader-after-windows-wipes
-it-out/

Reinstall Ubuntu Grub Bootloader After Windows Wipes it Out

If you run a dual-boot system with Linux and Windows, this has happened to you. You had to 
do your monthly reinstall of Windows, and now you don't see the linux bootloader anymore, 
so you can't boot into Ubuntu or whatever flavor of linux you prefer.

Here's the quick and easy way to re-enable Grub.

1) Boot off the LiveCD

2) Open a Terminal and type in the following commands, noting that the first command will 
put you into the grub "prompt", and the next 3 commands will be executed there. 
Also note that hd0,0 implies the first hard drive and the first partition on that drive, 
which is where you probably installed grub to during installation. If not, then adjust 
accordingly.

    sudo grub

    > root (hd0,0)

    > setup (hd0)

    > exit

Reboot (removing the livecd), and your boot menu should be back.

And I also saw this advise:
Edit either: 
/boot/grub/menu.lst 
or 
/root/grub/menu.lst. 
to include this:

title Microsoft Windows 
root (hd0, 0)
chainloader +1


________________________________________________________________________
Surprise your friends with a FREE Juno Video Mail! Sign up today.
http://track.juno.com/s/lc?u=http://ads.addynamix.com/click/2-2130421-177





More information about the mdlug mailing list