QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1879|回复: 3

编译2.6.6内核重新不能启动问题!(SOS)

[复制链接]
发表于 2004-5-19 17:13:08 | 显示全部楼层 |阅读模式
在2.4.20-8内核的基础上重新编译2.6.6内核
经过一系列命令:
make mrproper
make menuconfig
make
make modules
make modules_install
make install
拷贝bzImage 到/boot下,其他的文件会在make install时自动放到/boot下
然后 修改grub里面的root=LABEL=/为root=/dev/hda6
然后shutdown -r now
进入grub选择2.6.6 在引导的时候出现不能引导错误信息:
Mounting /proc filesystem
Creating block devices
Creating root devices
Mounting root filesystem
EXT2-fs warning (device hda6):ext2_fill_super:mounting ext3 filesystem as ext2

pivotroot:pivot_root(/sysroot,/sysroot/initrd):2
umount /initrd/proc failed:2
Freeing unused kernel memory:248k freed
kernel panic:No init found.Try passing init=option to kernel.
起初以为在配置内核时没有选择ext3编译到内核,于是又重新配置内核 将ext3相关内容都选择
可是还是出现上述错误.
其中grub.conf的内容如下:
default=2
timeout=10
splashimage=(hd0,5)/grub/splash.xpm.gz

title Red Hat Linux(2.6.6)
        root=(hd0,5)
        kernel /vmlinuz-2.6.6 ro root=/dev/hda6
        initrd /initrd-2.6.6.img
title Red Hat Linux(2.4.20-
        root=(hd0,5)
        kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
        initrd /initrd-2.4.20-8.img
----------------------------------------------
另外,在/initrd目录下没有找到proc子目录 /proc在根目录下

请大侠帮俺分析一下,到底问题在哪里?
发表于 2004-5-19 22:56:31 | 显示全部楼层
升级了modules init tool了码?
回复

使用道具 举报

 楼主| 发表于 2004-5-20 15:28:03 | 显示全部楼层
升了
3.0的
回复

使用道具 举报

发表于 2004-6-13 23:14:24 | 显示全部楼层
我和你遇到的问题一样,晕啊,我都编译4次了,我也把EXT3不作为模块编译进去了,可是还是不行啊,工具也升级了.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-10-6 12:51 , Processed in 0.078915 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表