grub rescue>set
prefix=(hd0,6)/boot/grub
root=hd0,6
因為之前我的 kubuntu是灌在sda6的partition中
所以這個設定是對得
但是後來因為我改了partition
現在新的 partition已經是在sda1了
所以必須手動修改
grub rescue>ls
(hd0), (hd0,1), (hd0,2), (hd0,3), (hd0,5)
grub rescue>set root=(hd0,1)
grub rescue>set prefix=(hd0,1)/boot/grub
grub rescue>insmod normal
rescue:grub>normal
接下來你就看得到選單了
開機進入kubuntu之後記得修改/boot/grub /grub.cfg
執行update-grub修改menu
sudo update-grub
然後重新安裝 grub
sudo grub-install /dev/sda
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment