关于一个centos系统备份恢复的问题,请高手解答
时间:2011-03-11
来源:互联网
用再生龙软件备份了一台电脑上的centos5系统,这台机器使用的是ide硬盘。将备份在另一台机器用再生龙恢复,结果启动时出现错误并死机。新机器用的是sata硬盘。错误信息如下:
booting 'centos (2.6.18-92.e15)'
root(hd0,0)
Filesystem type is ext2fs,partition type 0x83
kernel /vmlinuz-2.6.18-92.e15 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
Llinux-bzImage, setup=0x1e00,size=0x1b7034]
initrd /initrd-2.6.18-92.e15.img
[Linux-initrd @ 0xfbe8000, 0x2f751d bytes]
Memory for crash kernel (0x0 to 0X0) notwithin permissible range
ACPI: Getting cpuindex for acpiid 0x1
ACPI: Getting cpuindex for acpiid 0x2
ACPI: Getting cpuindex for acpiid 0x3
Red Hat nash version 5.1.19.6 starting
Reading all physical volumes.This may take a while...
No volume groups found
Volume group "VolGroup00" not found
Unable to access resume device (/dev/VolGroup00/LogVol01)
mount:could not find filesystem '/dev/root'
setuproot:moving /dev failed:No such file or directory
setuproot:error mounting /proc:No such file or directory
setuproot:error mounting /sys:No such file or directory
switchroot:mount failed:No such file or directory
Kernel panic - not syncing:Attempted to kill init!
然后就没反应了。
请高手告知修复的方法,最好详细一点。谢谢啦
ps.用恢复模式修复了grub,无效。
booting 'centos (2.6.18-92.e15)'
root(hd0,0)
Filesystem type is ext2fs,partition type 0x83
kernel /vmlinuz-2.6.18-92.e15 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
Llinux-bzImage, setup=0x1e00,size=0x1b7034]
initrd /initrd-2.6.18-92.e15.img
[Linux-initrd @ 0xfbe8000, 0x2f751d bytes]
Memory for crash kernel (0x0 to 0X0) notwithin permissible range
ACPI: Getting cpuindex for acpiid 0x1
ACPI: Getting cpuindex for acpiid 0x2
ACPI: Getting cpuindex for acpiid 0x3
Red Hat nash version 5.1.19.6 starting
Reading all physical volumes.This may take a while...
No volume groups found
Volume group "VolGroup00" not found
Unable to access resume device (/dev/VolGroup00/LogVol01)
mount:could not find filesystem '/dev/root'
setuproot:moving /dev failed:No such file or directory
setuproot:error mounting /proc:No such file or directory
setuproot:error mounting /sys:No such file or directory
switchroot:mount failed:No such file or directory
Kernel panic - not syncing:Attempted to kill init!
然后就没反应了。
请高手告知修复的方法,最好详细一点。谢谢啦
ps.用恢复模式修复了grub,无效。
作者: zaneleee 发布时间: 2011-03-11
会不会是sata没驱动起来啊,楼主试试把sata设置成兼容模式看看(在bios中)
作者: chenyx 发布时间: 2011-03-11
从以上信息中看到
“ Reading all physical volumes.This may take a while...
No volume groups found
Volume group "VolGroup00" not found
Unable to access resume device (/dev/VolGroup00/LogVol01)
”
你也提交了 之前的系统是 ide(也就是 pata),那硬盘标识(逻辑名称)为hdx。
现在的系统是sata,那硬盘标识(逻辑名称)为sdx。
而vg(卷组)是在pv(物理卷,也就是以物理硬盘为基础的)。
这样而到只恢复的vg无法被识别,也无法被访问。
“ Reading all physical volumes.This may take a while...
No volume groups found
Volume group "VolGroup00" not found
Unable to access resume device (/dev/VolGroup00/LogVol01)
”
你也提交了 之前的系统是 ide(也就是 pata),那硬盘标识(逻辑名称)为hdx。
现在的系统是sata,那硬盘标识(逻辑名称)为sdx。
而vg(卷组)是在pv(物理卷,也就是以物理硬盘为基础的)。
这样而到只恢复的vg无法被识别,也无法被访问。
作者: jerryjzm 发布时间: 2011-03-11
你也提交了 之前的系统是 ide(也就是 pata),那硬盘标识(逻辑名称)为hdx。
现在的系统是sata,那硬盘标识(逻辑名称)为sdx。
而vg(卷组)是在pv(物理卷,也就是以物理硬盘为基础的)。
这样而到只恢复的vg无法被识别,也无法被访问。
----------------------------------------------------------------------------------------
有什么解决的办法吗?
现在的系统是sata,那硬盘标识(逻辑名称)为sdx。
而vg(卷组)是在pv(物理卷,也就是以物理硬盘为基础的)。
这样而到只恢复的vg无法被识别,也无法被访问。
----------------------------------------------------------------------------------------
有什么解决的办法吗?
作者: zaneleee 发布时间: 2011-03-11
不能确定能否解决。
可以这样,你已经可以用rescue mode了。进入后,在 /boot/grub 中有个device.map
将这个文件的内容贴出来
你现在应该是这样的 (我估计的情况)
(hd0) /dev/hda
可以的话,将其
cp device.map device.map.back
修改为
(hd0) /dev/sda
ps:你镜像的源系统和现在要回复的系统(机器的配置情况没说清)
源系统,几块盘,做了几个vg
要回复的系统,几块盘
可以这样,你已经可以用rescue mode了。进入后,在 /boot/grub 中有个device.map
将这个文件的内容贴出来
你现在应该是这样的 (我估计的情况)
(hd0) /dev/hda
可以的话,将其
cp device.map device.map.back
修改为
(hd0) /dev/sda
ps:你镜像的源系统和现在要回复的系统(机器的配置情况没说清)
源系统,几块盘,做了几个vg
要回复的系统,几块盘
作者: jerryjzm 发布时间: 2011-03-11
都是只有一块硬盘,普通台式机的配置。一个vg。您说的办法我实验一下。谢谢
作者: zaneleee 发布时间: 2011-03-11
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28