Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I used a kickstart file with the command clearpart --all --initlabel to make sure anaconda would clear any disks before trying to create and format new partitions.

This has worked in the past for me, on physical machines. However, when doing so on a KVM guest with an underlying LVM volume as storage, Anaconda waits for user input at the following warning:

error screenshot

I'm going to answer this question myself. I mistakenly thought my problem and solution were related to this question here on ServerFault. Since they are not, I'm creating and answering a new question.

share|improve this question
up vote 7 down vote accepted

The solution on CentOS/RHEL is apparently adding zerombr to your kickstart file. You should have these two lines before defining your bootloader location and disk partitioning:

clearpart --initlabel

Or use this if you want ALL attached drives to have their partition table wiped.

clearpart --all --initlabel
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.