Red Hat Bugzilla – Bug 75190
installer can't mount root partition
Last modified: 2007-04-18 12:47:11 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020408
Description of problem:
My computer has 2 redhat root partitions, on hda5 and hda3. When selecting the
upgrade option, the installer allows you to select the root partition to install
to. However, when I choose hda3 (hda5 is far too small) hda5 is mounted anyway.
appear to be reading my hda3 fstab though because there is a line in the fstab
which mounts hda5 and anaconda produces an error message which says it cannot
mount /dev/hda5 as it is already in use. Removing this line from the hda3 fstab
stops this message appearing but doesn't solve the overall problem.
I have done the media check several times on this first install disk and it
passes every time.
I tried hiding hda5 partition by changing the partion's system
id to 'EMPTY' with fdisk. When selecting hda3 in anaconda, which was now the
only root option, it produced an error message saying there was probably a bug
in the code.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. boot anaconda off first install cd
2. choose upgrade option
3. select hda3 for root partion
Actual Results: anaconda immediately produced error message - see bug file
Expected Results: should have progressed to next option screen in anaconda
To summarise: anaconda seems unable to mount hda3, and instead mounts hda5 when
available (not hidden). I have previously installed RH7.1 and RH7.3
successfully on same partition.
Do both partitions have a label of '/'?
The installer didn't like the following line from my fstab file:
LABEL=/ / ext3 defaults,noatime 1 1
so I changed it to:
/dev/hda3 / ext3 defaults,noatime 1 1
and the installer worked fine after that. This line had worked fine for
previous upgrades when the file sytem was ext2 not ext3.
Only '/dev/hda3' had a label of '/'.
There is more checking which should handle this case in our current codebsa.e