LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to re-install GRUB (from Windows98!?) (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-re-install-grub-from-windows98-41557/)

sfingerh 01-15-2003 08:04 AM

How to re-install GRUB (from Windows98!?)
 
Hi,
I have Win98SE and RH8 Linux on my PC.
I used GRUB to boot.
Yesterday, Win98 stoped working, no way back. I re-installed
Win98 and forgot that this overwrites GRUB.

Now Win98 is back again, but I don't know hao to install GRUB again. (I lost the boot floppies) but have the RH CD's.

Thanks for helping

Sebastian

yngwin 01-15-2003 03:39 PM

If you can boot from cd, then boot from the redhat cd. I suppose you have an option to boot it as a rescue cd, so when you get the "boot:" prompt you can boot with "linux root=/dev/hda2" or whatever applies to your situation. Then, when you're in linux again, you can re-install grub.

deadbug 01-15-2003 08:07 PM

Also in Linux, put a floppy in the drive and issue this command:

uname -r

This will give you your kernel number. Then issue this command:

/sbin/mkbootdisk <kernel#>

Replace the parameter with the number the first command gives you and this will make you a boot disk that you should always have.

Robert0380 01-28-2003 04:55 AM

i had this same problem, but i need to know how to re-install Grub

Robert0380 01-28-2003 04:57 AM

ok i think i just found it...

/sbin/grub-install /dev/hda

i did the command now im gonna test it out, hope i make it back

Robert0380 01-28-2003 05:03 AM

yea, that did it, no more of that slow floppy stuff


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