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
iPXE exit fails
2013-06-24, 15:26
Post: #1
iPXE exit fails
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
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
iPXE exit fails - jamesosbourn - 2013-06-24 15:26
RE: iPXE exit fails - mcb30 - 2013-06-24, 17:11
RE: iPXE exit fails - jamesosbourn - 2013-06-24, 22:19
RE: iPXE exit fails - jamesosbourn - 2013-06-25, 12:23
RE: iPXE exit fails - robinsmidsrod - 2013-06-25, 13:20
RE: iPXE exit fails - nicodejong - 2013-08-02, 08:21



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