|
发表于 2004-7-16 17:04:56
|
显示全部楼层
I assume you have already compiled and installed grub in your machine and copied necessary stage files into /boot/grub.
Assume your /boot is in partition hda8
While you are in grub shell, do:
grub> root (hd0,7)
This sets GRUB's root device. If not sure which partition to set as root device, do:
grub> find /boot/grub/stage1
after that, do:
setup (hd0) to install grub bootloader to MBR of hda.
Above are mostly from grub texinfo pages. |
|