LinuxSir.cn,穿越时空的Linuxsir!

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

生成initrd时出错

[复制链接]
发表于 2009-1-26 09:54:07 | 显示全部楼层 |阅读模式
按照LFS的hits
使用了他提供的脚步
root:/boot# mkinitrd kernel_version=2.6.22.5
Checking Input...
        Making image for kernel 2.6.22.5.
Setting up Parameters...
        Module Load order is scsi
                 followed by ide
                 followed by usb
                 followed by added
        Root Device is /dev/hda2.
grep: /etc/modprobe.conf: No such file or directory
grep: /etc/modprobe.conf: No such file or directory
        /lib/modules/2.6.22.5 does exist.
Cannot autodetect file system for initrd.

我的LFS做好后也没有这个/etc/modprobe.conf文件,是什么问题呢?
各位是如何做的initrd的呢?
发表于 2009-1-26 11:57:27 | 显示全部楼层
建个空文件进去试试。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-28 09:39:24 | 显示全部楼层
已经解决了
我的fstab没有写对分区格式
回复 支持 反对

使用道具 举报

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

本版积分规则

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