allanwang 发表于 2002-11-16 14:52:34

2.4.19的kernel升级问题!

各位大虾:
我今天升级的RH8.0的内核.由2.4.18-14升到2.4.19 升级好像没什么问题.但新内核启动时发现:
vfs:cannet open root device "LABEL=/" or 00:00
please append a correct boot option
kernel panic:vfs:unable to mount root fs om 00:00
我的老内核2.4.18 启动时这一步是"VFS: Mounted root (ext2 filesystem)"
我的.config关于文件系统的设置如下.高手们帮忙看看是什么问题:
#
# File systems
#
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
CONFIG_AUTOFS4_FS=y
# CONFIG_REISERFS_FS is not set
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
# CONFIG_ADFS_FS is not set
# CONFIG_ADFS_FS_RW is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_BFS_FS is not set
CONFIG_EXT3_FS=y
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
# CONFIG_UMSDOS_FS is not set
CONFIG_VFAT_FS=y
# CONFIG_EFS_FS is not set
# CONFIG_JFFS_FS is not set
# CONFIG_JFFS2_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_TMPFS is not set
CONFIG_RAMFS=y
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
# CONFIG_ZISOFS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_NTFS_FS is not set
# CONFIG_NTFS_RW is not set
# CONFIG_HPFS_FS is not set
CONFIG_PROC_FS=y
# CONFIG_DEVFS_FS is not set
# CONFIG_DEVFS_MOUNT is not set
# CONFIG_DEVFS_DEBUG is not set
CONFIG_DEVPTS_FS=y
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX4FS_RW is not set
# CONFIG_ROMFS_FS is not set
CONFIG_EXT2_FS=y
# CONFIG_SYSV_FS is not set
# CONFIG_UDF_FS is not set
# CONFIG_UDF_RW is not set
# CONFIG_UFS_FS is not set
# CONFIG_UFS_FS_WRITE is not set

__________________
asus P2B,intel celeron II 850@533,256M SDROM,Gf2 mx400 32M,AD1816 ,REALTAK 8139

WIN98+WIN2000+REDHAT 8.0

我的lilo.conf
prompt
timeout=50
default=DOS
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
lba32

image=/boot/vmlinuz-2.4.18-14
        label=linux
        initrd=/boot/initrd-2.4.18-14.img
        read-only
        append="root=LABEL=/"

image=/boot/vmlinuz-2.4.19
        label="newlinux"
        read-only
        append="root=LABEL=/"

other=/dev/hda1
        optional
        label=DOS


:oops:

sd444 发表于 2002-11-16 15:00:12

你编译内核的过程是????

另外 ,ETX2编到内核,这个你做到了
EXT3作为模块,而不是编到核心
实验下吧

pirate 发表于 2002-11-16 15:01:57

Re: 2.4.19的kernel升级问题!

把ext2编译到内核中去,把ext3编译成模块

llc 发表于 2002-11-16 15:02:49

image=/boot/vmlinuz-2.4.19
label="newlinux"
read-only
append="root=LABEL=/"

上面append="root=LABEL=/" 这行注释掉

allanwang 发表于 2002-11-16 20:43:07

谢谢各位.

特别是llc大侠.致敬!
你们的帮助使我克服了这个困难.
衷心的说声:谢谢!!!
页: [1]
查看完整版本: 2.4.19的kernel升级问题!