Chinaunix首页 | 论坛 | 博客
  • 博客访问: 350442
  • 博文数量: 90
  • 博客积分: 2017
  • 博客等级: 大尉
  • 技术积分: 615
  • 用 户 组: 普通用户
  • 注册时间: 2009-10-19 08:10
文章分类

全部博文(90)

文章存档

2012年(4)

2011年(74)

2010年(11)

2009年(1)

分类: LINUX

2011-05-17 10:00:13

suse 11 sp1 系统备份以后,重启备份系统提示找不到part1 part2.原因是硬盘拷贝的时候把源硬盘的id也拷贝到了grub/menu.list和/etc/fstab /etc/mtab里面。我们用命令ls /dev/disk/by-id 得到新的硬盘id。然后在/boot/grub/menu.list 和/etc/fstab里面去改成查到的id就能正常启动系统了。
 
参考片段1:
You need to boot into rescue mode and modify /boot/grub/menu.lst
and /etc/fstab and correct the settings there. You can find the correct
id by:
 
 ls /dev/disk/by-id. That will show you the ones it knows about
and you can hopefully tell which one is current. I'm guessing it tells
you in dmesg too.

参考片段2:
You probably have to edit a couple of files to get the system booting again. For one when using another disk it's id (disk-by-id) will be different then the one you imaged from.

Maybe this could be of help : Some nice member here posted it -_-


..see the ' files to keep in mind' bit on what files to edit.

Hope it helps,
Wj

edit: look at these files in particular;
/boot/grub/menu.1st
/boot/grub
/etc/fstab
/etc/mtab
阅读(1158) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~