[ipxe-devel] iPXE help

Gray, Michael E. mgray at ccphilly.org
Wed May 29 13:29:49 UTC 2013


Hello, I hope this finds you well.  We talked about two weeks ago and I could use a little diection with iPXE if you have a moment.  I have been able to
Create an ISO and a script to connect to an iSCSI  and attempt to connect to a CD ISO to boot.

The error I get is
Could not open SAN device: Error 0x03852019  when I try to connect to http://10.10.254.108/bootcd.iso then the same message when I try to connect to http://boot.ipxe.org/fredos/fdfullcd.iso

Below is a copy if the script I wrote to try to connect to a iscsi LUN, which appearts to work, boot from it, which is unformatted right not so it can, then boot from one of two CD that are delivered from HTTP.

Any help is greatly appreciated.  Thank you for your help.



FUNNY NOTE:  I was a little supreised to receive email from you last time, My BEST FRIEND in life was Michael Brown.  Thank you for good Memories  :)


Michael E. Gray
IT Specialist,
Calvary Chapel of Philadelphia /
Calvary Christian Academy


---------------------------------------------------
#!ipxe
echo
echo
echo Calvary Chapel of Philadelphia
echo Diskless Worstation Solution, BUILD(20130529)
echo =============================================
echo
echo
dhcp net0 || goto lanerror
set net0/gateway 10.10.0.1
set initiator-iqn iqn.2010-04.org.ipxe:testclient123
set keep-san 1
echo
echo      IP: ${net0/ip}
echo  SUBNET: ${net0/netmask}
echo GATEWAY: ${net0/gateway}
echo     DNS: ${net0/dns}
echo
echo
sanhook iscsi:10.10.253.207::::iqn.1992-08.com.netapp:dr2 || goto sanerror
sanboot --no-describe --drive 0x80 ||

:bootcd - **Note that the HTTP server must support range requests, otherwise SAN booting will fail. **

sanboot http://10.10.254.108/bootcd.iso || echo ** Cannot Boot Local CD ISO
sanboot http://boot.ipxe.org/freedos/fdfullcd.iso || echo ** Cannot Boot http://boot.ipxe.org/
echo
echo
echo
echo ** No Boot Device Found, iPXE HALT
goto loop

:lanerror
echo No DHCP Found, Cannot Connect to Network
goto loop

:sanerror
echo Cannot connect to SAN Drive
goto loop

:loop
goto loop
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20130529/66f9fb42/attachment.htm>


More information about the ipxe-devel mailing list