ITeye博客

修复GRUB2

neatchenheng · 2010-04-24 23:04 · 工作 · 操作系统 · Markdown

重新安装完win7后,ubuntu9.10的grub2已经被破坏了。为了继续使用双系统,就需要重新安装GRUB2.

    

    1、用ubuntu9.10的LiveCD从光盘启动,然后执行下面的操作安装GRUB2

         #转换到root用户

         shell> sudo -i

         #挂载你的根分区到/mnt目录下(如果boot分区被分出,还要挂载boot分区)

         shell> mount /dev/hda8 /mnt

         #安装GRUB2

         shell>grub-install --root-directory=/mnt /dev/hda

     2、重新扫描系统启动信息

         shell> update-grub

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。