LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   getting grub back (https://www.linuxquestions.org/questions/linux-newbie-8/getting-grub-back-260737/)

viniosity 11-29-2004 09:01 PM

getting grub back
 
I have a dual boot win98/debian system and I had to reinstall windows98 thus wiping out grub (which was in the MBR). Back in the LILO days all I had to do was run /sbin/lilo from the rescue disk and all was fine.. is there an equivalent for Grub? How do I get grub back?

amfoster 11-29-2004 09:05 PM

boot off boot disk
mount the root file system

run grub-update

Electro 11-30-2004 01:33 AM

Before doing grub-update, make a Windows boot disk first.

viniosity 11-30-2004 09:40 AM

Turns out I had to run /sbin/grub-install /dev/hda to get it working. Here's the link: http://www.desktop-linux.net/grub.htm


All times are GMT -5. The time now is 06:39 AM.