[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Reinstall GRUB



On January 21, 2004 09:52 am, Christopher Fowler wrote:
> I just moved my hdb drive to hda and now I have place grub on the
> disk.   What is the correct grub command to install it to the boot
> sector?
>
>

grub> root (hd0,0)
grub> setup (hd0)


The first command tells GRUB the location of your boot partition (in this 
case, /dev/hda1 or (hd0,0) ). The second command tells GRUB where to install 
the boot record - The example will install the boot record on the MBR of the 
hard drive, so simply specify /dev/hda (also known as (hd0)).

-Matthew Macumber