当前位置: 技术问答>linux和unix
内核升级失败,帮帮忙。。。
来源: 互联网 发布时间:2016-01-10
本文导语: 我装的是Redhat 9, 内核是2.4的,我想升级到2.6.10,用来学习Linux设备驱动开发,但是升级后,重启出现如下错误: Red Hat nash version 3.4.42 starting Mounting /proc filesystem Creating block devices Scanning logical volumes vgscan --...
我装的是Redhat 9, 内核是2.4的,我想升级到2.6.10,用来学习Linux设备驱动开发,但是升级后,重启出现如下错误:
Red Hat nash version 3.4.42 starting
Mounting /proc filesystem
Creating block devices
Scanning logical volumes
vgscan -- LVM driver/module not loaded?
ERROR: /bin/vgscan exited abnormally!
Activating logical volumes
vgchange -- ERROR: "/etc/lvmtab" doesn't exist; please run vgscan
ERROR: /bin/vgchange exited abnormally!
Mounting root filesystem
mount: error 2 mounting ext3
pivotroot: pivot_root(/sysroot, /sysroot/initrd) failed: 2
umount /initrd/proc failed: 2
Freeing unused kernel memory: 260k freed
Kernel panic - not syncing: No init found. Try passing init = option to kernel.
说明: 配置内核时,我选择了ext3和ext2的所有选项,我在2.4中运行了vgscan,生成了/etc/lvmtab文件,还有就是我的/initrd为空。。。。
Red Hat nash version 3.4.42 starting
Mounting /proc filesystem
Creating block devices
Scanning logical volumes
vgscan -- LVM driver/module not loaded?
ERROR: /bin/vgscan exited abnormally!
Activating logical volumes
vgchange -- ERROR: "/etc/lvmtab" doesn't exist; please run vgscan
ERROR: /bin/vgchange exited abnormally!
Mounting root filesystem
mount: error 2 mounting ext3
pivotroot: pivot_root(/sysroot, /sysroot/initrd) failed: 2
umount /initrd/proc failed: 2
Freeing unused kernel memory: 260k freed
Kernel panic - not syncing: No init found. Try passing init = option to kernel.
说明: 配置内核时,我选择了ext3和ext2的所有选项,我在2.4中运行了vgscan,生成了/etc/lvmtab文件,还有就是我的/initrd为空。。。。
|
应该是要修改
grub.conf
grub.conf
|
ext3和ext2是当成模块编译的还是编译进内核的?应该编译进内核(全部打上星号,而不是M)