QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 785|回复: 3

求助!编译内核后无法启动

[复制链接]
发表于 2003-9-25 17:34:36 | 显示全部楼层 |阅读模式
总是提示:
ds:no socket drivers loaded!
kernel panic: i have no root and i want wo scream
然后就不动了
我用的内核版本是2.4.18
发表于 2003-9-26 05:27:14 | 显示全部楼层
do u have special device, like scsi device, in u system?

u use grub or lilo? anyway post u grub.conf or lilo.conf here


post u /etc/fstab here, post the result of command "df" here.
回复

使用道具 举报

 楼主| 发表于 2003-9-26 08:33:04 | 显示全部楼层
grub.conf 的内容是:

default=0
timeout=10
splashimage=(hd0,4)/grub/splash.xpm.gz


title Red Hat Linux (2.4.18 )
        root (hd0,4)
        kernel /vmlinuz-2.4.18 ro root=LABEL=/
        initrd /initrd-2.4.18.img
title Red Hat Linux (2.4.20-8 )
        root (hd0,4)
        kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
        initrd /initrd-2.4.20-8.img
title Window XP
        rootnoverify (hd0,1)
        chainloader +1
/etc/fstab 的内容是

LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/hda6               swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0 0
/dev/hda8 /windows vfat auto,umask=0 0 0

命令df结果如下:

文件系统               1K-块        已用     可用 已用% 挂载点
/dev/hda7              4561936   3238568   1091632  75% /
/dev/hda5               101089     12002     83868  13% /boot
none                    127632         0    127632   0% /dev/shm
/dev/hda8             18425536   5839344  12586192  32% /windows
请高手指教
回复

使用道具 举报

发表于 2003-9-26 21:35:36 | 显示全部楼层
the old kernel is 2.4.20-8 and u try to compile the 2.4.18?

u grub.conf looks ok,

u compile ext3 support in kernel or as module?

how do u generate the initrd-2.4.18.img?
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-18 15:29 , Processed in 0.048485 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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