bahamut 发表于 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

Dragonfly 发表于 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.

bahamut 发表于 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                devptsgid=5,mode=6200 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   109163275% /
/dev/hda5               101089   12002   8386813% /boot
none                  127632         0    127632   0% /dev/shm
/dev/hda8             18425536   58393441258619232% /windows
请高手指教

Dragonfly 发表于 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?
页: [1]
查看完整版本: 求助!编译内核后无法启动