Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-22-2008, 03:13 PM   #1
Registered: Oct 2003
Posts: 74

Rep: Reputation: 15
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
Old 08-23-2008, 12:22 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 255Reputation: 255Reputation: 255
And you can browse to http://x.x.x.x/pub/CentOS5.2 without any problems?
Old 08-29-2008, 12:03 PM   #3
Registered: Oct 2003
Posts: 74

Original Poster
Rep: Reputation: 15
Yes, I can browse to the files on the kickstart server.
Old 10-21-2008, 01:37 PM   #4
LQ Newbie
Registered: Oct 2008
Posts: 1

Rep: Reputation: 0
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Minimal centos via kickstart not working abcdefg Red Hat 5 11-01-2008 01:11 PM
RH 7.2 kickstart installation problems powah Red Hat 0 08-30-2006 04:32 PM
Installation problems with CentOS stoneyg431 Linux - Software 6 04-08-2006 06:39 PM
Kickstart Installation hansi umayangan Red Hat 0 04-08-2005 01:20 AM
kickstart installation new2linux Linux - Software 2 04-15-2003 07:08 PM > Forums > Linux Forums > Linux - General

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration