Cause:
When using the "live_ram" parameter for booting from live media, the dracut generated initramfs ejects the medium.
Consequence:
After ejecting the medium a reboot causes the machine to not boot from the medium again, even if this was desired.
Fix:
dracut now honors the "no_eject" kernel command line parameter.
Result:
If "no_eject" is given on the kernel command line, the dracut generated initramfs does not eject the live medium anymore after copying it to RAM.
Created attachment 600332[details]
No eject patch to dmsquash-live-root
Description of problem:
If the CD is ejected and the server reboots, it won't boot again.
Version-Release number of selected component (if applicable):
Since dracut I guess
How reproducible:
Always.
Steps to Reproduce:
1. Create an image with livecd-creator with live_ram kernel parameter
2. Burn
3. Boot
4. CD will eject
Actual results:
CD ejects
Expected results:
Keep CD if needed
Additional info:
I created a patch but I don't know if it works.
Reproduced with RHEL-6.3 (dracut-004-283.el6), retested with dracut-004-303.el6.
CD is not ejected with "live_ram" and "no_eject" boot options.
Moving to VERIFIED.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHBA-2013-0436.html
Created attachment 600332 [details] No eject patch to dmsquash-live-root Description of problem: If the CD is ejected and the server reboots, it won't boot again. Version-Release number of selected component (if applicable): Since dracut I guess How reproducible: Always. Steps to Reproduce: 1. Create an image with livecd-creator with live_ram kernel parameter 2. Burn 3. Boot 4. CD will eject Actual results: CD ejects Expected results: Keep CD if needed Additional info: I created a patch but I don't know if it works.