Visit Our UNIX and Linux User Community


Setting up a PXE Boot Server


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Setting up a PXE Boot Server
# 1  
Old 06-20-2008
Setting up a PXE Boot Server

I've set up a PXE boot server and I'm having a slight snag in the booting process. On the client machine, DHCP renders fine and TFTP seems to begin but then the system hangs. On the server, the error message "Client does not accept options" occurs -- which from reading online is a common message that generally doesn't affect booting. So, I've been doing random troubleshooting but nothing has yielded anything useful. Any thoughts? Thanks. Smilie
# 2  
Old 06-20-2008
So sorry, here is just a little more exact info from /var/log/messages

Code:
Jun 20 16:42:12 head dhcpd: DHCPREQUEST for 192.168.0.4 from 00:1d:4f:2b:9e:57 via eth1
Jun 20 16:42:12 head dhcpd: DHCPACK on 192.168.0.4 to 00:1d:4f:2b:9e:57 via eth1
Jun 20 16:42:13 head dhcpd: DHCPREQUEST for 192.168.0.4 from 00:1d:4f:2b:9e:57 via eth1
Jun 20 16:42:13 head dhcpd: DHCPACK on 192.168.0.4 to 00:1d:4f:2b:9e:57 via eth1
Jun 20 16:42:23 head dhcpd: DHCPDISCOVER from 00:11:43:b5:63:55 via eth1
Jun 20 16:42:24 head dhcpd: DHCPOFFER on 192.168.0.9 to 00:11:43:b5:63:55 via eth1
Jun 20 16:42:27 head dhcpd: DHCPREQUEST for 192.168.0.9 (192.168.0.6) from 00:11:43:b5:63:55 via eth1
Jun 20 16:42:27 head dhcpd: DHCPACK on 192.168.0.9 to 00:11:43:b5:63:55 via eth1
Jun 20 16:42:27 head xinetd[1852]: START: tftp pid=2561 from=192.168.0.9
Jun 20 16:42:27 head in.tftpd[2562]: tftp: client does not accept options

And here is dhcpd.conf

Code:
#
# DHCP Server Configuration file.
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample
#   see 'man 5 dhcpd.conf'
#

#allow booting;
#allow bootp;
#ddns-update-style interim;

#subnet 192.168.0.0 netmask 255.255.255.0 {
#range 192.168.0.1 192.168.0.254;
#option domain-name-servers 192.168.0.6,192.168.0.1;
#option subnet-mask 255.255.255.0;
#option domain-name "head.node";
#option broadcast-address 192.168.0.255;
#option routers 192.168.0.6;
#}

#host node2 {
#hardware ethernet 00:08:74:29:DD:B2;
#fixed-address 192.168.0.12;
#option host-name "node2";
#filename "pxelinux.0";
#next-server 192.168.0.6;
#}

#host node5 {
#hardware ethernet 00:11:43:B5:63:55;
#fixed-address 192.168.0.15;
#option host-name "node5";
#filename "pxelinux.0";
#next-server 192.168.0.6;
#}

allow booting;
allow bootp;
ddns-update-style none;
subnet 192.168.0.0 netmask 255.255.255.0 {
    # default gateway
    option routers 192.168.0.1;
    option subnet-mask 255.255.255.0;

    option domain-name "head.node";
    option broadcast-address 192.168.0.255;

    # Seting up an ip address is better here
    option domain-name-servers 192.168.0.6,208.67.222.222;
    option nis-domain "node";

    range dynamic-bootp 192.168.0.2 192.168.0.254;
    default-lease-time 21600;
    max-lease-time 43200;
    # PXE directives
    next-server 192.168.0.6;
    filename "pxelinux.0";
}


The top bit is what I originally had, the uncommented stuff is something I based off an example on a website to see if I somehow botched the configuration.
# 3  
Old 06-20-2008
Is this on LInux?

Are you using xinetd? If so, what are the "server args" for /etc/xinetd.d/tftp ?

If not, what is the "root" of the PXE server?

Is there a file called pxelinux.0 there?

And 192.168.0.6 is the DHCP server and is also the PXE server?

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Problem in displaying message on RHEL6 on EFI during PXE boot

Hi, I am doing PXE boot for RHEL6.4 on EFI and want to display custom messsage before loading vmlinuz and initrd.img, which is not working. boot server side (In case of BIOS client): In /var/lib/tftpboot/default file I am putting the message in below format: SAY hello world boot... (0 Replies)
Discussion started by: indus123
0 Replies

2. Red Hat

pxe boot server

Hi Hoping someone can help ove setup a pxe/dhcp boot server for auto installs on centos My server seems to be providing dhcp fine but the installation fails to progress when it reaches the pxe boot menu. I make my selection and nothing happens. I am serving the media via http from the same... (3 Replies)
Discussion started by: duckeggs01
3 Replies

3. Red Hat

Interactive PXE Boot Menu

I have been asked to modify our PXE server such that there will be only one entry in the pxelinux.cfg/default file, where the same kernel and initrd.img will be used regardless of what operating system is to be installed, and the user will type in the path to the kickstart file that will be used. ... (7 Replies)
Discussion started by: ceb
7 Replies

4. Solaris

PXE boot problems in Solaris 10

Hi folks, I was trying to setup Network based NFS installation with PXE. I'm using virtual box for this purpose. I have one redhat (DHCP) server and Solaris 10 (Install server - Source) and on the other one am trying to install solaris using PXE. As in, dhcp address and boot file can be fetched... (2 Replies)
Discussion started by: vijaytrendz
2 Replies

5. Boot Loaders

PXE boot not taking the init= option

Hi Experts, I am doing PXE boot for my GNU/Linux device and pxelinux.0 loads the kernel as well as initrd images I have mentioned in the config file but it looks like it is not considering the init= option. Instead it starts the default INIT program. I wanted my customized init program to be... (3 Replies)
Discussion started by: learn more
3 Replies

6. UNIX for Advanced & Expert Users

PXE diskless boot fails

Hi, I am trying to setup a server for a diskless boot of a computer class (with ubuntu) I followed the guidelines in https://help.ubuntu.com/community/DisklessUbuntuHowto I have two computers: one is the server I installed and the other is my macbook on which I run a virtual machine... (8 Replies)
Discussion started by: yotamhc
8 Replies

7. UNIX for Dummies Questions & Answers

Problem setting up dual boot

Hi, I am trying to set up a dual boot system with Red Hat EL 5.2 and Windows XP Pro. I have a separate disk for each OS. Grub is on the same disk as redhat(the primary disk). I know that Windows is installed correctly because if I force a load on the secondary disk Windows loads correctly.... (0 Replies)
Discussion started by: adawg1217
0 Replies

8. UNIX for Dummies Questions & Answers

what is PXE boot bare-metal

hi members i am reading RHEL and i am unable to under stand about PXE boot and bare metal (1 Reply)
Discussion started by: wagmare
1 Replies

9. HP-UX

PXE boot port issue

Hi,all: I want to boot an IA unix box from network, I am sure I set the DHCP and boot server, but it still failed ! It says : Client MAC Address: 00 18 FE 28 91 82 .....- PXE-E16: Valid PXE offer not received. Load of Core LAN Gb A failed: Not Found I use the nettl command to trace the UDP... (0 Replies)
Discussion started by: bluepluto
0 Replies

10. UNIX for Dummies Questions & Answers

setting num lock on at boot up

Once I knew how to set up a unix file so that the num lock would automatically be on after booting up. How exactly is that done? Unix has final control on the setting of the num lock from off or on to on at the end of the boot up process. Any help will be appreciated, especially if detailed. Oh... (0 Replies)
Discussion started by: jddxxx
0 Replies

Featured Tech Videos