免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1970 | 回复: 2
打印 上一主题 下一主题

linux 启动出错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-02-15 10:23 |只看该作者 |倒序浏览
我的linux启动时出错,导致启动不了.双系统.
错误状态:
Uncompressing Linux... OK, booting the kernel.
Red Hat Nash Version 6.0.19 starting
     Reading all physical volumes. This May take a while...
     No volume groups found
     Volum group "VolGroup00" not found
Unable to access resume device (/dev/Volgroup00/logVo101)
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

硬件环境:HP 3631 本本
win环境:装的是正版vista,装在C盘,有个系统backup盘为D盘,D盘是主分区
磁盘状态:动态磁盘
linux环境:版本为(Fedora (2.6.23.1-24.fc),
                把linux安装在D盘,安装之前 首先把D盘分区删除,然后再在下面装,

论坛徽章:
0
2 [报告]
发表于 2008-02-15 20:15 |只看该作者
1) Boot with the rescue CD
2) Type 'chroot /mnt/sysimage' (wherever it mounts the Fedora 5 partition)
3) 'cd /boot'
4) 'mkdir newinit'
5) 'cd newinit'
6) 'gunzip -c ../initrd-2.6.15-1.2054_FC5.img | cpio -idmv'
7) 'vi init'
Find 'mount /sysroot' (near the end of the file)
9) Delete or comment this out
10) Replace with 'mount -o defaults --ro -t ext3 /dev/VolGroup00/LogVol00 /sysroot' where /dev/VolGroup00/LogVol00 is the mount point for /
11) ':wq' out of vi
12) 'find . | cpio --quiet -c -o >../newinitrd'
13) 'cd ..' - you are now in /boot
14) 'mv initrd-2.6.15-1.2054_FC5.img initrd-2.6.15-1.2054_FC5.bak' - backup current initrd img file (just in case)
15) 'gzip -9 < newinitrd > initrd-2.6.15-1.2054_FC5.img'
16) Reboot the computer without the CD
救援模式。

论坛徽章:
0
3 [报告]
发表于 2008-02-20 22:56 |只看该作者

回复 #2 modemTNT 的帖子

谢谢
我是新手,可以告诉我这是什么引起的啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP