首 页文章中心

Linux学习网

您的位置Linux学习网 > Linux安装指导 > 文章内容

ubuntu+XP双系统

作者:videoout  来源:本站整理  发布时间:2007-9-3 8:47:00
早上重装了XP

  然后从UBUNTU的LIVE CD启动,通过如下恢复GRUB后:
  sudo grub
  find /boot/grub/stage1 //我这里反馈回来的是(hd0,1)
  root (hd0,1)
  setup (hd0)
  quit

  然后重启,从硬盘启动,GRUB启动后选择UBUNTU 7.04

  然后出现了ERROR 17的错误提示:说是不能挂载所选的分区

  按任意键回到GRUB主菜单,选择recovery mode 也出现ERROR 17,memtest86+也是这样,想想估计是重装XP后分区表乱了,然后就按e修改,把root (hd0,1)改成root (hd0,10),还是出现ERROR 17错误,继续改,改成root (hd0,8),系统成功启动,进入系统后,修改menu.lst:sudo gedit /boot/grub/menu.lst

  把:
  title Ubuntu, kernel 2.6.20-16-generic
  root (hd0,1)
  kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=bb0b700e-9d24-4e00-9e8c-eeeeaca5c06a ro quiet splash locale=zh_CN
  initrd /boot/initrd.img-2.6.20-16-generic
  quiet
  savedefault

  title Ubuntu, kernel 2.6.20-16-generic (recovery mode)
  root (hd0,1)
  kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=bb0b700e-9d24-4e00-9e8c-eeeeaca5c06a ro single
  initrd /boot/initrd.img-2.6.20-16-generic

  title Ubuntu, memtest86+
  root (hd0,1)
  kernel /boot/memtest86+.bin
  quiet

  里面的root (hd0,1)全部改为:root (hd0,8)

  保存退出,重启,一个一个选择看了一下,全部都能正常启动了这次,没出现ERROR 17的错误提示了。
收藏本页到: 365Key | del.icio.us | | 添加到雅虎收藏+
  • 网站帮助 - 广告合作 - 网站地图