Red Hat Bugzilla – Bug 126356
'linux rescue' fails to unmount the cd after booting
Last modified: 2007-11-30 17:10:45 EST
Description of problem:
On systems with <192MB RAM, specifically 128MB, after getting to a
shell prompt from booting 'linux rescue', the cdrom is still mounted
and cannot be unmounted. The cdrom is unmounted fine on similar
systems with >=192MB RAM.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Boot from install cd; select 'linux rescue'
2. Go through the steps to find/mount your partition
3. At the prompt, issue 'df' and notice that /mnt/source is still mounted
4. Issue 'ls /tmp/cdrom' and notice that the device no longer exists
5. Issue 'umount /mnt/source' or 'umount /tmp/cdrom' and it fails.
6. Try 'umount -f' 'umount -n' 'umount -d' 'umount -l', all fail.
Unable to unmount cdrom drive, although it seems no longer in use.
CD should be unmounted automatically.
I will test on FC2 as well as narrowing down the exact amount of
This is as close as I was able to narrow it down:
It works if you have 130 Megs of RAM (linux rescue mem=130m).
It doesn't work if you have 128 Megs.
This is due to the fact that the rescue image runs off of the CD. If
you have "sufficient" RAM (and our marker for this is at > 128 megs),
then we copy the image into RAM and run from there instead.