mkinitrd fails in fc5
Mikkel L. Ellertson
mikkel at infinity-ltd.com
Fri Feb 13 20:02:31 UTC 2009
jackson byers wrote:
>
> Linux bootp 2.6.17-1.2174_FC5 #1 Tue Aug 8 15:30:55 EDT 2006 i686 i686
> i386 GNU/Linux
>
> I cannot get mkinitrd to work. It only responds with the --help list,
> seeming to say that my syntax is wrong.
> I am attempting to include usb-storage
>
> I am running as root from /root
>
> [root at bootp ~]# mkinitrd preload=ehci-hcd preload=usb-storage
> preload=scsi_mod preload=sd_mod /boot/initrd_usb.img
> 2.6.17-1.2174_FC5
> usage: mkinitrd [--version] [--help] [-v] [-f] [--preload <module>]
> [--force-ide-probe] [--force-scsi-probe | --omit-scsi-modules]
> [--image-version] [--force-scsi-probe | --omit-raid-modules]
> [--with=<module>] [--force-lvm-probe | --omit-lvm-modules]
> [--builtin=<module>] [--omit-dmraid]
> [--fstab=<fstab>] [--nocompress] <initrd-image> <kernel-version>
>
> (ex: mkinitrd /boot/initrd-2.2.5-15.img 2.2.5-15)
> [root at bootp ~]#
>
> and no new .img in /boot:
> [root at bootp ~]# ls -l /boot/*img*
> -rw-r--r-- 1 root root 1058886 Aug 17 2006
> /boot/initrd-2.6.15-1.2054_FC5.img
> -rw-r--r-- 1 root root 1081430 Aug 21 2006
> /boot/initrd-2.6.17-1.2174_FC5.img
> -rw-r--r-- 1 root root 7006019 Dec 21 2006 /boot/initrd.img-2.6.15-26-386
>
> my experience running mkinitrd is meager, but this just looks broken.
> maybe fc5 is just too old? I saw lots of mkinitrd bugs "wont fix"
> by googling.
>
> but this lack of any response except the help pkg
> tells me I am doing something basically wrong.
> I get same result using \ to breakup the command into two lines
>
>
> thanks for any help
> Jack
>
I think reading the mkinitrd man page would help. I do not believe
you are using the preload option properly.
--preload=module
Load the module module in the initial ramdisk image. The
module gets loaded before any SCSI modules which are
specified in /etc/modprobe.conf. This option may be used
as many times as necessary.
You normally do not need to preload any SCSI modules. But the big
mistake I see here is you are using preload instead of --preload.
Mikkel
--
Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090213/144056dc/attachment-0001.sig>
More information about the fedora-list
mailing list