Red Hat Bugzilla – Bug 107906
anaconda destroys partitions it is not supposed to even touch
Last modified: 2008-05-09 13:34:25 EDT
Description of problem:
I just wanted to test nfs ks installs. I wanted to install on an existing
partition leaving my /home partition untouched. Here is the relevant
part of my ks file:
part / --onpart hda3
part swap --onpart hda2
part /home --onpart hda5 --noformat
Before installing the partition table looked as follows:
hda1 -> vfat
hda2 -> swap
hda3 -> /
hda4 -> extended
hda5 -> /home
Version-Release number of selected component (if applicable):
Anacondo stopped and offered me
1) clear all partition
2) clear all linux partitions
3) use existing partitions
I was surpriesed, that it asked questions during ks install (bug!)
but selected 3)
It then went on and seemd to be stuck at "installing packages".
Since there was no progress for several minutes, I switched to vt1
and saw that anaconda had crashed, since / was full.
Further investigation showed, that it
1) had deleted all linux partitions
2) created / as hda2 using 1 block (80MB)
3) crated swap on hda2 using 10G
4) created /home on hda5 using the remaining 5G
All partions were formatted and in particular all
data on /home was lost!
This is really BAD!
anaconda should have used the existing partitions and in particular
it should not have formatted /home!
The same ks file worked fine with redhat 9.
Sorry! My mistake, I just checked, I made a typo in the ks file and
switched swap and /!