我装的是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为空。。。。
光明 于 2007-01-14 17:55:27发表:
就是这两个原因
vgchange -- ERROR
umount /initrd/proc failed: 2