Vorner 发表于 2004-4-11 03:38:48

编译kernel后启动不了~见内

我把linux内核从redhat linux-2.4.20-8 升级到linux-2.6.4后重起出现了下边的错误:
IP:routing cache bash table of 1024 buekets,8kbytes
TCp:Hash tables configured (established 16384 bind 32768)
NET:registered protocol family 1
NET:Registered protocol family 17
md:Autodetecting RAID arrays
md:antorun...
md:...autorun DONE
RAMDISK:Compressed image found at block 0
VFS:Mounted root(ext2 filesystem).
Red Hat nash version 3.4.42 starting
Mounting /proc filesystem
mount:error 19 mounting proc
Creating blosk devices
mkrootdev:failed to open /proc/partitions:2
creating root device
mkrootdev:failed to open /proc/cmdline:2
echo:cannot open /proc/sys/kernel/real-root-dev for write:2
mounting root filesystem
mount:error 19 mounting ext3
pivotroot:pivot_root(/sysroot,/sysroot/initrd) failed:2
mount /initrd/proc failed:2
VFS:Cannot open root device "LABEL=/"or unknow-block(0,0)
please append a correct "root="boot option
kernel panic:VFS:Unable to mount root fs onunknow-block(0,0)
   我该怎么办啊?我的文件系统:ext3.   linux装在hda8上。

谢谢大家!

fxdlxf 发表于 2004-4-11 08:01:27

贴出/boot/grub/grub.conf文件,可能是你的内核参数的问题,公社上很多的问题了~~

Vorner 发表于 2004-4-11 17:47:23

谢谢你fxdlxf。我已经搞定了。谢谢你。

yunfan 发表于 2004-4-12 01:31:30

我也遇到了一样的问题啊,说说你是怎么解决的啊?

mount: error 19 mounting ext 3
privotroot: pivot_root(/sysroot, /sysroot/initrd) failed: 2
unmount /initrd/proc failed: 2
Freeing unused kernel memory: 240k freed
kernel panic: No init found. Try passing init = option to kernel

我的grub.conf:

default=2
timeout=10
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
title Red Flag Linux (2.6.5)
        root (hd0,2)
        kernel /boot/vmlinuz-2.6.5 root=/dev/hda3 acpi=off 3 hdd=ide-scsi
        initrd /boot/initrd-2.6.5.img
title Red Flag Linux (2.4.20-8)
        root (hd0,2)
        kernel /boot/vmlinuz-2.4.20-8 ro root=/dev/hda3 vga=785 console=/dev/null CONSOLE=/dev/tty2 acpi=off hdd=ide-scsi
        initrd /boot/initrd-2.4.20-8.img
title Red Flag Linux (Safe Mode)
        root (hd0,2)
        kernel /boot/vmlinuz-2.4.20-8 root=/dev/hda3 acpi=off 4 hdd=ide-scsi
        initrd /boot/initrd-2.4.20-8.img
title Red Flag Linux (Console Mode)
        root (hd0,2)
        kernel /boot/vmlinuz-2.4.20-8 root=/dev/hda3 acpi=off 3 hdd=ide-scsi
        initrd /boot/initrd-2.4.20-8.img

title Windows
        rootnoverify (hd0,0)
        chainloader +1


大家救命啊,,,谢了

Vorner 发表于 2004-4-13 00:23:15

把对ext2和ext3的支持都编译好。不要编译成模块。
页: [1]
查看完整版本: 编译kernel后启动不了~见内