LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-22-2008, 02:13 PM   #1
triley
Member
 
Registered: Oct 2003
Posts: 74

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

Rep: Reputation: 269Reputation: 269Reputation: 269
And you can browse to http://x.x.x.x/pub/CentOS5.2 without any problems?
 
Old 08-29-2008, 11:03 AM   #3
triley
Member
 
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, 12:37 PM   #4
brianjwd
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.
 
  


Reply



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 12:11 PM
RH 7.2 kickstart installation problems powah Red Hat 0 08-30-2006 03:32 PM
Installation problems with CentOS stoneyg431 Linux - Software 6 04-08-2006 05:39 PM
Kickstart Installation hansi umayangan Red Hat 0 04-08-2005 12:20 AM
kickstart installation new2linux Linux - Software 2 04-15-2003 06:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:23 PM.

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