PXE Boot - Adding Hiren 15.0 to Menu



  • Server
    • FOG Version: 1.4.0
    • OS: Ubuntu 16.04
    Client
    • Service Version: v0.11.12
    • OS: Windows 7
    Description

    I have followed this wiki on the fog website https://wiki.fogproject.org/wiki/index.php?title=Include_any_ISO_in_the_FOG_Bootmenu#Bitdefender along with many other guides. So far I’ve created two iPXE Menus. Both of which show up on the list after PXE Booting a client, but the Hiren ISO doesn’t boot.
    I am not able to access x.x.x.x/fog/iso on a browser. So I think that’s part of the problem…

    1st Menu:
    :hbcd
    set path /fog/iso/Hiren’s.BootCD.15.0.iso
    set nfs_path /var/www/fog/ISO/Hiren’s.BootCD.15.0.iso
    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 || goto MENU


    2nd Menu:
    :hbcd2
    initrd http://${fog-ip}/fog/service/ipxe/hiren/Hiren’s.BootCD.15.0.iso
    chain memdisk iso raw ||
    goto MENU

    I think the 2nd menu is more of what I need, but it doesn’t work either.

    The guide is a bit dated and I’m needing some help figuring out what’s going on… any ideas?



  • @Avaryan That did the trick! I had a feeling it was just a location problem. I can now boot to the ISO. Thanks for the help!



  • @tyler2017 /var/www/html/Hiren15.2.iso



  • What’s the full file path to your iso? Mine is /var/www/fog/iso/Hiren’s.BootCD.15.0.iso



  • @tyler2017 Here is what I have. 15.2 works.

    :MENU
    menu
    item --gap -- ---------------- iPXE Advanced Boot Menu ----------------
    item hiren Hiren's Boot CD 15.2
    item return Return to Previous Menu
    choose --default return --timeout 15000 target && goto ${target}
    :hiren
    initrd http://${fog-ip}/Hiren15.2.iso
    chain memdisk iso raw ||
    :return
    chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} ||
    prompt
    goto MENU
    autoboot
    

Log in to reply
 

375
Online

38982
Users

10712
Topics

101678
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.