Re: mkinitrd fails in fc5

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

 



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@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@bootp ~]#
> 
> and no new  .img  in /boot:
> [root@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!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux