LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: zxf1942

编译内核 求教!!!!!!!!

[复制链接]
 楼主| 发表于 2004-12-20 13:47:02 | 显示全部楼层
对了grub.conf文件如下:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,1)
#          kernel /boot/vmlinuz-version ro root=/dev/hda2
#          initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
        root (hd0,1)
        kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
        initrd /boot/initrd-2.4.20-8.img
title DOS
        rootnoverify (hd0,0)
        chainloader +1
 楼主| 发表于 2004-12-20 14:06:32 | 显示全部楼层
我执行了#make install
多了个启动选项:2.4.20-8custom
可是还是停到了:
......
VFS:Cannot open root device "LABEL=/" or 00:00
Pleace append a correct "root=" boot option
Kernel panic : VFS :Unable to mount root fs on 00:00
发表于 2004-12-20 22:44:36 | 显示全部楼层
那你用根目录所在的盘替换LABEL=/试试
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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