IPXE Boot Menu 1.2.0
-
Hi, I have fog 1.2.0
I go to FOG Configuration —> PXE Boot Menu —> Advanced configuration options and I put:
Imenu[/I]
Iitem --gap – ---------------- iPXE boot menu ----------------[/I]
Iitem HDD_REGNERATOR HDD Regenerator 1.7[/I]
Iitem shell ipxe shell[/I]
Iitem return return to previous menu[/I]
Ichoose --default HDD_REGENERATOR --timeout 5000 target && goto ${target}[/I]Iinitrd [url]http://${fog-ip}/images/ISOs/HDD_Regenerator.iso[/url][/I]
Ichain memdisk iso raw ||[/I]
Igoto MENU[/I]
I [/I]
I:shell[/I]
Ishell ||[/I]
Igoto MENU[/I]Ichain [url]http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac}[/url] ||[/I]
Iprompt[/I]
Igoto MENU[/I]Iautoboot[/I]
But when I select “HDD Regenerator 1.7” didn’t work, the host says “Reboot and Select proper Boot device”
The ISO is OK, the path is OK what could be happening?
-
-
[quote=“Junkhacker, post: 34821, member: 21583”]try replacing initrd [url]http://${fog-ip}/images/ISOs/HDD_Regenerator.iso[/url] with
initrd [URL=‘http://%24%7Bfog-ip%7D/images/ISOs/HDD_Regenerator.iso’]http://${fog-ip}/images/ISOs/HDD_Regenerator.iso[/URL] || echo “iso failed to load” && prompt[/quote]Same error and not printing “iso failed to load”
-
What is the location of the images/ISOs/HDD_Regenerator.iso?
Is it /var/www/images/ISOs/HDD_Regenerator.iso
or is it:
/var/www/fog/images/ISOs/HDD_Regenerator.iso -
[quote=“Tom Elliott, post: 34829, member: 7271”]What is the location of the images/ISOs/HDD_Regenerator.iso?
Is it /var/www/images/ISOs/HDD_Regenerator.iso
or is it:
/var/www/fog/images/ISOs/HDD_Regenerator.iso[/quote]I tried:
[LIST]
[]/var/www/images/ISOs/HDD_Regenerator.iso
[]/var/www/fog/images/ISOs/HDD_Regenerator.iso
[*]/images/ISOs/HDD_Regenerator.iso
[/LIST]
But nothing, could be a permissions problem? -
That still doesn’t answer my question.
What is the current location of the ISOs?
-
[quote=“Tom Elliott, post: 34833, member: 7271”]That still doesn’t answer my question.
What is the current location of the ISOs?[/quote]
I locate the ISOs in this three paths, i do a cp of HDD_Regenerator.iso to:
[LIST]
[]/var/www/images/ISOs/
[]/var/www/fog/images/ISOs/
[*]/images/ISOs/
[/LIST] -
if it’s not giving you the error “iso failed to load” then the iso is probably loading.
the problem might be with using [I]chain memdisk iso raw || [/I]as that is not the appropriate method to boot all types of iso
what kind of boot disk is it? linux? dos? windows based? -
[quote=“Junkhacker, post: 34837, member: 21583”]if it’s not giving you the error “iso failed to load” then the iso is probably loading.
the problem might be with using [I]chain memdisk iso raw || [/I]as that is not the appropriate method to boot all types of iso
what kind of boot disk is it? linux? dos? windows based?[/quote]DOS Win98
-
and what kind of method does the iso use to boot the iso? floppy emulation?
-
[quote=“Junkhacker, post: 34841, member: 21583”]and what kind of method does the iso use to boot the iso? floppy emulation?[/quote]
floppy emulation.
Thank for your answers Junkhacker, I also tried with a Debian image instead of HDD_Regenerator.iso.
I locate the debian.iso in:
[LIST]
[]/var/www/images/ISOs/
[]/var/www/fog/images/ISOs/
[*]/images/ISOs/
[/LIST]
But still the same error -
can you post a video?
-
Have you checked permissions?
-
Hi,
Permissions are OK. I have some news:If I select “shell” and I put by commands:
initrd /images/ISOs/debian.iso
chain memdisk raw isoIt works perfectly!
What could be happening?
-
Try replacing ${fog-ip} with ${boot-url} . That is what I use.
-
[I][URL=‘http://%24%7Bfog-ip%7D/images/ISOs/HDD_Regenerator.iso’]http://${fog-ip}/images/ISOs/HDD_Regenerator.iso[/URL] [/I]is valid for
/var/www/images/ISOs/HDD_Regenerator.iso
[I][URL=‘http://%24%7Bfog-ip%7D/images/ISOs/HDD_Regenerator.iso’]http://${boot-url}/images/ISOs/HDD_Regenerator.iso[/URL] [/I]would be valid for
[SIZE=12px]/var/www/fog/images/ISOs/HDD_Regenerator.iso[/SIZE]
[I][/I]