Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 have got an annoying issue when I try to use it using a USBkey install on a physical box that googleing is not helping.

The installation works fine if I specify a URL as install media, but it does not work if I specify the same USB Key as the install media. There is excellent discussion at centos forum Here but it does not seems to help me.

First let me tell you what I indent to achieve, I need to have raid 1 using two hard-disk. The raid partition stuff works but I just can't make it work using a USB kickstart

if I give the URL it works

 url --url=http://my.machine/ks/CentOS-6.3

But with USB it does not

harddrive --partition=sda1 --dir=/

If I don't ignore that drive

ignoredisk --drives=sda

Then on later stage it says [sda1] not found. But if I don't ignore, it will install Linux on sda itself notwithstanding the fact that I am specifying disk names in raid conf

part raid.008001 --ondisk=sdb --asprimary --size=512
part raid.008002 --ondisk=sdc --asprimary --size=512

part raid.008017 --ondisk=sdb --grow --asprimary --size=200

part raid.008033 --ondisk=sdc --grow --asprimary --size=200

raid /boot --fstype=ext4 --level=1 --device=md0 raid.008001 raid.008002
raid pv.009001 --level=1 --device=md1 raid.008033 raid.008017

I am using CentOS 6.3 minimal install.

share|improve this question
Why do your virtual machines have RAID inside of them? – ewwhite Feb 5 '13 at 18:28
I don't use Raid on VM, it is for the Physical box. Updated the question to avoid further confusion. – chandank Feb 5 '13 at 18:34
up vote 3 down vote accepted

It might be easiest if you just make a new kickstart file.

Do the installation manually from the USB stick. The installed system will have a generated /root/anaconda-ks.cfg which you can then add your own customizations to. Customize and copy that kickstart file back to the USB stick and then run it.

share|improve this answer
Thanks for quick and simple solution. Any idea how I could add some script to run on first boot, or add some script in rc.local in the install itself. – chandank Feb 5 '13 at 21:47
@chandank Yeah... There's a framework in EL called firstboot. – ewwhite Feb 6 '13 at 10:31

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.