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

    UEFI won boot tools via fog menu.

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    6
    94
    38.0k
    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.
    • Q
      Quazz Moderator @dureal99d
      last edited by

      @dureal99d Can we see how you try to boot all these various tools?

      D 1 Reply Last reply Reply Quote 0
      • D
        dureal99d @Quazz
        last edited by

        @Quazz of course, do you need a video or a config file?

        Q 1 Reply Last reply Reply Quote 0
        • Q
          Quazz Moderator @dureal99d
          last edited by

          @dureal99d Just paste a few examples of the config for the menu items.

          D 1 Reply Last reply Reply Quote 0
          • D
            dureal99d @Quazz
            last edited by Tom Elliott

            @Quazz

            :MENU
            menu
            item --gap -- ---------------- iPXE boot menu ----------------
            item mac Macrium Reflect
            item clonezilla Clonezilla 2015
            item ubuntu6 Ubuntu 16:04.1 x64
            item ubuntu6 Ubuntu 16:04.1 x32
            item ubuntu Ubuntu 15:10 x64
            item ubuntu Ubuntu 15:10 x32
            item kubuntu6 Kubuntu 16:04.1 x64 
            item kubuntu6 Kubuntu 16:04.1 x32
            item kubuntu Kubuntu 15:10 x64 
            item kubuntu Kubuntu 15:10 x32
            item mint18 Linux Mint 18 "Sarah" - MATE (32-bit)
            item Mint18 Linux Mint 18 "Sarah" - MATE (64-bit)
            item mint Linux Mint 17.2 "Rafaela" - MATE (32-bit)
            item Mint Linux Mint 17.2 "Rafaela" - MATE (64-bit)
            item mint Linux Mint 17.2 "Rafaela" - Cinnamon (32-bit)
            item Mint Linux Mint 17.2 "Rafaela" - Cinnamon (64-bit)
            item BOOTCD Hirens 15.2 BOOTCD
            item pgon Paragon Harddisk Manager 12
            item ubd Ultimate Boot Disk
            item ez  EZ Gig IV Cloning Software
            item centos Centos
            item fedora Fedora
            item fedoral Fedora Live
            item hostinfo details about this computer
            item win windows10 32-bit
            item win64 windows10 64-bit
            item part Parted Magic x64
            item shell ipxe shell
            item return return to previous menu
            choose --default return --timeout 5000 target && goto ${target}
            :mac
            initrd http://${fog-ip}/fog/service/ipxe/mac/mac.iso
            chain memdisk iso raw ||
            goto MENU
            
            :clonezilla
            kernel http://${fog-ip}/bootimgs/clonezilla/vmlinuz
            initrd http://${fog-ip}/bootimgs/clonezilla/initrd.img
            imgargs vmlinuz initrd=initrd.img boot=live username=user fetch=http://${fog-ip}/bootimgs/clonezilla/filesystem.squashfs locale=en_US.UTF-8 keyboard-layouts=NONE
            boot || echo failed to boot
            prompt
            goto MENU
            
            :ubuntu6
            kernel http://${fog-ip}/bootimgs/16.04.1_64/casper/vmlinuz.efi
            initrd http://${fog-ip}/bootimgs/16.04.1_64/casper/initrd.lz
            imgargs vmlinuz.efi initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/16.04.1_64/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
            boot || goto failed
            goto start
            
            :ubuntu6
            kernel http://${fog-ip}/bootimgs/16.04.1_32/casper/vmlinuz
            initrd http://${fog-ip}/bootimgs/16.04.1_32/casper/initrd.lz
            imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/16.04.1_32/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
            boot || goto failed
            goto start
            
            :ubuntu
            kernel http://${fog-ip}/bootimgs/15.10_64/casper/vmlinuz.efi
            initrd http://${fog-ip}/bootimgs/15.10_64/casper/initrd.lz
            imgargs vmlinuz.efi initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/15.10_64/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
            boot || goto failed
            goto start
            
            :ubuntu
            kernel http://${fog-ip}/bootimgs/15.10_32/casper/vmlinuz
            initrd http://${fog-ip}/bootimgs/15.10_32/casper/initrd.lz
            imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/15.10_32/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
            boot || goto failed
            goto start
            
            :kubuntu6
            kernel http://${fog-ip}/bootimgs/kubuntu6_64/casper/vmlinuz.efi
            initrd http://${fog-ip}/bootimgs/kubuntu6_64/casper/initrd.lz
            imgargs vmlinuz.efi initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/kubuntu6_64/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
            boot || goto failed
            goto start
            
            :kubuntu6
            kernel http://${fog-ip}/bootimgs/kubuntu6_32/casper/vmlinuz
            initrd http://${fog-ip}/bootimgs/kubuntu6_32/casper/initrd.lz
            imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/kubuntu6_32/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
            boot || goto failed
            
            :kubuntu
            kernel http://${fog-ip}/bootimgs/kubuntu5_64/casper/vmlinuz.efi
            initrd http://${fog-ip}/bootimgs/kubuntu5_64/casper/initrd.lz
            imgargs vmlinuz.efi initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/kubuntu5_64/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
            boot || goto failed
            goto start
            
            :kubuntu
            kernel http://${fog-ip}/bootimgs/kubuntu5_32/casper/vmlinuz
            initrd http://${fog-ip}/bootimgs/kubuntu5_32/casper/initrd.lz
            imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/kubuntu5_32/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
            boot || goto failed
            goto start
            
            :mint18
            kernel http://${fog-ip}/bootimgs/lm18_32/casper/vmlinuz
            initrd http://${fog-ip}/bootimgs/lm18_32/casper/initrd.lz
            imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/lm18_32/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
            boot || goto failed
            goto start
            
            :Mint18
            kernel http://${fog-ip}/bootimgs/lm18_64/casper/vmlinuz
            initrd http://${fog-ip}/bootimgs/lm18_64/casper/initrd.lz
            imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/lm18_64/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
            boot || goto failed
            goto start
            
            :mint
            kernel http://${fog-ip}/bootimgs/lm_32/casper/vmlinuz
            initrd http://${fog-ip}/bootimgs/lm_32/casper/initrd.lz
            imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/lm_32/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
            boot || goto failed
            goto start
            
            :Mint
            kernel http://${fog-ip}/bootimgs/lm_64/casper/vmlinuz
            initrd http://${fog-ip}/bootimgs/lm_64/casper/initrd.lz
            imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/lm_64/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
            boot || goto failed
            goto start
            
            :mint
            kernel http://${fog-ip}/bootimgs/lmc_32/casper/vmlinuz
            initrd http://${fog-ip}/bootimgs/lmc_32/casper/initrd.lz
            imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/lmc_32/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
            boot || goto failed
            goto start
            
            :Mint
            kernel http://${fog-ip}/bootimgs/lmc_64/casper/vmlinuz
            initrd http://${fog-ip}/bootimgs/lmc_64/casper/initrd.lz
            imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/lmc_64/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
            boot || goto failed
            goto start
            
            :centos
            initrd http://${fog-ip}/bootimgs/centos/images/pxeboot/initrd.img
            chain http://${fog-ip}/bootimgs/centos/images/pxeboot/vmlinuz initrd=initrd.img root=live:http://${fog-ip}/bootimgs/centos/LiveOS/squashfs.img ip=dhcp repo=http://192.168.1.109/bootimgs/centosrepo/mirror.nodeshosting.com/centos/7.2.1511/os/x86_64 splash quiet – || read void
            boot || goto MENU
            
            :fedoral
            initrd http://${fog-ip}/bootimgs/fedora/images/pxeboot/initrd.img
            chain http://${fog-ip}/bootimgs/fedora/images/pxeboot/vmlinuz initrd=initrd.img root=live:http://${fog-ip}/bootimgs/fedora/LiveOS/squashfs.img devfs=nomount ip=dhcp
            boot || goto MENU
            
            :fedora
            initrd http://${fog-ip}/bootimgs/fedora/images/pxeboot/initrd.img
            chain http://${fog-ip}/bootimgs/fedora/images/pxeboot/vmlinuz initrd=initrd.img root=live:http://${fog-ip}/bootimgs/fedora/LiveOS/squashfs.img rootfstype=auto ro rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0
            boot || goto MENU
            
            :BOOTCD
            initrd http://${fog-ip}/bootimgs/bootcd/hirensboot.iso ||
            chain memdisk iso raw ||
            boot ||
            goto MENU
            
            :pgon
            initrd http://${fog-ip}/bootimgs/pgon/phdman12.iso ||
            chain memdisk iso raw ||
            boot ||
            goto MENU
            
            :ubd
            initrd http://${fog-ip}/bootimgs/ubcd/ubcd535.iso ||
            chain memdisk iso raw ||
            boot ||
            goto MENU
            
            :ez
            initrd http://${fog-ip}/bootimgs/ez/EZGIG438.iso ||
            chain memdisk iso raw ||
            boot ||
            goto MENU
            
            :hostinfo
            echo This computer : ||
            echo MAC address....${net0/mac} ||
            echo IP address.....${ip} ||
            echo Netmask........${netmask} ||
            echo Serial.........${serial} ||
            echo Asset number...${asset} ||
            echo Manufacturer...${manufacturer} ||
            echo Product........${product} ||
            echo BIOS platform..${platform} ||
            echo ||
            echo press any key to return to Menu ||
            prompt
            goto MENU
            
            :win
            initrd http://${fog-ip}/bootimgs/winiso/winpe10.iso
            chain memdisk iso raw
            
            :win64
            initrd http://${fog-ip}/bootimgs/winiso/winpe1064.iso
            chain memdisk iso raw
            
            :part
            kernel http://${fog-ip}/bootimgs/pmagic/bzImage64
            initrd http://${fog-ip}/bootimgs/pmagic/initrd.img
            initrd http://${fog-ip}/bootimgs/pmagic/files.cgz
            initrd http://${fog-ip}/bootimgs/pmagic/fu.img
            initrd http://${fog-ip}/bootimgs/pmagic/m64.img
            imgargs initrd=initrd.img bzImage64 boot=live ip=dhcp edd=on noapic load_ramdisk=1 prompt_ramdisk=0 rw vga=normal sleep=0 loglevel=0 keymap=us splash quiet - || read void
            boot || read void
            
            :shell
            shell ||
            goto MENU
            :return
            chain http://${fog-ip}/${fog-webroot}/bootimgs/boot.php?mac=${net0/mac} ||
            prompt
            goto MENU
            Autoboot
            

            This is my entire config file. whats funny is the only 2 that will boot is Centos and fedora which are the 2 that gave me the most trouble before.

            D Tom ElliottT 2 Replies Last reply Reply Quote 0
            • D
              dureal99d @dureal99d
              last edited by

              @Quazz that is my entire config file

              Q 1 Reply Last reply Reply Quote 0
              • Q
                Quazz Moderator @dureal99d
                last edited by

                @dureal99d I think the main problem is most likely that the nfs location those boot options want to use isn’t being exported by your FOG server.

                Check /etc/exports to confirm

                D 1 Reply Last reply Reply Quote 0
                • D
                  dureal99d @Quazz
                  last edited by dureal99d

                  @Quazz the files are being exported via nfs server of Ubuntu

                  /images *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0)
                  /images/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)
                  /images2 *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=2)
                  /images2/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=3)
                  /var/www/html/bootimgs *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
                  /opt/bootimgs *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)```
                  Q 1 Reply Last reply Reply Quote 0
                  • Q
                    Quazz Moderator @dureal99d
                    last edited by

                    @dureal99d They need to have fsid assigned at the very least to work properly as far as I know.

                    D 1 Reply Last reply Reply Quote 1
                    • D
                      dureal99d @Quazz
                      last edited by

                      @Quazz said in UEFI won boot tools via fog menu.:

                      fsid

                      fsid? i see add fsid=4 fsid=5 to the exports

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        dureal99d @dureal99d
                        last edited by

                        @dureal99d said in UEFI won boot tools via fog menu.:

                        i see add

                        @Quazz I shall add fsid= to the export and shall report back

                        Q 1 Reply Last reply Reply Quote 0
                        • Q
                          Quazz Moderator @dureal99d
                          last edited by

                          @dureal99d You’ll also need to run

                          exportfs -a
                          

                          After that.

                          Use

                          showmount -e 127.0.0.1
                          

                          to confirm

                          D 1 Reply Last reply Reply Quote 1
                          • D
                            dureal99d @Quazz
                            last edited by

                            @Quazz said in UEFI won boot tools via fog menu.:

                            showmount -e 127.0.0.1

                            dureal99d@dureal99d-Precision-WorkStation-T5400:~$ sudo exportfs -a
                            exportfs: /etc/exports [5]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/var/www/html/bootimgs".
                              Assuming default behaviour ('no_subtree_check').
                              NOTE: this default has changed since nfs-utils version 1.0.x
                            
                            exportfs: /etc/exports [6]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/opt/bootimgs".
                              Assuming default behaviour ('no_subtree_check').
                              NOTE: this default has changed since nfs-utils version 1.0.x
                            
                            exportfs: duplicated export entries:
                            exportfs: 	*:/opt/bootimgs
                            exportfs: 	*:/opt/bootimgs
                            dureal99d@dureal99d-Precision-WorkStation-T5400:~$ showmount -e 127.0.0.1
                            Export list for 127.0.0.1:
                            /opt/bootimgs *
                            /images2/dev  *
                            /images2      *
                            /images/dev   *
                            /images       *
                            
                            Q 1 Reply Last reply Reply Quote 0
                            • Q
                              Quazz Moderator @dureal99d
                              last edited by

                              @dureal99d You’ll need to add subtree_check as well, otherwise any folders underneath it won’t be accessible.

                              D 1 Reply Last reply Reply Quote 1
                              • D
                                dureal99d @Quazz
                                last edited by dureal99d

                                @Quazz

                                dureal99d@dureal99d-Precision-WorkStation-T5400:~$ sudo exportfs -a
                                exportfs: duplicated export entries:
                                exportfs: 	*:/opt/bootimgs
                                exportfs: 	*:/opt/bootimgs
                                dureal99d@dureal99d-Precision-WorkStation-T5400:~$ showmount -e 127.0.0.1
                                Export list for 127.0.0.1:
                                /opt/bootimgs *
                                /images2/dev  *
                                /images2      *
                                /images/dev   *
                                /images       *
                                dureal99d@dureal99d-Precision-WorkStation-T5400:~$ ```
                                
                                Does this look right?
                                
                                /images *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0)
                                /images/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)
                                /images2 *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=2)
                                /images2/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=3)
                                /var/www/html/bootimgs *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=4)
                                /opt/bootimgs *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=5)
                                Q Tom ElliottT 2 Replies Last reply Reply Quote 0
                                • Q
                                  Quazz Moderator @dureal99d
                                  last edited by

                                  @dureal99d It’s trying to export /opt/bootimgs twice.

                                  Is it a symbolic link or something?

                                  Either way, it should probably work now, might need to restart NFS service, though.

                                  D 1 Reply Last reply Reply Quote 0
                                  • D
                                    dureal99d @Quazz
                                    last edited by

                                    @Quazz

                                    0_1475574962653_CentOS 64-bit (2)-2016-10-04-04-55-07.png

                                    Q 1 Reply Last reply Reply Quote 0
                                    • Q
                                      Quazz Moderator @dureal99d
                                      last edited by

                                      @dureal99d Looking at my own boot items, I do not appear to have a trailing slash. Try removing that from your boot options.

                                      If it still has issues after that, see if you can manually mount that NFS location.

                                      You can base yourself on https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_NFS replace paths where necessary.

                                      D 1 Reply Last reply Reply Quote 0
                                      • D
                                        dureal99d @Quazz
                                        last edited by

                                        @Quazz Keep in mind in bios boot mode these options work just fine, the issue exist in uefi mode.

                                        also, what is a trailing slash?

                                        Q 1 Reply Last reply Reply Quote 0
                                        • Q
                                          Quazz Moderator @dureal99d
                                          last edited by

                                          @dureal99d It’s a forward slash / at the end of the url.

                                          I don’t know why it would work in BIOS mode, honestly. Or perhaps why not in UEFI. Secure Boot is off on the target device, right?

                                          D 1 Reply Last reply Reply Quote 0
                                          • D
                                            dureal99d @Quazz
                                            last edited by

                                            @Quazz said in UEFI won boot tools via fog menu.:

                                            know why it would work in BIOS mode

                                            yes I am also at a loss, that is also what I find strange, I see no reason I can upload and download an image but not boot these isos in uefi mode. its crazy to me. but ive read uefi is pretty pick about stuff so who knows?

                                            Tom ElliottT 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 4 / 5
                                            • First post
                                              Last post

                                            166

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project