I tried to reproduce this with 5686, and the boot menu looks fine, so I’d call it fixed . For anybody who’s seeing this issue, I’d recommend just changing anything in the iPXE Boot Menu, saving it and changing it back.
Now, to mark this as solved…
I tried to reproduce this with 5686, and the boot menu looks fine, so I’d call it fixed . For anybody who’s seeing this issue, I’d recommend just changing anything in the iPXE Boot Menu, saving it and changing it back.
Now, to mark this as solved…
@Arrowhead-IT
Obviously, you’ll have to adjust paths.
initrd http://${fog-ip}/winpe-build2/winpe.iso
chain memdisk iso raw
boot || MENU
Like:
@Sebastian-Roth I decided to try to figure out how to add a WinPE option on the menu, and after I got that working (using an ISO, not wimboot btw), I noticed that boot from hard disk started working again.
I’ll see if I can repro the original bug tomorrow morning.
I was wondering where that was.
#!ipxe
set fog-ip 10.19.100.175
set fog-webroot fog
set boot-url http://${fog-ip}/${fog-webroot}
#!ipxe
cpuid --ext 29 && set arch x86_64 || set arch i386
goto get_console
:console_set
colour --rgb 0x00567a 1 && colour --rgb 0x00567a 2 && colour --rgb 0x00567a 4 ||
cpair --foreground 7 --background 2 2 ||
goto MENU
:alt_console
cpair --background 0 1 && cpair --background 1 2 ||
goto MENU
:get_console
console --picture http://10.19.100.175/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console
:MENU
menu
colour --rgb 0xff0000 0 ||
cpair --foreground 1 1 ||
cpair --foreground 0 3 ||
cpair --foreground 4 4 ||
item --gap Host is NOT registered!
item --gap -- -------------------------------------
item fog.local Boot from hard disk
item fog.memtest Run Memtest86+
item fog.reginput Perform Full Host Registration and Inventory
item fog.reg Quick Registration and Inventory
item fog.quickimage Quick Image
item fog.multijoin Join Multicast Session
item fog.sysinfo Client System Information (Compatibility)
choose --default fog.local --timeout 3000 target && goto ${target}
:fog.local || goto MENU
:fog.memtest
kernel memdisk iso raw
initrd memtest.bin
boot || goto MENU
:fog.reginput
kernel bzImage32 loglevel=4 init=/sbin/init initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=10.19.100.175/fog/ consoleblank=0 loglevel=4 mode=manreg
imgfetch init_32.xz
boot || goto MENU
:fog.reg
kernel bzImage32 loglevel=4 init=/sbin/init initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=10.19.100.175/fog/ consoleblank=0 loglevel=4 mode=autoreg
imgfetch init_32.xz
boot || goto MENU
:fog.quickimage
login
params
param mac0 ${net0/mac}
param arch ${arch}
param username ${username}
param password ${password}
param qihost 1
isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
:fog.multijoin
login
params
param mac0 ${net0/mac}
param arch ${arch}
param username ${username}
param password ${password}
param sessionJoin 1
isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
:fog.sysinfo
kernel bzImage32 loglevel=4 init=/sbin/init initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=10.19.100.175/fog/ consoleblank=0 loglevel=4 mode=sysinfo
imgfetch init_32.xz
boot || goto MENU
:bootme
chain -ar http://10.19.100.175/fog/service/ipxe/boot.php##params ||
goto MENU
autoboot
I think this is an iPXE menu problem.
Trunk install (5662) on Ubuntu 15.04 (built today).
I’m able to register a host, upload and download images, but when the client tries to boot to HD, it loads memtest instead.
If I tell BIOS to boot to the HD, it works fine, so I think it’s a problem with the ipxe menu. In FOG Configuration->iPXE Menu Customization it looks like there are no parameters or boot options. I don’t have a working one to compare it to though.
Does this look right?
Thanks much.