LinuxSir.cn,穿越时空的Linuxsir!

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

最后编译内核的时候偷了一下懒,

[复制链接]
发表于 2009-5-4 18:37:11 | 显示全部楼层 |阅读模式
用了livecd里的配置文件(书上说也行得通),结果启动提示Unable to mount root fs on unknown-block (0,0)。。。。。。。不知道还有没有救
发表于 2009-5-4 21:39:17 | 显示全部楼层
livecd启动重新编译就是了
回复 支持 反对

使用道具 举报

发表于 2009-5-5 09:11:08 | 显示全部楼层
注意SCSI ATA 等部分 驱动的选择 要选全!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-5 11:12:58 | 显示全部楼层
重新编译了一遍还是同样的问题。上面还提示不能打开root device。
书上的menu。lst是
title LFS 6.3
root (hd0,3)
kernel /boot/lfskernel-2.6.22.5 root=/dev/hda4
我设置的是
title         lfs 6.3  
root          (hd0,9)
kernel        /boot/lfskernel-2.6.22.5 root=/dev/sda10
有没有问题?我的debian也设置成sda的,启动的很好
回复 支持 反对

使用道具 举报

发表于 2009-5-15 00:37:06 | 显示全部楼层
Post by sunphi;1983465
重新编译了一遍还是同样的问题。上面还提示不能打开root device。
书上的menu。lst是
title LFS 6.3
root (hd0,3)
kernel /boot/lfskernel-2.6.22.5 root=/dev/hda4
我设置的是
title         lfs 6.3  
root          (hd0,9)
kernel        /boot/lfskernel-2.6.22.5 root=/dev/sda10
有没有问题?我的debian也设置成sda的,启动的很好


You must compile the necessary filesystem support into kernel, not as modules.

In Debian, the initrd may help you to provide such support even certain filesystem supports are compiled as module but in LFS, you should get rid of initrd.
回复 支持 反对

使用道具 举报

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

本版积分规则

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