Kickstart Failing ... Installation Tree not working

General support questions
Post Reply
tyronefrance
Posts: 1
Joined: 2011/09/13 09:31:32
Contact:

Kickstart Failing ... Installation Tree not working

Post by tyronefrance » 2011/09/13 09:58:45

Hi guys.. i have created my ks.cfg and placed it in the main directory of the centos6 DVD...

PLEASE can someone help me, this has been bugging me for too long now!

I have updated the isolinux.cfg in the isolinux folder and when i bootup i select the kickstart install and all goes fine...then the partitions are created and after that i am getting the following error:

Unable to read the package metadata. This may be due to a missing repodata directory. Please ensure the the install tree has been correctly generated...
Could not retrieve /mnt/sysimage/var/cache/yum/anaconda-centos-201106051823.i386/2b014e1fcde80ec1cc69d6a048f660f712b1ae2d83d1fc04d3b3c00ade817ec9-primary.sqlite.bz2 matching remote checksum from anaconda-centos-201106051923.i386


I have also attached my kickstart file below is :


#---------------------------------------------------------------------------
# Kickstart config file for Xplayer001
#
# To Do
# investigate the use of %include
# IP Tables
#
#---------------------------------------------------------------------------
#///////////////////////////////////////////////////////////////////////////
# General Config
#///////////////////////////////////////////////////////////////////////////
#
#
authconfig --enableshadow --enablemd5
bootloader --location=mbr
clearpart --all
#
#
#platform=x86, AMD64, or Intel EM64T
#version=DEVEL
# Firewall configuration
firewall --enabled --http --ftp --ssh --telnet --smtp --port=7773:tcp,3333:tcp,1099:tcp,1100:tcp,5432:tcp,3000:tcp,9001:udp,2009:tcp,2010:tcp --service=ssh

# Install OS instead of upgrade
install

# Use CDROM installation media
cdrom
repo --name="centos" --baseurl=file:///mnt/source --cost=100

# Root password
rootpw --iscrypted $1$sNOrb4dq$E8nHIRTVr6Yqx9m4oSFUD1

# Network information
network --bootproto=dhcp --device=eth0 --onboot=on --noipv6

# System authorization information
auth --useshadow --passalgo=sha512 --enablefingerprint

# Use graphical install
graphical
firstboot --disable

# System keyboard
keyboard uk

# System language
lang en_GB

# SELinux configuration
selinux --disabled

# Installation logging level
logging --level=info

# Reboot after installation
reboot

# System timezone
timezone Europe/London

# System bootloader configuration
bootloader --append="crashkernel=auto rhgb quiet" --location=mbr --driveorder="sda"

# Partition
part /boot --fstype ext3 --size=100
part /usr --fstype ext3 --size=20480
part /home --fstype ext3 --size=20480
# Take up the rest with the root partition
part / --fstype ext3 --size=1 --grow
part swap --recommended

%post
%end






nscd
nss-pam-ldapd
nss_compat_ossl
oddjob
opal
openchange
openobex
openoffice.org-brand
openoffice.org-calc-core
openoffice.org-draw-core
openoffice.org-impress-core
openoffice.org-math-core
openoffice.org-opensymbol-fonts
openoffice.org-pdfimport
openoffice.org-presenter-screen
openoffice.org-ure
openoffice.org-writer-core
pam_krb5
pam_ldap
pangomm
paps-libs
pax
perl-CGI
perl-CGI-Session
perl-Cache-Memcached
perl-DBD-MySQL
perl-DBD-Pg
perl-DBD-SQLite
php-ldap
php-mysql
php-odbc
php-pecl-apc
php-pecl-memcache
php-pgsql
php-soap
ptlib
python-memcached
samba4-libs
sgpio
tcp_wrappers
telnet
telnet-server
tftp
tftp-server
tog-pegasus
tree
wireshark
wodim
yum-plugin-fastestmirror

%end

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Kickstart Failing ... Installation Tree not working

Post by pschaff » 2011/09/13 20:19:18

Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

Sounds like you have modified the DVD, rather than just using the standard DVD image with your kickstart. Just a guess, but perhaps the changes to the DVD are the source of the checksum error.

Post Reply