From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; T312461) Description of problem: clearpart --drives hda couldn't clear partitions on hda. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Whenever I use kickstart mode and use clearpart --drives. Additional info:
What happens when you try to use it?
Because all partitions on hda still remain, anaconda cannot make / partition on hda.
Oh, sorry... I was being brain dead the first time I replied. You also need to specify what is being removed, ie 'clearpart --all --drives=hda' to remove all partitions from hda. Otherwise, it still defaults to not removing any types of partitions.
'clearpart --all --drives sda' delete all partitions on both sda and sdb and stopped at 'part /backup --size 4096 --onpart sdb1 --noformat --grow'. How can I delete all partitions on hda and reallocate sdb1?
This works for me here... my kickstart config looks like the following lang en_US langsupport --default=en_US network --bootproto dhcp nfs --server host --dir location keyboard us clearpart --all --drives=hda part / --size 1500 part swap --recommended part /home --noformat --onpart hdb2 install mouse generic3ps/2 timezone US/Eastern skipx rootpw changeme auth --useshadow --enablemd5 firewall --medium --ssh --dhcp bootloader %packages @Base
OK! I will try it again.
I tried it. Ananconda stopped with error which told me that part command requires --size option. Did your sample really work well? Which version of anaconda did you use?