Problems with GRUB and dual-booting
October 12, 2004 4:15 PM   Subscribe

Linux Filter: Had to re-install XP on a dual-boot machine because I borked it. It overwrote the MBR, where Grub was installed. How do I get GRUB back on the computer, and seeing my linux partition?
posted by SpecialK to Computers & Internet (5 answers total)
As with most Linux (hell, most x86) boot problems, this can be solved by Knoppix. Download a Knoppix image, burn the CD, and boot your computer from it (you may have to fiddle with the bios boot device settings). Knoppix should see your Linux partition automatically. Run grub using your existing configuration file (on the Linux partition). Problem solved!

You could also use the boot floppy that you made when you installed Linux, if you have a floppy drive and if you did, in fact, make a boot floppy.
posted by mr_roboto at 4:44 PM on October 12, 2004

You don't even need a floppy with a root filesystem, just a boot loader and a kernel. Pass the root=/dev/[root device] parameter to the kernel and boot from your normal root filesystem, and then reinstall the MBR.
posted by fvw at 6:50 PM on October 12, 2004

Response by poster: I've got a Fedora rescue CD, so I'll just use that...

Heh. Floppy? What is this 'floppy' you speak of?
OH MY GOD... 1.44mb? I thought that was a story that mothers used to scare their children to sleep!
posted by SpecialK at 7:06 PM on October 12, 2004

Why go through all this trouble when you can make XP boot linux for you instead?

The XP bootloader is much more use friendly, to boot.
posted by shepd at 6:30 AM on October 13, 2004

Response by poster: shepd: From your link, "This tutorial is based on using LILO (linux loader) as your boot loader."
... Grub's much more friendly, IMHO. I agree that the NT Loader is ok, but I wouldn't say that it's more friendly.

I'm in the middle of restoring grub using my old grub.conf ... I'll let everyone know how it goes.
posted by SpecialK at 6:58 AM on October 13, 2004

« Older Witness to an Affair   |   Bush/Kerry recipe ideas, please! Newer »
This thread is closed to new comments.