Boot ISO memdisk 1.3+
-
This post is deleted! -
@cnewman402 the grab entries is a starting point.
I would try to boot the iso directly first. If that doesn’t work then dig into the iso and extract its content to a directory on the fog server and then checkout the syslinux config file or the grub config file
-
Im starting to see how the entries are created. Thank you for pointing out each bootable image is unique. I’ll continue to test and see how the different images work. Im pretty new to Linux, with just basic experience from working at a webhost company for a while.
Is it possible to use memdisk with iso’s in this build or is it mandatory to extract and build entry into each one?
-
@cnewman402 I did write a tutorial a bit ago about pxe booting a winpe disk that shows two examples. While its a bit off point of what you are doing right now it does show you the steps.
https://forums.fogproject.org/topic/6284/booting-mdt-2013-litetouch-with-fogI also wrote one that shows how to boot the windows setup via a pxe boot.
https://forums.fogproject.org/topic/7765/pxe-booting-into-ms-windows-7-setupCouple that with the FOG Wiki that Sebastian referenced
https://wiki.fogproject.org/wiki/index.php?title=Include_any_ISO_in_the_FOG_BootmenuThat should get you started. Now understand each iso is different. The ones that are based on linux typically will have instructions on the provider web site on how to pxe boot them.
With that information you should be able to build your pxe boot menus nicely with the fog management gui.
-
@cnewman402 By the way, you don’t (and shouldn’t) put the item identifier :AVG (or similar) in parameters field, FOG will automatically generate the item name based on the Menu Item field (so make sure that one has no spaces or special characters to avoid potential issues)
-
@Sebastian-Roth I want to boot from Windows 7 iso:
:MENU
menu
item --gap – ---------------- iPXE boot menu ----------------
item windows Install Windows
choose --default windows target && goto ${target}
:windows
menu
item Win7AIK_EN Windows7_32
item shell ipxe shell
item return Return to Main Menu
choose --default Win7_32 target && goto ${target}:Win7AIK_EN
initrd http://192.168.1.9/fog/service/ipxe/iso/Win7AIK_EN.iso
chain memdisk iso raw ||
goto MENU:shell
shell ||
goto MENU
:return
chain http://192.168.1.9/fog/service/ipxe/boot.php?mac=${net0/mac} ||
prompt
goto MENU
autoboot
…
But client hangs at “Loading Boot Sector…booting…” during boot.It is a “Solved” question https://forums.fogproject.org/topic/5521/add-to-advanced-boot-menu-windows-7-iso but I can’t find anything.
-
-
@xfirero That way won’t work (as you noticed). Windows will look for a cdrom (hardware) if you do it that way.
Review this tutorial
https://forums.fogproject.org/topic/7765/pxe-booting-into-ms-windows-7-setup -
@Quazz 10x
-
@george1421 10x
-
@cnewman402
Check out what I have done in my server with this iPXE boot menu. I’ve got quite a few ISO’s booting on my setup using memdisk.:dban menu DBAN Nuke Menu item autonuke AutoNuke DoD 3-Pass item zero AutoNuke 1-Pass Zero Wipe item choose-disk Single Disk Selection item return Back to top menu... item choose --default return --timeout 10000 target && goto ${target} :autonuke kernel http://${fog-ip}/dban/dban.bzi nuke="dwipe --autonuke" silent vga=785 boot || goto failed :zero kernel http://${fog-ip}/dban/dban.bzi nuke="dwipe --autonuke --method zero" silent vga=785 boot || goto failed :choose-disk kernel http://${fog-ip}/dban/dban.bzi nuke="dwipe" silent vga=785 boot || goto failed :return chain ${boot-url}/service/ipxe/boot.php?mac=${net0/mac} || prompt goto MENU :WHDD kernel http://${fog-ip}/whdd/whdd.bzi initrd http://${fog-ip}/whdd/initramfs boot :HDT initrd http://${fog-ip}/hdt/hdt.iso chain http://${fog-ip}/hdt/memdisk iso raw boot :AVG initrd http://${fog-ip}/avg/avg.iso chain http://${fog-ip}/avg/memdisk iso raw boot :BreakIn initrd http://${fog-ip}/breakin/breakin.iso chain http://${fog-ip}/breakin/memdisk iso raw boot