Need help with PXE/NFS install

Mike Cotton mcotton at aptas.com
Mon Jun 21 23:06:46 UTC 2004


Phil,

I may have a badly configured but operational environment - would you mind
taking a look here and offering some input?

There are 2 servers - 1 running DHCP and the other is a file server running
TFTP and NFS.

Server 1 has the DHCP config (10.0.0.1 for example sake.)- 

# Kickstart test area
 host testpc {
 hardware ethernet XX:XX:XX:XX:XX:XX;
 fixed-address 10.0.0.162;
 next-server 10.0.0.2;
 }
The MAC is installed and the handoff works.

Server 2 has the TFTP and NFS (10.0.0.2)

The /tftpboot/linux-install/pxelinux.cfg directory has the hex file for the
appropriate client IP 0A0000A2 (10.0.0.162) and reads -

default test

label test
    kernel test/vmlinuz
    append initrd=test/initrd.img   ramdisk_size=10000 
    append ksdevice=eth0 ks=nfs:10.0.0.2/export2/ESv.3/10.0.0.162-kickstart

Where test in the kernel and initrd reference is 10.0.0.2/share/ESv.3.  The
10.0.0.162-kickstart file also lives in that directory.

The 10.0.0.162- Kickstart file reads -

# Kickstart file automatically generated by anaconda.

install
lang en_US.UTF-8
langsupport --default en_US.UTF-8 en_US.UTF-8
keyboard us
mouse genericwheelps/2 --device psaux
xconfig --card "ATI Rage XL" --videoram 8192 --hsync 31.5-35.1 --vsync 50-61
--resolution 800x600 --depth 24 --startxonboot  --defaultdesktop gnome
network --device eth0 --bootproto dhcp --hostname testpc
network --device eth1 --bootproto dhcp --hostname testpc
network --device eth2 --bootproto dhcp --hostname testpc
rootpw --iscrypted $1$8VTcjY4h$w2clTqskNPhE6hMiSVM.I/
firewall --disabled
authconfig --enableshadow --enablemd5
timezone America/Denver
bootloader --location=mbr
# 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
part /boot --fstype ext3 --start=260 --end=271 --ondisk=sda
part swap --start=1 --end=259 --ondisk=sda
part / --fstype ext3 --start=272 --end=1037 --ondisk=sda
part /usr --fstype ext3 --start=1038 --end=2057 --ondisk=sda
part /var --fstype ext3 --start=2058 --end=2568 --ondisk=sda
part /export --fstype ext3 --start=2569 --end=9727 --ondisk=sda

%packages
@ engineering-and-scientific
@ legacy-software-development
@ editors
@ system-tools
@ base-x
@ development-tools
@ printing
@ text-internet
@ kde-desktop
@ x-software-development
@ server-cfg
@ dialup
@ admin-tools
@ authoring-and-publishing
@ gnome-desktop
@ kernel-development
@ graphical-internet
@ compat-arch-support
-ant
-gcc-g77-ssa
-ant
-gcc-java-ssa
-gcc-g77
ethereal-gnome
kernel-smp
kernel
-gcc-g77
grub
-nedit
-gcc-java
-gcc-gnat
ethereal-gnome
-gcc-gnat
-nmap
-gcc-java

%post
--------------------

The NFS share is /share/ESv.3 and has the 4 .iso's in it and also has each
of the 4 disks uncompressed as folders called disk1, disk2, etc...  It also
has the 10.0.0.162-kickstart file in it.  I also copied the images folder
off disk1 into the root of the /share/ESv.3 folder for the pxeboot images
for booting.
----------------------------------

Ok - the strange part is that if I remove the append ksdevice.... line out
of the 0A0000A2 file - anaconda will start the installer and load the
megaraid driver and drop me at the interactive start screen.  

Can you see if I have created a loop or some other issue?

Thanks again for all of your assistance!!!

Mike






More information about the Kickstart-list mailing list