Ubuntu中如何修复GRUB2 Boot Loader

字体大小: 中小 标准 ->行高大小: 标准

1)从Ubuntu安装光盘的Live DVD启动

2)找到Ubuntu安装的硬盘分区

sudo fdisk -l

3)mount该分区

sudo mount /dev/sda1 /mnt

4)在该设备上重装GRUB2

sudo grub-install -root-directory=/mnt/ /dev/sda

5)从硬盘(hard drive)重启电脑,注意不是通过Live DVD重启

6)启动成功后在命令行输入sudo update-grub

此文章由 http://www.ositren.com 收集整理 ,地址为: http://www.ositren.com/htmls/65644.html