Patrick Spinler wrote:
For example, when adding more dasd to an image, "mkinitrd && zipl" suffices on sles to insure that the new dasd will be brought online the next time the image is IPL'd. On rhel, similar to the way sles 8 used to work, you have to manually edit /etc/modprobe.conf before running mkinitrd, and mkinitrd doesn't default any of the arguments.
fyi - Brad Hinson took it upon himself to address this, based off this thread. Pending engineering acceptance & QA review, I'd imagine this would be a RHEL6 patch.
https://bugzilla.redhat.com/show_bug.cgi?id=472566 Description of problem: Most of the time mkinitrd is run manually, it's in the form: # mkinitrd /boot/initrd-$(uname -r).img $(uname -r) With the attached patch, mkinitrd uses these values by default when run with no arguments. It provides a confirmation prompt, unless run as 'mkinitrd -f'. This is so that no action is taken for users who are accustomed to running 'mkinitrd' with no args to see the usage. 'mkinitrd --help' still shows usage. Version-Release number of selected component (if applicable): mkinitrd-6.0.52-2.fc9 Actual results: (with patch): # mkinitrd Building default /boot/initrd-2.6.25-14.fc9.s390x.img for current kernel. This file will be overwritten. Proceed? [y/N]: No changes made. Exiting. # mkinitrd Building default /boot/initrd-2.6.25-14.fc9.s390x.img for current kernel. This file will be overwritten. Proceed? [y/N]: 6 Enter 'y' or 'n'. Exiting. # ls -l /boot/initrd-$(uname -r).img -rw------- 1 root root 3677384 2008-11-21 13:41 /boot/initrd-2.6.25-14.fc9.s390x.img # date Fri Nov 21 14:24:17 EST 2008 # mkinitrd Building default /boot/initrd-2.6.25-14.fc9.s390x.img for current kernel. This file will be overwritten. Proceed? [y/N]: y # ls -l /boot/initrd-$(uname -r).img -rw------- 1 root root 3677402 2008-11-21 14:24 /boot/initrd-2.6.25-14.fc9.s390x.img # mkinitrd -f # ls -l /boot/initrd-$(uname -r).img -rw------- 1 root root 3677398 2008-11-21 14:25 /boot/initrd-2.6.25-14.fc9.s390x.img ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390