Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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'm installing Red Hat in a virtual machine, I'm using a kickstart file from an url, but few moments later the system starts to load, it shows a dialog about "CD Found - To begin testing the CD media..."

The kickstart file looks like this:

# Kickstart file automatically generated by anaconda.

url --url=http://rha-server/pub/os/rhel5

lang en_US.UTF-8
langsupport --default=en_US.UTF-8 en_US.UTF-8
keyboard us-acentos
xconfig --card "VESA driver (generic)" --videoram 12288 --hsync 31.5-37.9 --vsync 50-70 --resolution 800x600 --depth 16 --startxonboot  --defaultdesktop gnome
network --device eth0 --bootproto dhcp
rootpw --iscrypted $1$ADLUertwert4DAsC7Hi7nN9S/kvbu.
firewall --disabled
selinux --permissive
authconfig --enableshadow --passalgo=md5
timezone America/Costa_Rica
bootloader --location=mbr --append="rhgb quiet"
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
clearpart --all
part /boot --fstype ext3 --size=100
part pv.8 --size=10200
#volgroup LV0 --pesize=32768 pv.8
#logvol / --fstype ext3 --name=root --vgname=LV0 --size=6080
#logvol swap --fstype swap --name=swap --vgname=LV0 --size=4096

@ admin-tools
@ editors
@ emacs
@ system-tools
@ text-internet
@ gnome-desktop
@ dialup
@ compat-arch-support
@ smb-server
@ base-x
@ web-server
@ printing
@ server-cfg
@ development-tools
@ graphical-internet


echo "  rha-server" >> /etc/hosts

curl $RHA_PUB/rha/yum/rha-rhel.repo > /etc/yum.repos.d/rha-rhel.repo
curl $RHA_PUB/rha/yum/rha.repo > /etc/yum.repos.d/rha.repo

yum groupinstall -y "Red Hat Academy Student"

Is there something wrong?


Dialog image: http://img211.imagevenue.com/img.php?image=261712969_Dialog_122_1128lo.jpg

share|improve this question
What does the cdrom in your kickstart file mean? – vonbrand Feb 7 '13 at 17:46
Not sure, I took it from the file anaconda-ks.cfg from an installed machine with Red Hat. – Jose Daniel Feb 7 '13 at 18:36

The "cdrom" line is telling kickstart to do a CD-ROM based install. Remove it and it should use the URL you gave it for the install.

share|improve this answer
I'm having the same result, this is the Dialog: img211.imagevenue.com/… – Jose Daniel Feb 7 '13 at 18:37
What command / options are you passing at the linux: prompt, if any? Is this original isntallation media, or kickstart media? – John Feb 7 '13 at 18:46
this is the command I'm passing at the start: linux ks=website.com/ks.cfg I'm testing this in a virtual machine. I created the virtual machine and select the iso installer from my desk. – Jose Daniel Feb 7 '13 at 19:40
That's looking for a kickstart file in directory website.com/ on the CD. You have to specify the protocol - website.com/ks.cfg. Since it doesn't find the kickstart file in that directory, it defaults to a CD-based install. – John Feb 8 '13 at 12:56
Thanks. How do I specify the protocol? – Jose Daniel Feb 8 '13 at 15:00

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.