Bug 2770

Summary: initrd options with mkinitrd and mkbootdisk
Product: [Retired] Red Hat Linux Reporter: Cristian Gafton <gafton>
Component: mkinitrdAssignee: David Lawrence <dkl>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-07-29 19:32:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Cristian Gafton 1999-05-12 18:14:27 UTC
I needed to build an initrd image and a complementary boot
disk with
support for my scsi card and for raid0. In the process I
noticed that
mkinitrd and mkbootdisk work slightly differently and don't
agree
completely with their respective man pages.


Man page for mkinitrd

mkinitrd [-fv] [--with=module] [--preload=module]
         [--omit-scsi-modules] [--version] image
         kernel-version

when executing program however it seems to prefer "--with
module" (in my
case --with raid0)


while man page for mkbootdisk says

mkbootdisk [--version] [--noprompt] [--verbose]
           [--mkinitrdargs <args>] [--device <devicefile>]
            <kernel>

When executing mkbootdisk I found that I needed to specify
the initrd
options as "--mkinitrdargs --with=module" (here I used
--mkinitrdargs
--with=raid0)

Comment 1 Michael K. Johnson 1999-07-29 19:32:59 UTC
mkinitrd accepts both --with=foo and --with foo; it always has
(according to my reading of our version control logs) and
I just tested to make sure that it works.