首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 系统运维 >

Ubuntu中怎么修复GRUB2 Boot Loader

2012-09-11 
Ubuntu中如何修复GRUB2 Boot Loader1)从Ubuntu安装光盘的Live DVD启动2)找到Ubuntu安装的硬盘分区sudo fdi

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


热点排行