Results 1 to 1 of 1
Hi,
i hope someone can help me with this...i hv been cracking my head on this for quite sometime now but to no avail..
i hv a kickstart file on ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-10-2004 #1Linux User
- Join Date
- May 2003
- Location
- CA
- Posts
- 370
kickstart issue.
Hi,
i hope someone can help me with this...i hv been cracking my head on this for quite sometime now but to no avail..
i hv a kickstart file on a floppy..i boot from it and install packages and everything works fine. in the %post section i am doing an nfs mount of a server..this fails...i get a "mount:RPC error - Network is unreachable" error message. once the server comes up thought, i can mount the drive just fine without making any changes.
i'm attaching my ks.cfg file below...can anyone please tell me what i'm doing wrong?? any help is appreciated.
# Kickstart file automatically generated by Nikhil.
install
cdrom
text
lang en_US.UTF-8
langsupport --default en_US.UTF-8 en_US.UTF-8
keyboard us
mouse generic3usb --device input/mice
xconfig --videoram 32768 --hsync 31-80 --vsync 56-76 --resolution 1024x768 --depth 24 --startxonboot --defaultdesktop gnome
network --device eth0 --bootproto static --ip 10.11.253.189 --netmask 255.0.0.0
--gateway 10.1.0.1 --nameserver 10.0.0.10
rootpw devpass
firewall --disabled
authconfig --enableshadow --enablemd5
timezone America/Los_Angeles
bootloader --location=mbr --append vga=771
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
clearpart --all --initlabel
part /boot --fstype ext3 --size=100 --asprimary
part swap --size=1024
part / --fstype ext3 --size=4096 --grow
#part /opt --fstype ext3 --start=3471 --end=19100 --ondisk=sda
#part swap --start=19101 --end=19452 --ondisk=sda
%packages --resolvedeps
kernel
grub
%post --nochroot
/usr/bin/chvt 3
SOURCE_IP=10.11.253.186
SOURCE_DIR=/home/nikhil/nfs/rpms
DB2_USER=db2admin
LDAP_USER=ldapdb2
RPM_BASE=/tmp/rpms
export SOURCE_IP SOURCE_DIR RPM_BASE
chroot /mnt/sysimage << EOF
mkdir -p $RPM_BASE
/etc/init.d/portmap start
mount -t nfs -o ro,bg,soft,intr 10.11.253.186:$SOURCE_DIR $RPM_BASE
echo "***INSTALLING THE DB2 RPM***"
rpm -ivh $RPM_BASE/ibm-1.0.0-1.i386.rpm --nodeps
echo "***INSTALLING THE OPENSSL RPM***"
rpm -ivh $RPM_BASE/openssl-0.9.7d-1.i386.rpm
umount $RPM_BASE
EOF
chroot /mnt/sysimage /bin/sleep 5Fixing Unix is better than working with Windows.
http://nikhilk.homedns.org/projects/index.html


Reply With Quote
