Quantcast
Channel: iPXE discussion forum - All Forums
Viewing all articles
Browse latest Browse all 1484

Can not boot From menu file in the style

$
0
0
Hi,
I have been playing with iPXE boot system for iSCSI.
All independent startup functions can be achieved.

And the question now for me is,

this ipxe.menu File is OK, for work
#######################################
#!ipxe
set isrv 172.16.3.9
isset ${ip} || dhcp
sanboot iscsi:${isrv}::::iqn.${net0/mac:hexhyp}
#######################################

this ipxe.menu File is OK, this isn't for work
#######################################
#!ipxe
isset ${ip} || dhcp
set isrv 172.16.3.9

:start
menu iPXE Boot Menu For PC:${board-serial} MAC:${mac:hexhyp}
item --gap -- --------------------------------- WIN --------------------------------
item ${mac:hexhyp} Boot From iscsi:${isrv}::::iqn.${mac:hexhyp}||her
item ${board-serial} Boot From iscsi:${isrv}::::${board-serial}

choose --default ${mac:hexhyp} selected
goto ${selected}

:${mac:hexhyp}
sanboot iscsi:${isrv}::::iqn.${mac:hexhyp}
exit

:${board-serial}
sanboot iscsi:${isrv}::::iqn.${board-serial}
exit

#######################################

Viewing all articles
Browse latest Browse all 1484

Latest Images

Trending Articles



Latest Images

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