LinuxSir.cn,穿越时空的Linuxsir!

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

mkinitrd 错误信息,无法生成initrd,img

[复制链接]
发表于 2005-9-18 10:03:40 | 显示全部楼层 |阅读模式
debian:/boot# mkinitrd -o initrd.img 2.6.13
/usr/sbin/mkinitrd: add_modules_dep_2_5: modprobe failed
FATAL: Module usbcord not found.
FATAL: Module sisi_mod not found.
FATAL: Module sd_mod not found.
FATAL: Module usb_storage not found.
FATAL: Module uhci_hcd not found.
FATAL: Module ehci_hcd not found.
FATAL: Module sg not found.
FATAL: Module usb_storage not found.
WARNING: This failure MAY indicate that your kernel will not boot!
but it can also be triggered by needed modules being compiled into
the kernel.
发表于 2005-9-19 01:09:06 | 显示全部楼层
Post by fengjl
debian:/boot# mkinitrd -o initrd.img 2.6.13
/usr/sbin/mkinitrd: add_modules_dep_2_5: modprobe failed
FATAL: Module usbcore not found.
FATAL: Module scsi_mod not found.
FATAL: Module sd_mod not found.
FATAL: Module usb_storage not found.
FATAL: Module uhci_hcd not found.
FATAL: Module ehci_hcd not found.
FATAL: Module sg not found.
FATAL: Module usb_storage not found.
WARNING: This failure MAY indicate that your kernel will not boot!
but it can also be triggered by needed modules being compiled into
the kernel.
There are some typos.  Have you compiled these into kernel but not as modules?

There are 2 possible work around:

1. do not compile these in kernel but compile these as modules
2. you need to change something in /etc/mkinitrd/mkinitrd.conf.  I cannot remember what changes are needed.  I need to dig up my log book and figure it out.
回复 支持 反对

使用道具 举报

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

本版积分规则

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