Bug 126356 - 'linux rescue' fails to unmount the cd after booting
Summary: 'linux rescue' fails to unmount the cd after booting
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 1
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Mike McLean
Depends On:
TreeView+ depends on / blocked
Reported: 2004-06-20 00:56 UTC by Ben Smith
Modified: 2007-11-30 22:10 UTC (History)
0 users

Clone Of:
Last Closed: 2004-06-21 18:07:10 UTC

Attachments (Terms of Use)

Description Ben Smith 2004-06-20 00:56:41 UTC
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):

How reproducible:

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.
Actual results:
Unable to unmount cdrom drive, although it seems no longer in use.

Expected results:
CD should be unmounted automatically.

Additional info:
I will test on FC2 as well as narrowing down the exact amount of
memory needed.

Comment 1 Ben Smith 2004-06-20 01:27:00 UTC
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.

Comment 2 Jeremy Katz 2004-06-21 18:07:10 UTC
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.

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