Integrating Hirens Boot 15.2 into fog 1.2.0
-
@aaoyagi Thank you so much you don’t know how long ive been trying to figure this out. If I could id shake your hand, but for now the best I can do is IS be amazed at how awesome what you figured out is. Again thank you.
-
@aaoyagi said:
Just got this working for me. In case anybody wants the steps:
First in your /etc/exports add this line:
/var/www/fog/iso/15.04_64 *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)Then restart your nfs server. If you’re running Ubuntu it’s sudo service nfs-kernel-server restart
Next, extract the Ubuntu iso to a direcotry named 15.04_64 in your /var/www/fog/iso directory.
In your Advanced menu use this:
:MENU
menu
item --gap – ---------------- iPXE boot menu ----------------
item ubuntu15.04_64 Boot Ubuntu 15.04
item return return to previous menu
:ubuntu15.04_64
set path /fog/iso/15.04_64
set nfs_path /var/www/fog/ISO/15.04_64
kernel http://${fog-ip}${path}/casper/vmlinuz.efi || read void
initrd http://${fog-ip}${path}/casper/initrd.lz || read void
imgargs vmlinuz.efi root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:${nfs_path} ip=dhcp splash quiet – || read void
boot || read void
goto startHopefully it works for you too. You don’t have to set the variables. I just did it that way in case I ever have to change where the iso directory lives.
Added to wiki
-
This post is deleted! -
@aaoyagi Just made major changes to this WiKi article and one other in order to ingegrate this and others into one single article.
https://wiki.fogproject.org/wiki/index.php/Include_any_ISO_in_the_FOG_Bootmenu
Please, any future instructions or tutorials about adding an ISO via FOG should be added to the above WiKi article. Thanks for giving an awesome little tutorial @aaoyagi
-
A note that clonezilla works using the method.
-
I know this is an old thread, I’ve read it entirely, and I’ve read the wiki too (this page)but I can’t find the files mentioned here. In my installation I don’t have the folder: /tftpboot/pxelinux.cfg/ in where should be the “default” file, which I assume is where the default menu is. I need help finding the files that i have to edit to be able to include other isos to the boot menu.
Sorry for the bad english.
Thank you.Hugo Thebas
-
@hugothebas Are you on 1.2 or on trunk? Trunk doesn’t have pxelinux.cfg anymore since it switched to iPXE rather than PXE because of the added functionality.
-
@Quazz 1.2.0 pxelinux.cfg did not exist, but I brought it back in trunk in the case of a requirement per chainloading or issues working with ipxe files.
-
@Tom-Elliott Right, got them mixed up, my bad.
As to answer his question then, you need to add it in the advanced menu in 1.2 using iPXE formatting.
-
@hugothebas This article applies to 1.2.0 and below: https://wiki.fogproject.org/wiki/index.php?title=Advanced_Boot_Menu_Configuration_options