Problem with CD based install.

John McLean jmclean at parasun.com
Thu Dec 1 21:38:41 UTC 2005


I'm a kickstart newbie and I'm having a problem I haven't been able to
find any reference to on the net. Hoping someone might point me in the
right direction:

1.) Created cdrom based install cd.
2.) On boot up I get:
	On vert term 1, gui based "CD not found" 
                                  "The blah blah CD was not found"
                                  "Please insert CD and press OK"
                                  "Ok" "Back"
	On vert term 3 "trying to mount CD device hda" every time you press
"OK"

The system has booted from my cd and the cd is still in the drive, it
never gets ejected or anything. My understanding is that we've gone
through the first phase of the install and it's trying to remount the cd
to read the ks.cfg file and start loading rpms.

Could anyone point me at the document to read to understand what I'm
seeing. My ks.cfg is as attached.

Thanks in advance.

John.



-------------- next part --------------
# CRMS 30 anaconda/kickstart configuration - mgmt.test1.cablerocket.net

#System  language
lang en_US
#Language modules to install
langsupport --default=en_US

# Forces a probe of the PCI bus and loads modules for all the devices found if a module is available
deviceprobe

#System keyboard
keyboard us
#System mouse
mouse none
#Sytem timezone
# pacific - America/Vancouver or America/Los_Angeles
# central - America/Chicago
# mountain - America/Denver
# eastern - America/New_York
timezone PST8PDT

#Root password
rootpw --iscrypted $1$lhAuR2Z6$OzBr1LRe.SdmvjyJCYckn.
#Reboot after installation
#reboot
#Use text mode install
text
#Install Red Hat Linux instead of upgrade
install
#Use CDROM installation media
cdrom
#url --url http://204.174.16.20/fedora-custom/i386/

#System bootloader configuration
bootloader --location=mbr 
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all --initlabel 
#Disk partitioning information
part /boot --size 100 --ondisk sda
part swap --size 2048 --ondisk sda
part / --size 1 --grow --ondisk sda
part /mnt/data --size 1 --grow --ondisk sdb

#System authorization infomation
auth  --useshadow  --enablemd5 

#Network information
network --bootproto=static --ip=172.19.225.129 --netmask=255.255.0.0 --gateway=172.19.0.1 --nameserver=204.174.18.2 --device=eth0
#network --bootproto=dhcp --device=eth0
#Firewall configuration
firewall --disabled 
#Do not configure XWindows
skipx
#Package install information
%packages
comps
MAKEDEV
SysVinit
acl
acpid
alsa-lib
anacron
apmd
ash
aspell
aspell-en
at
atk
attr
autoconf
autofs
automake
automake14
automake15
automake16
automake17
basesystem
bash
bc
beecrypt
bind
bind-chroot
bind-libs
bind-utils
binutils
bridge-utils
byacc
bzip2
bzip2-devel
bzip2-libs
caching-nameserver
chkconfig
coreutils
cpio
cpp
cracklib
cracklib-dicts
crontabs
ctags
curl
curl-devel
cvs
cyrus-sasl
cyrus-sasl-devel
cyrus-sasl-md5
cyrus-sasl-plain
db4
db4-devel
db4-utils
dev
device-mapper
devlabel
dialog
diffstat
diffutils
dos2unix
doxygen
dump
e2fsprogs
e2fsprogs-devel
ed
elfutils
elfutils-libelf
ethtool
expat
expat-devel
expect
fbset
fedora-logos
fedora-release
file
filesystem
findutils
flex
freetype
ftp
gawk
gcc
gcc-c++
gcc-g77
gcc-gnat
gcc-java
gcc34
gcc34-java
gdb
gdbm
gdbm-devel
glib
glib2
glibc
glibc-common
glibc-devel
glibc-headers
glibc-kernheaders
gmp
gmp-devel
gnupg
gpm
gpm-devel
grep
groff
grub
gzip
hdparm
hesiod
hesiod-devel
hotplug
hwdata
indent
info
initscripts
iproute
iptables
iputils
jwhois
kbd
kernel
kernel-utils
krb5-devel
krb5-libs
krbafs
krbafs-devel
kudzu
kudzu-devel
less
lftp
libIDL
libacl
libart_lgpl
libattr
libcap
libcap-devel
libf2c
libgcc
libgcj
libgcj-devel
libgcj34
libgcj34-devel
libgnat
libjpeg
libmcrypt
libmcrypt-devel
libogg
libogg-devel
libpcap
libpng
libselinux
libstdc++
libstdc++-devel
libtermcap
libtermcap-devel
libtiff
libtool
libtool-libs
libusb
libusb-devel
libuser
libuser-devel
libwvstreams
libxml2
libxml2-devel
libxslt
lockdev
lockdev-devel
logrotate
logwatch
lrzsz
lsof
ltrace
lvm2
lynx
m4
mailcap
mailx
make
man
man-pages
mdadm
mingetty
minicom
mkinitrd
mkisofs
mktemp
modutils
mrtg
mt-st
mtools
mtr
nano
nc
ncurses
ncurses-devel
#net-snmp
#net-snmp-perl
#net-snmp-utils
net-tools
netdump
nmap
nscd
nss_ldap
ntp
openldap
openldap-devel
openssh
openssh-clients
openssh-server
openssl
openssl-devel
#oprofile
pam
pam-devel
pam_krb5
pam_smb
passwd
patch
patchutils
pciutils
pciutils-devel
pcre
perl
perl-Filter
perl-Bit-Vector
perl-DBD-Pg
perl-DBI
perl-Date-Calc
perl-DateManip
perl-Digest-HMAC
perl-Digest-SHA1
perl-Filter
perl-Net-DNS
perl-TermReadKey
perl-URI
pkgconfig
popt
portmap
postgresql
postgresql-devel
postgresql-server
postgresql-libs
prelink
procmail
procps
psacct
psmisc
python
python-devel
quota
raidtools
rcs
rdate
readline
readline-devel
redhat-rpm-config
rmt
rootfiles
rpm
rpm-build
rpm-devel
rrdtool
rsh
rsync
schedutils
screen
sed
sendmail
setarch
setserial
setup
shadow-utils
shared-mime-info
slocate
strace
stunnel
sudo
symlinks
sysklogd
syslinux
tar
tcl
tcp_wrappers
tcpdump
tcsh
telnet
termcap
texinfo
tftp-server
time
tmpwatch
traceroute
tzdata
unix2dos
unzip
usbutils
usermode
utempter
util-linux
vim-common
vim-enhanced
vim-minimal
vixie-cron
wget
which
words
xinetd
xorg-x11-libs-data
zip
zlib
zlib-devel

%pre

%post
echo "new installation on `date`" > /root/ks.log

#disable unneeded services
chkconfig apmd off
chkconfig autofs off
chkconfig cpuspeed off
chkconfig gpm off
chkconfig kudzu off
chkconfig mdmpd off
chkconfig netfs off
chkconfig pcmcia off
chkconfig portmap off
chkconfig rhnsd off
chkconfig smartd off

#enable misc essential services
chkconfig --level 2345 ntpd on
chkconfig --level 2345 named on
chkconfig --level 2345 sendmail on

# bring eth0 up (we need network access to download our rpms)
ifup eth0 1>& 2>> /root/ks.log
ifconfig 1>& 2>> /root/ks.log
route -n 1>& 2>> /root/ks.log

# set /etc/sysconfig/network
echo -e "NETWORKING=yes\nHOSTNAME=mgmt.test1.cablerocket.net\nGATEWAY=172.19.0.1\n" > /etc/sysconfig/network

# the installrpms.sh script relies on the hostname being set properly on the machine
hostname mgmt.test1.cablerocket.net

sh /stuff_from_make/rpms/installrpms.sh

service postgresql stop
mv /var/lib/pgsql /mnt/data/
ln -s /mnt/data/pgsql /var/lib/pgsql
service postgresql start

if [ ! -d /usr/local/cable/data ]; then
    mkdir /usr/local/cable/data
    chown cable.cable /usr/local/cable/data
fi
mv /usr/local/cable/data/ /mnt/data/cable
ln -s /mnt/data/cable/ /usr/local/cable/data"       1>& 2>> /root/ks.log
fi

/usr/bin/eject


More information about the Kickstart-list mailing list