今天重装了Vista,ubuntu的引导被搞没了。
查了下资料
用ubuntu8.04的LIVE CD引导
在 终端 中
sudo grub
root (hd0,10)
setup (hd0)
quit
这样做,前提是知道ubuntu的boot partition
具体可以通过查看menu.lst来查看。
sudo gedit /boot/grub/menu.lst
网上有个语句
find /boot/grub/state1
说执行这条语句之后,可以查看(hd0,X)
不过我执行之后,却提示error15: file not found
对linux不了解,不知道什么原因。
还有 root和(hd0,10)之间有一个空格。切记!
setup和(hd0)之间也有一个空格。