The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New to iPXE, struggling with inconsistent sanboot connections
2016-04-09, 02:05
Post: #1
Question New to iPXE, struggling with inconsistent sanboot connections
Hello everyone,

Let me start by saying thanks for your help and suggestions.

What I'm trying to achieve:
I have a fairly basic environment where I'd like to serve up 2-3 different ISOs, one of which is a Macrium Reflect recovery ISO, another is memtest86 (all things supported by iPXE), and maybe a diagnostic CD image or driver scanner.

These images would be served up to any PXE-based computer on a small network, and would include a short menu with the different choices available.

Where I'm at now:
At this point I am still figuring iPXE out, and trying to get some of the basics down before delving into more complicated aspects (e.g. building a menu, accounting for drive 0x80 parameters, etc.)

I have iPXE working at the moment, but it doesn't work every time (even on the same machine). I am only trying to load one ISO (Macrium) currently, and can get it to work if entered manually on the client machine (using Ctrl B).

[Image: 20160408_135814.jpg]

Once I get it working manually, it will work for the next few reboots, then go back to not finding the sanboot device (Nothing to boot: No such file or directory). The manual parameters that I enter are the same that I have listed in a text file that iPXE is supposed to read. Obviously I'm missing a key step(s) somewhere in here.

[Image: 20160408_135554.jpg]


Here is my dnsmasq.conf code:
Quote:no-resolv
dns-forward-max=1024
server=8.8.8.8
server=8.8.4.4
cache-size=4096
# dynamic pool for unknown clients, 140 addresses
dhcp-host=6c:e8:39:35:39:4d:9e,192.168.1.15
dhcp-range=192.168.1.150,192.168.1.240,infinite
dhcp-option=option:router,192.168.1.3
dhcp-option=6,192.168.1.15
dhcp-userclass=set:ENH,iPXE
dhcp-boot=tag:!ENH,undionly.kpxe
dhcp-boot=tag:ENH,http://192.168.1.15/ipxe.txt
enable-tftp
tftp-root=/var/www
log-dhcp

Note: my undionly.kpxe is in the www folder, which has not been edited.

And here is what I have in my ipxe.txt file:
Quote:#!ipxe
set sanboot-url http://192.168.1.15/
sanboot --no-describe http://192.168.1.15/macrium3.1.iso


Any thoughts or advice would be helpful.
Thanks!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
New to iPXE, struggling with inconsistent sanboot connections - Gamera - 2016-04-09 02:05



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