当前位置: 技术问答>linux和unix
Redhat 8.0内核编译的问题,在线求救~~~~~~~~~~~~~~~~~~~~~~
来源: 互联网 发布时间:2015-06-10
本文导语: Kernel为2.4.18-14,我不打算升级,只是将配置修改一下,将IPv6编译进内核,就只改这一项. make clean;make mrproper;make xconfig 修改后保存退出. make make install make modules make modules_install 在grub.conf中出现下面的新内容: title Red Hat...
Kernel为2.4.18-14,我不打算升级,只是将配置修改一下,将IPv6编译进内核,就只改这一项.
make clean;make mrproper;make xconfig
修改后保存退出.
make
make install
make modules
make modules_install
在grub.conf中出现下面的新内容:
title Red Hat Linux (2.4.18-14custom)
root (hd0,8)
kernel /boot/vmlinuz-2.4.18-14custom ro root=LABEL=/
initrd /boot/initrd-2.4.18-14custom.img
/boot中出现下面几个文件:
vmlinuz-2.4.18-14custom
initrd-2.4.18-14custom.img
System.map-2.4.18-14custom
但重启时出现下面信息:
Red Hat nash version 3.4.28 starting
Mounting /proc filesystem
Creating block devices
Creating root devices
Mounting root filesystem
kmod: failed to exec /sbin/modprobe -s -k ext3, errno = 2
kmod failed to exec /sbin/modprobe -s -k freeext3, errno = 2
mount: error 19 mounting ext3
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
umount /initrd/proc failed: 2
Freeing unused kernel memory: 216k freed
Kernel panic: No init found. Try passing init= option to kernel
请问怎么办啊?~~~~~
make clean;make mrproper;make xconfig
修改后保存退出.
make
make install
make modules
make modules_install
在grub.conf中出现下面的新内容:
title Red Hat Linux (2.4.18-14custom)
root (hd0,8)
kernel /boot/vmlinuz-2.4.18-14custom ro root=LABEL=/
initrd /boot/initrd-2.4.18-14custom.img
/boot中出现下面几个文件:
vmlinuz-2.4.18-14custom
initrd-2.4.18-14custom.img
System.map-2.4.18-14custom
但重启时出现下面信息:
Red Hat nash version 3.4.28 starting
Mounting /proc filesystem
Creating block devices
Creating root devices
Mounting root filesystem
kmod: failed to exec /sbin/modprobe -s -k ext3, errno = 2
kmod failed to exec /sbin/modprobe -s -k freeext3, errno = 2
mount: error 19 mounting ext3
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
umount /initrd/proc failed: 2
Freeing unused kernel memory: 216k freed
Kernel panic: No init found. Try passing init= option to kernel
请问怎么办啊?~~~~~
|
问题不在这些,要在内核配置中File Systems中将EXT3打上对勾,即编译进内核,不能当模块加载