Help how to load ISO with HTTP ipxe !!
-
Hi,
i have installed FOG and make the modify describe in this link:
[url]http://www.fogproject.org/wiki/index.php/Chainloading_PXE_to_iPXE_using_pxelinux.0[/url]
The boot work correctly, but
Now i don’t understand how add a new code on the file “default” in the directory pxelinux.cfg for load and running ISO image.how add e new item menu in to this lines ??
DEFAULT vesamenu.c32
MENU TITLE Fog Reimage Menu
MENU COLOR TITLE 1;36;44 #ffffffff #00000000 std
LABEL iPXE Boot
MENU DEFAULT
KERNEL ipxe.krn
APPEND dhcp && chain [url]http://x.x.x.x/fog/service/ipxe/boot.php?mac=${net0/mac}[/url]
PROMPT 0
TIMEOUT 1i tried add this code:
:ACRONIS
kernel memdisk iso raw
initrd [url]http://${fog-ip}/fog/iso/acronis_true_image_2014.iso[/url]
boot ||
goto MENUbut not work !!
i tried the new file default:
:MENU
menu
item --gap – ------------- iPXE Boot Menu -------------
item WINPE31 Boot PE 3.1 x86 (Win7)
item WINPE40 Boot PE 4.0 x86 (Win8.0)
item WINPE50 Boot PE 5.0 x86 (Win8.1)
item GANDALF32 Boot Gandalf’s PE 5.1 x86 (Win8.1u)
item SHELL iPXE Shell
item RETURN Return to the Top Menu
choose --default WINPE50 --timeout 30000 target && goto ${target}:WINPE31
imgfetch [url]http://${fog-ip}/iso/winpe31_x86.iso[/url]
boot memdisk iso raw ||
goto MENU:WINPE40
imgfetch [url]http://${fog-ip}/iso/winpe40_x86.iso[/url]
boot memdisk iso raw ||
goto MENU:WINPE50
imgfetch [url]http://${fog-ip}/iso/winpe50_x86.iso[/url]
boot memdisk iso raw ||
goto MENUbut boot don’t start !!
-
Try experimenting with replacing ‘boot’ with ‘chain’ and swapping ‘imgfetch’ with ‘initrd’ or mixing and matching to see if you find something that works. We had to do some experimenting to get what we wanted (Hiren’s and Dell diagnostics) but eventually got it working. Unfortunately I don’t remember offhand and don’t have a vpn connection to check.
I do remember eventually using another memdisk file
-
hi, i not understand if the syntax code is correct or not …
Do you can add a line code example to this code in pxeconfig.cfg_/default file ??:
DEFAULT vesamenu.c32
MENU TITLE Fog Reimage Menu
MENU COLOR TITLE 1;36;44 #ffffffff #00000000 std
LABEL iPXE Boot
MENU DEFAULT
KERNEL ipxe.krn
APPEND dhcp && chain [URL=‘http://x.x.x.x/fog/service/ipxe/boot.php?mac=${net0/mac}’][U][COLOR=#0066cc]http://x.x.x.x/fog/service/ipxe/boot.php?mac=${net0/mac}[/COLOR][/U][/URL]:menu 2° program
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxPROMPT 0
TIMEOUT 1tanks !!!
-
The menu options you’re attempting to create do not go in the default file.
They go under the advanced options under the pxe settings under FOG Configuration->PXE Settings->Advanced Options from the fog GUI.