Bug 843105 - When mounting with live_ram, the CD is ejected and in some case we would like to be able to keep it inside the reader
When mounting with live_ram, the CD is ejected and in some case we would like...
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: dracut (Show other bugs)
x86_64 Linux
unspecified Severity low
: rc
: ---
Assigned To: Harald Hoyer
Release Test Team
Depends On:
  Show dependency treegraph
Reported: 2012-07-25 11:31 EDT by David Hill
Modified: 2013-02-21 05:29 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
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.
Story Points: ---
Clone Of:
Last Closed: 2013-02-21 05:29:42 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
No eject patch to dmsquash-live-root (790 bytes, text/plain)
2012-07-25 11:31 EDT, David Hill
no flags Details

  None (edit)
Description David Hill 2012-07-25 11:31:42 EDT
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:

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.
Comment 2 Harald Hoyer 2012-07-26 03:07:11 EDT
Comment 4 Jan Stodola 2013-01-10 05:00:14 EST
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.
Comment 5 errata-xmlrpc 2013-02-21 05:29:42 EST
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.


Note You need to log in before you can comment on or make changes to this bug.