LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How do I get Linux back? (https://www.linuxquestions.org/questions/linux-general-1/how-do-i-get-linux-back-38933/)

borgdrone 12-20-2002 12:03 AM

How do I get Linux back?
 
Hi Guys. I am a newbie in the Linux world. I just installed RH8 on my computer with Win 98 running on the side. I was using GRUB as the bootloader for selecting the desired OS at startup. As usual, Windows got infected by a virus & I had to format the entire windows partition & reload windows. Now I don't see Grub anymore. Whenever I start the PC, it boots directly to windows. How am I supposed to get back to Linux?.

iocain 12-20-2002 12:15 AM

You can boot a GRUB floppy or use a LILO boot floppy to get there, then re-run the GRUB installer (just 'update-grub' under Debian). If you don't have an easy way to get a boot floppy, you could install 'loadlin' under Windows to boot back over to your Linux partition so that you can re-run the GRUB installer.

You can get loadlin at either Freshmeat.net or Download.com.

Aussie 12-20-2002 09:12 AM

Boot with your deadrat cd and when you get to the boot prompt type "linux root = /dev/hd**" (*replace with the location of your root partition) then reinstall grub to the mbr.

jglen490 12-20-2002 09:44 AM

Most modern distros have a "rescue" option on their install CD.


All times are GMT -5. The time now is 12:28 AM.