linux启动找不到内核,启动时找不到initrd.img

无盘工作站对应的IP设为192.168.0.105,故对应的配置文件为C0A80069

[root@localhost pxelinux.cfg]#cat /tftpboot/pxelinux.cfg/COA8OO69

default linux

label linux

kernel /vmlinuz-2.6

append initrd=initrd-2.6.img

现在的问题是:

工作站启动,得到IP,随后启动过程就停在以下信息的最后一行处:

...

Trying to load: pxelinux.cfg/COA80069

Missing parameter in syslinux.cfg

Loading vmlinuz-2.6............

Could not find ramdisk image: initrd-2.6.img

boot:

如果在启动项中将append initrd=initrd-2.6.img 改为no  initrd或者将该行注销,则又提示:

...

VFS:Cannot open root device "" or unknown-block(0,2)

Please append a correct "root=" boot option; here are the avaliable partitions:

0100 16384 ram0 (driver?)

0101 16384 ram1 (driver?)

0102 16384 ram2 (driver?)

...                         类似省略

010f 16384 ram15 (driver?)

kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,2)

请达人赐教,不胜感激!

|

路过,看看不二怎么弄的

|

内核编译是否正确.用mkinitrd生成initrd.img

|

initrd=initrd-2.6.img

是否应该是

initrd=/initrd-2.6.img

????????

|

kernel /vmlinuz-2.6

改为

kernel /vmlinuz-2.6 root=/dev/ram0

或者

kernel /vmlinuz-2.6 root=/dev/ram

试试

这一句提示要求指定正确的root

Please append a correct "root=" boot option; here are the avaliable partitions:

另外,似乎panic时,还没有开始执行initrd里边的脚本

你可能感兴趣的:(linux启动找不到内核)