|
|
发表于 2006-5-22 09:32:52
|
显示全部楼层
方法如下,給大家做參考:
after boot into the rescue system
#mkdir /mnt/rootfs
#mount /dev/hd?? /mnt/rootfs <--- ?? indicates your / or /boot partition
(我的linux是放在hdb1,所以上面這行要改成mount /dev/hdb1 /mnt/rootfs)
#cd /mnt/rootfs
#ls <-- look around , there should be the linux system you previous installed
#chroot /mnt/rootfs <--the "/" directory is temporarily changed to /mnt/rootfs to accommodate the command next
**now we really install grub
#grub-install /dev/hda
check if there is any error message
#exit
#reboot
eject your CD |
|