QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1118|回复: 2

在红旗下编译内核成功后无法引导

[复制链接]
发表于 2005-4-25 20:37:39 | 显示全部楼层 |阅读模式
用新内核启动显示如下
cannot opne root device "/LABEL=/" or unknown-block(0,0)
please append a correct "root=/LABEL=/" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)
在网上找了些资料看,
编译的时候,
发觉没有选漏的选项,
ext2 vfs文件都已经选择了的
而且把 /LABEL=/ 改成 /dev/hda9也不行
我的根分区是hda9
请高手指点一下
发表于 2005-6-1 20:36:51 | 显示全部楼层
Sorry I cannot input Chinese Now.

I think you should re-configure your kernel. When configuring the new kernel, you should make ext3 as built-in functions of kernel, not as modules, and then unselect ext2 support. Make bzImage && make modules && make modules_install && make install && (maybe) mkinitrd && vi /boot/grub/grub.config "/LABEL=/" --> "/dev/hda9".

Good luck
回复

使用道具 举报

发表于 2005-6-3 19:20:00 | 显示全部楼层
问题我也遇到骊!

#cd /boot/grub
#vi /boot/grub/grub.config
去掉升级内核后的加载,让系统直接用kernel /boot/vmlinuz-2.6.11.11 init 5引导,我现在就是在2.6.11.11下。
ro root=/dev/hda10 vga=791 splash=silent
        initrd /boot/initrd-2.6.9.img

这个是我最后升级2.6.11.11内核后成功引导的 grub.conf

# grub.conf generated by MagicInstaller.

# Note that you do not have to rerun grub after making changes to this file.
default=1
timeout=10
splashimage=(hd0,9)/boot/grub/splash.xpm.gz
title WINDOWS XP SP2
        rootnoverify (hd0,0)
        chainloader +1
title MagicLinux (2.6.11.11)
        root (hd0,9)
        kernel /boot/vmlinuz-2.6.11.11 init 5
title MagicLinux (Graphics Mode)
        root (hd0,9)
        kernel /boot/vmlinuz-2.6.9 init 5 ro root=/dev/hda10 vga=791 splash=silent
        initrd /boot/initrd-2.6.9.img
title MagicLinux (2.6.11.11Console Mode)
        root (hd0,9)
        kernel /boot/vmlinuz-2.6.11.11 init 3
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-29 05:43 , Processed in 0.045674 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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