Jim Norton wrote, On 07/16/2003 05:36 PM:
I am trying to build in initrd fail for a kernel that I compiled. I want to use my 3Ware ATA raidcard as a module. So I made sure the module was added to the /etc/sysconfig/kernel file and did the following:
==================================================================== falcon:/boot # mkinitrd -k linux-2.4.21-2 -i initrd-linux-2.4.21-2 using "/dev/sda1" as root device (mounted on "/" as "reiserfs")
creating initrd "/boot/initrd-linux-2.4.21-2" for kernel "/boot/linux-2.4.21-2" (2.4.21) failed to mount image ====================================================================
The failure message is: failed to mount image.
No /boot/initrd-linux-2.4.21-2 file was created.
Any ideas what I am doing wrong?
IIANM, the sysconfig file is only used for the defaults. Try adding -m <modules you want to put in the initrd.>
Thanks for the information. Somebody suggested that 3Ware cards/drivers are the problem. I guess he was having troubles with them. I on the other hand have nothing be great success with my 3Ware card ( 7500 - 4 port ). My issue is that I just want to load the 3Ware module from initrd and not compile it directly into the kernel. Thanks again, Jim