2013-06-24, 15:26
I have an iPXE menu which is working well for me and with help from the forums have managed to get my Windows boot working.
My problem now is that if I leave the iPXE menu to timeout i get the message
"No more networked devices" and then it just sits tehre. it never exits back to the bios for a local boot.
I am using ISC DHCP to chain load the iPXE environment
if exists user-class and ( option user-class = "iPXE" ) {
filename "bootstrap.ipxe";
} else {
filename "undionly.kpxe";
}
My menu looks as follows:
#!ipxe
# boot-url is set in bootstrap.ipxe
# Setup some basic convenience variables
set menu-timeout 30000
set submenu-timeout ${menu-timeout}
# Ensure we have menu-default set to something
isset ${menu-default} || set menu-default quit
###################### MAIN MENU ####################################
:start
menu iPXE boot menu for XenServer
item --gap -- ---------------------- Operating System Installers -----------------------
item --key w menu-windows Install (W)indows
item --key l fai Install (L)inux
item --key x xenserver Load (X)enServer PXELinux from DNS1
item --gap -- -------------------------- Tools and Utilities ---------------------------
item --key m memtest (M)emtest x86
item --key t trk (T)rinity Rescue Kit
item --gap -- ---------------------------- Advanced Options ----------------------------
item --key c config ©onfigure settings
item shell Drop to iPXE shell
item reboot Reboot computer
item
item --key q quit (Q)uit iPXE and continue BIOS boot
choose --timeout ${menu-timeout} --default ${menu-default} selected || goto cancel
set menu-timeout 0
goto ${selected}
:cancel
echo You cancelled the menu, dropping you to a shell
:shell
echo Type exit to get back to the menu
shell
set menu-timeout 0
set submenu-timeout 0
goto start
:failed
echo Booting failed, dropping to shell
goto shell
:reboot
reboot
:quit
exit
:config
config
goto start
:back
set submenu-timeout 0
clear submenu-default
goto start
############ MAIN MENU ITEMS ############
Any assistance on exiting would be appreciated.
James
My problem now is that if I leave the iPXE menu to timeout i get the message
"No more networked devices" and then it just sits tehre. it never exits back to the bios for a local boot.
I am using ISC DHCP to chain load the iPXE environment
if exists user-class and ( option user-class = "iPXE" ) {
filename "bootstrap.ipxe";
} else {
filename "undionly.kpxe";
}
My menu looks as follows:
#!ipxe
# boot-url is set in bootstrap.ipxe
# Setup some basic convenience variables
set menu-timeout 30000
set submenu-timeout ${menu-timeout}
# Ensure we have menu-default set to something
isset ${menu-default} || set menu-default quit
###################### MAIN MENU ####################################
:start
menu iPXE boot menu for XenServer
item --gap -- ---------------------- Operating System Installers -----------------------
item --key w menu-windows Install (W)indows
item --key l fai Install (L)inux
item --key x xenserver Load (X)enServer PXELinux from DNS1
item --gap -- -------------------------- Tools and Utilities ---------------------------
item --key m memtest (M)emtest x86
item --key t trk (T)rinity Rescue Kit
item --gap -- ---------------------------- Advanced Options ----------------------------
item --key c config ©onfigure settings
item shell Drop to iPXE shell
item reboot Reboot computer
item
item --key q quit (Q)uit iPXE and continue BIOS boot
choose --timeout ${menu-timeout} --default ${menu-default} selected || goto cancel
set menu-timeout 0
goto ${selected}
:cancel
echo You cancelled the menu, dropping you to a shell
:shell
echo Type exit to get back to the menu
shell
set menu-timeout 0
set submenu-timeout 0
goto start
:failed
echo Booting failed, dropping to shell
goto shell
:reboot
reboot
:quit
exit
:config
config
goto start
:back
set submenu-timeout 0
clear submenu-default
goto start
############ MAIN MENU ITEMS ############
Any assistance on exiting would be appreciated.
James