[vox-tech] Reinstalling GRUB

Mark Street vox-tech@lists.lugod.org
Tue, 25 Nov 2003 11:13:57 -0800


grub-install /dev/hda

or whatever you boot device is...

On Tuesday 25 November 2003 11:05, Robert G. Scofield wrote:
> Can someone tell me how to reinstall GRUB from the command line?
>
> I had to reformat my Windows partition and so GRUB got eaten.  I checked
> various documentation, and even asked SuSE Support how to reinstall GRUB,
> but no one has given me the answer.
>
> There is a simple command for reinstalling LILO.  If I type /usr/sbin/grub
> I get a GRUB> prompt, but then I don't know what to do next.
>
> I finally figured out how to do it with YAST, and so I'm okay.  But I've
> seen too many GNOME and KDE GUI programs fail, and for something as
> important as installing a bootloader when Windows is in the neighborhood, I
> would feel more secure if I could reinstall GRUB from the command line.
>
-- 
Mark Street, D.C.
Red Hat Certified Engineer
Cert# 807302251406074
--
Key fingerprint = 3949 39E4 6317 7C3C 023E  2B1F 6FB3 06E7 D109 56C0
GPG key http://www.streetchiro.com/pubkey.asc