• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    UEFI Extra Menus

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    efi custom menu could not boot 46162085
    2
    4
    2.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      AndrewC
      last edited by

      Server
      • FOG Version: 1.3.5-RC-3
      • OS: Ubuntu 16.04
      Description

      No problems at all with systems using BIOS. I have a few newer systems that use UEFI, and I have configured co-existence as per the wiki instructions (ipxe.efi). UEFI systems boot just fine into the main menu, and everything can be selected without issue except our custom menus. We have two custom menus set up (Utilities) and (Live Boot), and neither work when selected.
      I have attempted to look up the problem here, wiki, and ipxe.org to no avail. Perhaps I have missed something small in setup.

      Output when custom menus are selected under UEFI booting:
      "
      Usage:

      choose [-ml–menu <menu>] [-dl–default <default>] [-tl–timeout <timeout>] [-kl–keep] <setting>

      See http://ipxe.org/cmd/choose for further information
      Could not boot: Result too large (http://ipxe.org/46162085)
      Could not boot: Result too large (http://ipxe.org/46162085)
      Chainloading failed, hit ‘s’ for the iPXE shell; reboot in 10 seconds
      "

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @AndrewC
        last edited by

        @AndrewC said in UEFI Extra Menus:

        I have configured co-existence as per the wiki instructions (ipxe.efi).

        Awesome.

        We have two custom menus set up (Utilities) and (Live Boot), and neither work when selected.

        First and foremost, please copy/paste your two new menu entries here into this thread, use the code formatting tool so it’s in a code box. The tool’s symbol looks like this in the editing area: </>

        We really need copies of the menu items, but I’m going to guess here based on the error “Result too large” that you’re loading an ISO from the FOG server directly into the target machine’s RAM - and there just isn’t enough RAM for this & booting the ISO too.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • A
          AndrewC
          last edited by

          These are the custom menus we are using. Again there are no problems with BIOS… just with calling these menus from UEFI does it fail. Perhaps you can spot something I missed. All I can think of is that perhaps the menu format is somehow different when booting from UEFI. I’m still learning the setup so pardon any mistakes 🙂

          Thanks in advance for the help.

          :MENU
          menu Live Boot Systems
          item --gap -- ---------------------------------------------
          item fog.mint181c3 Run the Mint 18.1 Cinnamon (32-bit) disk/installer
          item fog.mint181c6 Run the Mint 18.1 Cinnamon (64-bit) disk/installer
          item fog.deb871net Run the Debian 8.7.1 (64-bit) net/installer
          item --gap -- ---------------------------------------------
          item fog.return Return to previous
          choose --default fog.local --timeout 5000000 target && goto ${target}
          :fog.mint181c3
          kernel http://${fog-ip}/en_mint181_cin32/casper/vmlinuz
          initrd http://${fog-ip}/en_mint181_cin32/casper/initrd.lz
          imgargs vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/en_mint181_cin32/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=us mirror/country=US
          boot || goto MENU
          goto start
          :fog.mint181c6
          kernel http://${fog-ip}/en_mint181_cin64/casper/vmlinuz
          initrd http://${fog-ip}/en_mint181_cin64/casper/initrd.lz
          imgargs vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/en_mint181_cin64/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=us mirror/country=US
          boot || goto MENU
          goto start
          :fog.deb871net
          kernel http://${fog-ip}/debian87x/linux
          initrd http://${fog-ip}/debian87x/initrd.gz
          imgargs linux vga=788
          boot || goto MENU
          :fog.return
          chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} || prompt
          goto MENU
          
          ----------------------------------
          
          :MENU
          menu Utilities Menu
          item --gap -- ---------------------------------------------
          item fog.memtest Run Memtest 86+
          item fog.pmagic Run PartedMagic Software
          item fog.pmagic32 Run PartedMagic Software (32-bit Older Systems)
          item fog.clonezilla Run Clonezilla Imager
          item fog.hirens152 Run the HIRENs 15.2 disk
          item --gap -- ---------------------------------------------
          item fog.win7 Run the Windows 7 Recovery Tool
          item fog.win8 Run the Windows 8 Recovery Tool
          item fog.win10 Run the Windows 10 Recovery Tool
          item --gap -- ---------------------------------------------
          item fog.return Return to previous
          choose --default fog.local --timeout 5000000 target && goto ${target}
          :fog.memtest
          kernel memdisk iso raw
          initrd memtest.bin
          boot || goto MENU
          kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web="redacted"/fog/ consoleblank=0 rootfstype=ext4 loglevel=4
          imgfetch init_32.xz
          boot || goto MENU
          :fog.hirens152
          initrd http://${fog-ip}/isos/util_Hiren.BootCD.15.2.iso
          chain memdisk iso raw ||
          boot || goto MENU
          :fog.win7
          kernel wimboot
          initrd http://${fog-ip}/wims/w7_recovery/bcd BCD
          initrd http://${fog-ip}/wims/w7_recovery/boot.sdi boot.sdi
          initrd http://${fog-ip}/wims/w7_recovery/boot.wim boot.wim
          boot || goto MENU
          :fog.win8
          kernel wimboot
          initrd http://${fog-ip}/wims/w8_recovery/bcd BCD
          initrd http://${fog-ip}/wims/w8_recovery/boot.sdi boot.sdi
          initrd http://${fog-ip}/wims/w8_recovery/boot.wim boot.wim
          boot || goto MENU
          :fog.win10
          kernel wimboot
          initrd http://${fog-ip}/wims/w10_recovery/bcd BCD
          initrd http://${fog-ip}/wims/w10_recovery/boot.sdi boot.sdi
          initrd http://${fog-ip}/wims/w10_recovery/boot.wim boot.wim
          boot || goto MENU
          :fog.pmagic
          kernel http://${fog-ip}/pmagic/bzImage64
          initrd http://${fog-ip}/pmagic/initrd.img
          initrd http://${fog-ip}/pmagic/files.cgz
          initrd http://${fog-ip}/pmagic/fu.img
          initrd http://${fog-ip}/pmagic/m64.img
          imgargs bzImage64 boot=live ip=dhcp edd=on noapic load_ramdisk=1 prompt_ramdisk=0 rw vga=791 sleep=0 loglevel=0 keymap=us splash quiet - || read void
          boot || read void
          boot || goto MENU
          :fog.pmagic32
          kernel http://${fog-ip}/pmagic/bzImage
          initrd http://${fog-ip}/pmagic/initrd.img
          initrd http://${fog-ip}/pmagic/files.cgz
          initrd http://${fog-ip}/pmagic/fu.img
          initrd http://${fog-ip}/pmagic/m32.img
          imgargs bzImage boot=live ip=dhcp edd=on noapic load_ramdisk=1 prompt_ramdisk=0 rw vga=791 sleep=0 loglevel=0 keymap=us splash quiet - || read void
          boot || read void
          boot || goto MENU
          :fog.clonezilla
          kernel http://${fog-ip}/clonezilla/vmlinuz
          initrd http://${fog-ip}/clonezilla/initrd.img
          imgargs vmlinuz boot=live username=user fetch=http://${fog-ip}/clonezilla/filesystem.squashfs union=overlay locale=en_US.UTF-8 keyboard-layouts=NONE
          boot || echo failed to boot
          prompt
          goto MENU
          :fog.return
          chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} || prompt
          goto MENU
          
          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @AndrewC
            last edited by

            @AndrewC The menu entries look perfectly sound to me.

            I would ask you to try this exact configuration on any machine you can get your hands on that is capable of UEFI mode (not mixed mode, turn that off). If it flat-fails across the board (which I doubt), that’s one thing. But if it works on any at all, then it’s likely something to do with the hardware or with the boot ROM ipxe.efi.

            That error from your first post “Could not boot: Result too large” really sounds like it’s boot ROM related, or a hardware issue.

            It could be resolved as simply as trying different .efi files. Your options to try are on your FOG server in /tftpboot. Just change your DHCP UEFI policy’s option 067 to a different file name, try them one at a time. Do a complete power-off on the computer you’re trying to boot with for each try.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            198

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project