[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#255390: mkinitrd does not find modprobe.conf



Package: initrd-tools
Version: 0.1.70

On one of my systems, mkinitrd fails creating the initrd with the
following output:

# mkinitrd -o /boot/initrd.img-2.6.6-2-k7 2.6.6-2-k7
cpio: /etc/modprobe.conf: No such file or directory
cpio: /lib/modules/modprobe.conf: No such file or directory
#

It is correct, that these two locations do not contain a file
'modprobe.conf' but on a second system I have them neither and mkinitrd
does not fail. Both systems run 2.6 series kernels.

If I edit /usr/sbin/mkinitrd and remove the lines in the else case of
line 1042 (the case where not $oldstyle) replacing them with "echo
/etc/modules.conf" like in the $oldstyle case I can build the initrd.

The initrd created with this modified mkinitrd works well.

The initrd created with the original script does not allow the kernel to
start. In this case I only get the error message, that the kernel was
unable to mount its root file system (ext3 on an ATA hdd).


Tot kijk
    Matthias



Reply to: