读书人

Ubuntu中怎么修复GRUB2 Boot Loader

发布时间: 2012-09-11 10:49:04 作者: rapoo

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


读书人网 >系统运维

热点推荐