LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing Grub (https://www.linuxquestions.org/questions/linux-software-2/installing-grub-66237/)

Itzac 06-17-2003 05:14 PM

Installing Grub
 
I just reinstalled WindowsXP and it decided that I only needed its boot loader :tisk: ... so grub is now gone.

I'm wondering if there is any way to install grub in the MBR again without using a floppy (my floppy drive is currently not working).

I can access my redhat install using the rescue option on the install CD, so I have all the tools I need, but the info and man pages for Grub aren't as clear as they could be.

Help

acid_kewpie 06-17-2003 05:22 PM

if you just boot to your rescue mode and run "grub" it should put you into a grub shell, then just a case of

grub> root (hd0,0) // Your boot partition - hda1 here
grub> setup (hd0) // Where the boot record is - MBR
grub> quit

http://www.gentoo.org/doc/en/gentoo-x86-install.xml gives some extra useful details.

Itzac 06-18-2003 12:41 AM

That doesn't seem to do the trick. I've gotten Lilo working, and it's properly boots both OS'. I think I'll just have to put up with the ugly startup screen until I figure something out.

Thanks

JunLitsu 06-18-2003 01:42 AM

I think you can use a boot disk to boot into linux then simply run grub-install and provided that your linux partition is intact it should simply work again


All times are GMT -5. The time now is 02:50 PM.