LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 504|回复: 0

编译内核后重新启动出错

[复制链接]
发表于 2006-8-31 14:54:55 | 显示全部楼层 |阅读模式
操作过程如下:
系统cento4
原来内核:2.6.9-11.elsmp
tar -zxvf linux-2.6.17.tar.gz
cd linux-2.6.17
make menuconfig
make bzImage
make modules
make modules_install
make install
vi /boot/grub/grub.conf

title CentOS (2.6.17)
        root (hd0,4)
        kernel /boot/vmlinuz-2.6.17 ro root=LABEL=/1
        initrd /boot/initrd-2.6.17.img

重新启动出错:
mount:error 2 mounting ext3
mount:error 2 mounting none
switching to new root
switchroot:mount failed:22
umount /initrd/dev failed:2
kernel panic -not syncing:attempted to kill init!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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