Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
undionly, ipxe, and dhcp
2016-02-19, 14:15
Post: #5
RE: undionly, ipxe, and dhcp
(2016-02-18 22:06)NiKiZe Wrote:  What is the error you get?

Could it be that uou are missinf ifopen eth0 ?
But see the ipxe error url that is shown if the problem occurs in ipxe, and also post that error.

The error message I am getting is:
Booting from SAN device 0x80 failed: Exec format error (http://ipxe.org/2e852001)

This is using Rom-o-matic to generate a kpxe file with my script embedded in it as follows.

#!ipxe
prompt --key 0x02 --timeout 2000 Press Ctrl-B for the iPXE command line... && shell ||
ifopen net0
echo Configuring IP..
set net0/ip 141.141.207.201
set net0/netmask 255.255.255.0
set net0/gateway 141.141.207.225
set san-keep 1
show net0/ip
show net0/netmask
echo Attempting to boot to iSCSI device..
sanboot -k iscsi:141.141.207.225::::sim

Now, if I go back to just a basic undionly.kpxe file, and put the above script into my iscsi-boot.ipxe file on my tftp server, then change my dhcp server to hand out two IP addresses, then the intel boot agent gets its IP address, undionly gets its IP address, then my script changes the ip over to the correct address and windows boots happily. I wish there were a way to embed this script into the undionly so that I can do away with the second IP address requirement.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
undionly, ipxe, and dhcp - mshoemaker - 2016-02-18, 16:37
RE: undionly, ipxe, and dhcp - NiKiZe - 2016-02-18, 16:45
RE: undionly, ipxe, and dhcp - NiKiZe - 2016-02-18, 22:06
RE: undionly, ipxe, and dhcp - mshoemaker - 2016-02-19 14:15
RE: undionly, ipxe, and dhcp - NiKiZe - 2016-02-19, 14:31
RE: undionly, ipxe, and dhcp - NiKiZe - 2016-02-19, 19:08



User(s) browsing this thread: 2 Guest(s)