QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 953|回复: 4

SOS kernel-2.6.9无法启动

[复制链接]
发表于 2004-10-23 11:01:15 | 显示全部楼层 |阅读模式
我在FC2上编译kernel2.6.9,但是不能启动,错误提示如下

mkrootdev: label / not found
mount: error 2 mounting ext 3
pivotroot: pivot root (/sysroot,/sysroot/initrd) failed: 2
umount: /initrd/proc failed: 2
Kernel panic -not syncing: No init found. Try passing init = option to kernel

我的grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,
#          kernel /boot/vmlinuz-version ro root=/dev/hda9
#          initrd /boot/initrd-version.img
#boot=/dev/hda
default=2
timeout=10
splashimage=(hd0,8 )/boot/grub/splash.xpm.gz
title Fedora Core (2.6.9 )
        root (hd0,8 )
        kernel /boot/vmlinuz-2.6.9 ro root=LABEL=/ rhgb quiet
        initrd /boot/initrd-2.6.9.img
title Fedora Core (2.6.5-1.358 )
        root (hd0,8 )
        kernel /boot/vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
        initrd /boot/initrd-2.6.5-1.358.img
title Other
        rootnoverify (hd0,0 )
        chainloader +1

编译完成以后,都自动生成了initrd-2.6.9.img,vmlinuz-2.6.9
ext3 file system我也编入了内核

请各位指点一下,小弟先谢了
发表于 2004-10-23 11:56:47 | 显示全部楼层
kernel /boot/vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet


root=LABEL=/ rhgb quiet

????看 grub使用说明。。。
回复

使用道具 举报

 楼主| 发表于 2004-10-23 13:13:53 | 显示全部楼层
我把
title Fedora Core (2.6.9 )
root (hd0,8 )
kernel /boot/vmlinuz-2.6.9 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.9.img
改成
title Fedora Core (2.6.9 )
root (hd0,8 )
kernel /boot/vmlinuz-2.6.9 ro root=/dev/hda9
initrd /boot/initrd-2.6.9.img
没有出现mkrootdev: label / not found 的错误了
谢谢了
不过后面的错误还在
请问还有什么办法吗?
回复

使用道具 举报

发表于 2004-10-24 12:23:30 | 显示全部楼层
[code:1]mount: error 2 mounting ext 3[/code:1]

把你配置文件中的文件系统那一切贴出来??
回复

使用道具 举报

 楼主| 发表于 2004-10-24 21:24:59 | 显示全部楼层
我基本上是按照默认的设置
不知道还要改哪些地方

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-18 18:05 , Processed in 0.048160 second(s), 17 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表