From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc3) Gecko/20020523 Description of problem: A kickstart installations removes all partitions on /dev/hda while the option 'clearpart --linux' is in the kickstart-file How reproducible: Always Steps to Reproduce: 1. make a clean dos-partition table with fdisk and add a windows partition. (ie: type b) 2. make a kickstart-file with the following: clearpart --linux part / --fstype ext3 --size 2048 part swap --size 256 3. after the installation the partition made in step 1 is dissapeared Actual Results: The windows-partition is removed Expected Results: All the linux-partitions cleared but not the windows-partition
clearpart looks at what is on the partition, not the partition table type as the latter is completely non-deterministic. You need to make sure to dd the partition or mkdosfs it if you want to preserve it and it doesn't already really have a non-linux filesystem
Seems this bug is back in RHEL 3 U1 and anaconda 9.1.1-7.RHEL. It just wiped a NTFS partition for me. And yes, it really was an NTFS partition. Please reopen this bug.