Linux.com

NT grub go bye-bye

Link to this post 15 May 09

hi, ken here

i had fedora for about 3 months, then some idiot got a hold of my PC and tried to install NT. now im stuck with a blasted grub shell that won't go away, no matter how many times i reinstall fedora.

tried:
-partitioning
-boot sector
-ms dos
-installing other os(2000,98,95)

grub still stays :(

please help!

Link to this post 15 May 09

boot the fedora dvd or cd whatever , then chose update (not install)
and then chose install new boot loader and that's it.

Link to this post 15 May 09

kunix84 wrote:

hi, ken here

i had fedora for about 3 months, then some idiot got a hold of my PC and tried to install NT. now im stuck with a blasted grub shell that won't go away, no matter how many times i reinstall fedora.

tried:
-partitioning
-boot sector
-ms dos
-installing other os(2000,98,95)

grub still stays :(

please help!

well, to blast the MBR, boot any recent Linux Live Boot CD. at the shell prompt, do:


dd if=/dev/zero of=/dev/hda bs=512 count=1

or /dev/sda, or whatever is your drive that contains grub. bye bye grub. hello, non-booting computer! now install OS du jour...

Link to this post 15 May 09

You can even try to reinstall grub after booting from live CD .

Link to this post 15 May 09

Boot from Fedora CD/DVD/USB/Etc
Choose "rescue installed system", then customise regional parametresand agree with parametres.
Then as the user "root" replace the root directory:

#chroot /mnt/{YOUR_SYSTEM}

if root section was not mounted it is necessary mount to the previous command.
Then rescue grub:
#grub-install --no-floppy /dev/{YOUR_SYSTEM_DRIVE}

for example:
#grub-install --no-floppy /dev/sda

Link to this post 17 May 09

This is a bit off of the base subject, but this issue is one of the reasons why I use lilo instead of grub, to fix the windows mbr overwrite issue I just have to type lilo in a terminal.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board