RE: Kickstart problems...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Robert,

Here is an example of my /etc/dhcpd.conf file that works with pxeboot:
ddns-update-style none;
ignore client-updates;
subnet 192.168.1.0 netmask 255.255.255.0 {
default-lease-time 21600;
max-lease-time 43200;
group {
allow booting;
allow bootp;
filename "pxelinux.0";
use-host-decl-names on;
host n1 { hardware ethernet 00:d0:4f:38:bf:c0; fixed-address 192.168.1.11; }
host n2 { hardware ethernet 00:d0:4f:38:bf:d0; fixed-address 192.168.1.12; }
}
}

Here is my /tftpboot/pxelinux.cfg/default file:
serial 0 9600
default Redhat
prompt 1
timeout 1

label Redhat
kernel isolinux/vmlinuz
append ksdevice=eth0 load_ramdisk=1 nofb network ks=nfs:192.168.1.5:/path/to/kickstart/ks.cfg initrd=isolinux/initrd.img

Maybe you can try my configs and see if they work for you? There are 2 dhcp lookups when doing pxe boot, I believe. The first is the pxe boot itself, and the 2nd is part of the kickstart when booting the cdrom Linux images to start the actual kickstart mechanism.

(My dhcpd.conf above is only used for static IPed kickstart dhcp requests specificly specified in the dhcpd.conf file and not general system dhcp service requests.)

Make sure you restart the dhcpd service after modifying your dhcpd.conf file!
Example:  service dhcpd restart

Let me know if this helps or not.

Jeff

From: "Robert McKenzie" <Robert.McKenzie@xxxxxxx>
Reply-To: Discussion list about Kickstart <kickstart-list@xxxxxxxxxx>
To: <kickstart-list@xxxxxxxxxx>
Subject: Kickstart problems...
Date: Wed, 16 Mar 2005 13:00:03 -0000

I have been spending way too much time trying to get a functional pxe
kickstart server going.  I've been through at least 4 or 5 howtos on
this and still come up to the same end each time.  The problem is...

The new system loads it's kernel from the server using PXE with no
problem, but then it insists on trying to get a DHCP address (dynamic).
I have in my dhcpd.conf a static IP for the host, based on MAC but this
seems only to work for the first step of the PXE boot.

What am I doing wrong? (I know, it's a loaded question).

My entire PXE config is at
http://thehostedbox.com/~rmckenzi/pxe-kickstart/server.tgz

What I've included in the file (for those that have time to have a look
for me) is /etc/dhcpd.conf and the entire /tftpboot/ directory (minus
the actual initrd.img and vmlinuz images from the FC3 directory.

I can only think it's something simple that I'm missing or have done
wrong.  It would be greatly appreciated for anyone that can have a look
and offer some advice.

Cheers!!!





Robert McKenzie
UNIX Support
CSR
Churchill House
Cowley Road Business Park
Cambridge
CB4 0WZ

T. 01223 692219
F. 01223 692001
Robert.McKenzie@xxxxxxx
www.csr.com



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**********************************************************************

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list



[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux