- 论坛徽章:
- 0
|
我的系统是redhat9.
第一次:
使用如下命令:
make mrproper;
make menuconfig;(基本全部使用默认,谁让我菜呢!!呵呵~只加了nVidia nforce 支持,ntfs支持)
make install;
未出现错误提示。查看一下/boot,发现里面该有的都有了(或者还有什么其他我不知道的?)
vmlinuz-2.6.0-test6
system.map-2.6.0-test6
initrd-2.6.0-test6.img
甚至grub.conf也改过了!心里一阵狂喜,reboot
在grub里选择启动了2.6.0。
只见出现compress....ok.booting....
就没反应了!!
第二次:对上次安装作了清理后,同样执行上面的命令
出现:bzimage ok !2.6.0-test6 is not a dir . mkinitrd faild
ls /lib/modules
果然没有2。6。0-test 的文件夹。
不知道该怎么办了,只好 make modules ;make modules_install; mkinitrd initrd-2.6.0-test6 2.6.0-test6;
修改好 grub.conf后reboot
启动进行到 mounting root filesystem
mount: error 19 mounting ext3
pivotroot:pivot_root(/sysroot,/sysroot/initrd)faild:2
umount /initrd/proc faild:2
freeing unused kernel memory :236 freed
kernel panic: no init found .try passing init=option to kernel
到这里就卡死了!!!
是不是mkinitrd时有问题??
make install 到底会不会编译和安装模块?如果会为什么又没有/lib/modules/2.6.0-test6?
请各位老大指教! |
|