LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   GRUB loader (https://www.linuxquestions.org/questions/linux-general-1/grub-loader-44576/)

tszhim 02-08-2003 09:46 AM

GRUB loader
 
Hi... i get a problem about the grub loader ...hope you can help..

Originally, i got two OS, win xp and linux , and i can select one of the os in the GRUB loader, but after I re-install the win xp, the computer will directly boot the win xp but not the GRUB loader, i found that the linux is still exist in the computer, but how can i make loader appear at the time of starting the computer.?

nxny 02-08-2003 06:53 PM

Welcome to LQ, tszhim.


Not surprising. The Windows installer always assumes it is the only OS on the system and doesnt give you a choice of whether it should write its own boot loader to the MBR or not. The new install overwrote the boot code in your MBR that used to invoke grub.

Use your linux boot floppy or the first install cd to rescue your linux system and boot into it. Mount your root partition and reinstall grub on your MBR.

benjaminrtz 02-09-2003 01:41 AM

To install grub back the MBR , use this


/sbin/grub-install /dev/hda

tszhim 02-09-2003 06:04 AM

but i have just had Linux 8.0, while the linux version in my computer is version 7.2, is it ok for me to use the disk of 8.0 version??

nxny 02-09-2003 01:00 PM

Yes. Type 'linux rescue' at the prompt. You may have to mount your root filesystem manually, not sure.


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