Kickstart installation problems with CentOS 5.2
Hi,
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 graphical # 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 reboot #Root password rootpw --iscrypted $1$oAbkZe33$BGG3IaPC/AfXmwU38EaDM0 # SELinux configuration selinux --enforcing # System timezone timezone America/New_York # Install OS instead of upgrade install # 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 %packages @development-libs @base-x @admin-tools @development-tools @gnome-desktop @base @printing @kde-desktop @smb-server @sound-and-video @office @emacs @editors #Installing additional packages emacs vim-X11 k3b xcdroast libXau libXau-devel libXp libXp-devel perl-DBI #Removing unnessary packages -evolution -kdepim -cdda2wav -cdparanoia -cdrdao -rhythmbox -soundjuicer |
And you can browse to http://x.x.x.x/pub/CentOS5.2 without any problems?
|
Yes, I can browse to the files on the kickstart server.
|
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 05:18 PM. |