Quantcast
Channel: VMware Communities : All Content - Virtual Machine, Guest OS and VM Tools
Viewing all articles
Browse latest Browse all 2641

Simulate PXE boot up environment

$
0
0

Hello,

 

I am working on simulate a PXE boot up for VM under EXSi 6.0.

 

It is successful to setup when VM boot up by EFI firmware boot option.  However, it is fail to setup under BIOS firmware. 

 

It got a problem saying 'unable to locate configuration file' (like enclosed screenshot).  However, I am no idea where is goes wrong

error_bootup.jpg

Please assistant to advise and is it limited to do simulate?

 

following is my config for reference

 

==== TFTP ====

 

service tftp

{

protocol        = udp

port            = 69

socket_type     = dgram

wait            = yes

user            = root

server          = /usr/sbin/in.tftpd

server_args     = -vv -s /tftpboot

disable         = no

per_source      = 11

cps             = 100 2

}

 

===== DHCP =====

 

host PXE-test {

        hardware ethernet 00:50:56:b0:6f:4c;

        fixed-address 10.10.0.60;

        next-server 10.10.0.5;

        filename "pxelinux.0";

        allow booting;

        allow bootp;

        }

 

===== /tftpboot/prelinux.cfg/default ========

 

default menu.c32

prompt 0

timeout 60

ontimeout VZ

menu title Boot Menu

 

label linux

        menu label Install OS with CLI management

        kernel vmlinuz

        append initrd=initrd.img ip=dhcp ks=http://10.10.0.5/vz/ks.cfg

 

 

=========== file location ========================

 

under /tftpboot/

initrd.img

pxelinux.0

vmlinuz

menu.c32

 

======= log message at TFTP server =======

Sep  7 14:06:52 maas dhcpd: DHCPOFFER on 10.10.0.60 to 00:50:56:b0:6f:4c via em2

Sep  7 14:06:52 maas dhcpd: DHCPDISCOVER from 00:50:56:b0:6f:4c via em2

Sep  7 14:06:53 maas dhcpd: DHCPOFFER on 10.10.0.23 to 00:50:56:b0:6f:4c via em2

Sep  7 14:06:54 maas dhcpd: DHCPREQUEST for 10.10.0.60 (10.10.0.5) from 00:50:56:b0:6f:4c via em2

Sep  7 14:06:54 maas dhcpd: DHCPREQUEST for 10.10.0.60 (10.10.0.5) from 00:50:56:b0:6f:4c via em2: unknown lease 10.10.0.60.

Sep  7 14:06:54 maas dhcpd: DHCPACK on 10.10.0.60 to 00:50:56:b0:6f:4c via em2

Sep  7 14:06:54 maas in.tftpd[29018]: RRQ from 10.10.0.60 filename /pxelinux.0

Sep  7 14:06:54 maas in.tftpd[29018]: tftp: client does not accept options

Sep  7 14:06:54 maas in.tftpd[29019]: RRQ from 10.10.0.60 filename /pxelinux.0

Sep  7 14:06:54 maas in.tftpd[29020]: RRQ from 10.10.0.60 filename /pxelinux.cfg/564d2dee-b4ae-6822-21be-008d189ba346

Sep  7 14:06:54 maas in.tftpd[29021]: RRQ from 10.10.0.60 filename /pxelinux.cfg/01-00-50-56-b0-6f-4c

Sep  7 14:06:54 maas in.tftpd[29022]: RRQ from 10.10.0.60 filename /pxelinux.cfg/0A0A003C

Sep  7 14:06:54 maas in.tftpd[29023]: RRQ from 10.10.0.60 filename /pxelinux.cfg/0A0A003

Sep  7 14:06:54 maas in.tftpd[29025]: RRQ from 10.10.0.60 filename /pxelinux.cfg/0A0A00

Sep  7 14:06:54 maas in.tftpd[29026]: RRQ from 10.10.0.60 filename /pxelinux.cfg/0A0A0

Sep  7 14:06:54 maas in.tftpd[29027]: RRQ from 10.10.0.60 filename /pxelinux.cfg/0A0A

Sep  7 14:06:54 maas in.tftpd[29028]: RRQ from 10.10.0.60 filename /pxelinux.cfg/0A0

Sep  7 14:06:54 maas in.tftpd[29029]: RRQ from 10.10.0.60 filename /pxelinux.cfg/0A

Sep  7 14:06:54 maas in.tftpd[29030]: RRQ from 10.10.0.60 filename /pxelinux.cfg/0

Sep  7 14:06:54 maas in.tftpd[29031]: RRQ from 10.10.0.60 filename /pxelinux.cfg/default

 

 

================================

Thanks


Viewing all articles
Browse latest Browse all 2641

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>