QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 910|回复: 4

编译kernel后启动不了~见内

[复制链接]
发表于 2004-4-11 03:38:48 | 显示全部楼层 |阅读模式
我把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 3276
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上。
  
谢谢大家!
发表于 2004-4-11 08:01:27 | 显示全部楼层
贴出/boot/grub/grub.conf文件,可能是你的内核参数的问题,公社上很多的问题了~~
回复

使用道具 举报

 楼主| 发表于 2004-4-11 17:47:23 | 显示全部楼层
谢谢你fxdlxf。我已经搞定了。谢谢你。
回复

使用道具 举报

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


大家救命啊,,,谢了
回复

使用道具 举报

 楼主| 发表于 2004-4-13 00:23:15 | 显示全部楼层
把对ext2和ext3的支持都编译好。不要编译成模块。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-10-6 10:19 , Processed in 0.051677 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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