add to advanced boot menu windows 7 iso



  • I use ubuntu 12.04.5 and fog 1.2.0.
    I would like to add “windows 7 64 bit.iso” to boot options.
    So, I

    1. create “iso” directory in /var/www/fog/service/ipxe/
    2. put “win7sp1x64.iso” to /var/www/fog/service/ipxe/iso
    3. copy “memdisk” from /var/www/fog/service/ipxe/ to /var/www/fog/service/ipxe/iso
    4. change owner to “fog:www-data” and permissions to 755 for these files
    5. add code via web interface to FOG Configuration > PXE Boot Menu > Advanced Configuration Options:
    :MENU
    menu
    item --gap -- ---------------- iPXE boot menu ----------------
    item win7sp1x64          Windows 7 sp1 64 bit
    item shell          ipxe shell
    item return        return to previous menu
    choose --default return --timeout 5000 target && goto ${target}
     
    :win7sp1x64
    initrd http://${fog-ip}/${fog-webroot}/service/ipxe/iso/win7sp1x64.iso
    chain memdisk iso raw ||
    goto MENU
     
    :shell
    shell ||
    goto MENU
     
    :return
    chain  http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} ||
    prompt
    goto MENU
     
    autoboot
    

    But client hangs at “Loading Boot Sector…booting…” during boot.

    Please, coould you help me?


  • Moderator

    All I can tell you is that there are several methods to serve an ISO via FOG.

    I can tell you also that no one method will work with all ISOs.

    Please search our forum thoroughly for “ISO” and also our WiKi. Also keep an eye on this thread because someone may help you here, too.


Log in to reply
 

419
Online

39.3k
Users

11.0k
Topics

104.3k
Posts

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