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
阅读(1172) | 评论(0) | 转发(0) |