使用grub引导Ubuntu系统的
原因:
- 采用分区助手调整windows下的分区后,导致各分区状态改变,所以grub无法启动Ubuntu系统
解决办法:
grub rescue> ls
grub rescue> (hd0,1),(hd0,2),(hd0,3),(hd0,4)
grub rescue> (hd0,msdos1),(hd0,msdos2),(hd0,msdos3),(hd0,msdos4)
grub rescue>ls (hd0,X)/
grub rescue>set root=(hd0,X)
grub rescue>set prefix=(hd0,X)/grub
# grub rescue>set prefix=(hd0,X)/boot/grub
grub rescue>insmod (hd0,X)/grub/normal.mod
# grub rescue>insmod (hd0,X)/boot/grub/normal.mod
grub rescue>normal
sudo update-grub
sudo grub-install /dev/sda
使用burg引导Ubuntu系统的
- 详见Ubuntu14.04引导界面美化(burg)
解决办法:
grub rescue> ls
grub rescue> (hd0,1),(hd0,2),(hd0,3),(hd0,4)
grub rescue> (hd0,msdos1),(hd0,msdos2),(hd0,msdos3),(hd0,msdos4)
grub rescue>ls (hd0,X)/
grub rescue>set root=(hd0,X)
grub rescue>set prefix=(hd0,X)/burg
# grub rescue>set prefix=(hd0,X)/boot/burg
grub rescue>insmod (hd0,X)/burg/normal.mod
# grub rescue>insmod (hd0,X)/boot/burg/normal.mod
grub rescue>normal
sudo burg-install "(hd0)"
sudo update-burg