-   Linux - General (
-   -   Kickstart installation problems with CentOS 5.2 (

triley 08-22-2008 02:13 PM

Kickstart installation problems with CentOS 5.2

I am trying to install CentOS 5.2 using kickstart (via http) but am having some problems. After booting off the CD and entering my IP information, CentOS appears to start okay but quickly fails with the following error: "Unable to read package metadata. This may be due to a missing repodata directory. Please ensure that your install tree has been correctly generated. Cannot retrieve repository metadata (repomd.xml) for repository: anaconda-base-200806191603.i386. Please verify its path and try again."

I have placed my entire tree on my server (six CDs). I am also using a kickstart script that has worked for many months for CentOS 5.1 Before trying CentOS 5.2, I updated the path in my kickstart file. Any thoughts on why this might be happening. I have pasted my kickstart file below. Thanks.

#platform=x86, AMD64, or Intel EM64T
# System authorization information
auth --useshadow --enablemd5

# System bootloader configuration
bootloader --location=mbr

# Partition clearing information
clearpart --all --initlabel
#clearpart --linux

# Use graphical install

# Firewall configuration
firewall --enabled --ssh

# Run the Setup Agent on first boot
firstboot --disable

# System keyboard
keyboard us

# System language
lang en_US

# Installation logging level
logging --level=info

# Use network installation
url --url=http://x.x.x.x/pub/CentOS5.2

# Reboot after installation

#Root password
rootpw --iscrypted $1$oAbkZe33$BGG3IaPC/AfXmwU38EaDM0

# SELinux configuration
selinux --enforcing

# System timezone
timezone America/New_York

# Install OS instead of upgrade

# X Window System configuration information
xconfig --defaultdesktop=GNOME --depth=8 --resolution=640x480

# Disk partitioning information
part /boot --bytes-per-inode=4096 --fstype="ext3" --size=100
part swap --bytes-per-inode=4096 --fstype="swap" --size=4000
part / --bytes-per-inode=4096 --fstype="ext3" --size=10000
part /usr --bytes-per-inode=4096 --fstype="ext3" --size=10000
part /var --bytes-per-inode=4096 --fstype="ext3" --size=5000
part /home --bytes-per-inode=4096 --fstype="ext3" --grow --size=1


#Installing additional packages

#Removing unnessary packages

trickykid 08-22-2008 11:22 PM

And you can browse to http://x.x.x.x/pub/CentOS5.2 without any problems?

triley 08-29-2008 11:03 AM

Yes, I can browse to the files on the kickstart server.

brianjwd 10-21-2008 12:37 PM

Having the same issue. If I point to directory "disc1" it works fine. I noticed a missing comps.xml file in the RPMS.os/ directory.

All times are GMT -5. The time now is 01:05 PM.