lyfsccn 发表于 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
请高手指点一下

wxk 发表于 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

lqjs 发表于 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
页: [1]
查看完整版本: 在红旗下编译内核成功后无法引导