Linux - GeneralThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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
# Partition clearing information
clearpart --all --initlabel
# Use graphical install
# Firewall configuration
firewall --enabled --ssh
# Run the Setup Agent on first boot
# System keyboard
# System language
# Installation logging level
# Use network installation
# 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