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

    Create UEFI ISO and prepare Surface go deployement.

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    uefi iso surface go
    3
    23
    4.9k
    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.
    • T
      TheDiskDrive
      last edited by TheDiskDrive

      Hello,

      In the next months, i have to deploy 30 surface go tablet.

      As i know there no way to boot over pxe using a usb ethernet adapter.

      I use Zalman VE350 enclosure which allow to boot into iso directly i’ve tried to grab the ixpxe.efi file and create a iso :

      Structure of my iso (based on the netboot.xyz’s efi iso)
      alt text

      and this seem do not working on VmWare workstation uefi enabled and secure boot disabled and on a physical machine (DELL Latitude 3390 and surface go)

      i’ve tried the netboot.xyz 's efi iso image wich is ipxe based and this also not working.

      There is a way to make a UEFI iso and get the fog boot menu ?

      Thanks

      best regard,

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by

        What part is not working? That structure should be supported. UEFI is pretty simple as long as the boot file is in the right location and named correctly. Does the iso image show as a bootable able disk in the UEFI boot manager, or with the dell laptop via the F12 boot manager? If the ISO/DVD is uefi bootable it should show up in the list.

        Instead of creating an ISO DVD file, you could do the same with a usb flash drive.

        If you can’t get this method to work I do have an alternative method to usb boot into FOS.

        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!

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by

          @TheDiskDrive What exactly do you see when booting off the ISO? Nothing or does it give you the netboot.xyz bootmenu?

          Why do you use netboot.xyz? Not saying that this cannot be used but it’s not specific to FOG and therefore you don’t see the FOG menu no matter what. Look into using our iPXE binaries (download here). Also here you find a tutorial on creating bootable USB media here: https://forums.fogproject.org/topic/7727/building-usb-booting-fos-image/3?page=2

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • T
            TheDiskDrive
            last edited by

            Okay.

            @Sebastian-Roth on the boot menu i have nothing even with the netboot.xyz iso ( no UEFI DVD drive entry )

            I used the netboot.xyz iso to check how the iso is structured.

            @george1421 yes this seem be simple, on every uefi iso that i downloaded (debian, windows) there is a efi folder then the boot subfolder and finally the efi file.

            but sadly this seem not working even with the efi iso from netboot.xyz

            so i giving up to create a iso file for now, maybe with the USB script there is a way to make possible ?

            i’m testing the USB creation script, this seem not compatible with debian 9.6.

            root@iutmfog:~# ./mk.fos-usb
            Make a blank 128MB disk image
            128+0 enregistrements lus
            128+0 enregistrements écrits
            134217728 bytes (134 MB, 128 MiB) copied, 1,02619 s, 131 MB/s
            Make the partition table, partition and set it bootable.
            Map the partitions from the image file
            Make an vfat filesystem on the first partition.
            mkfs: échec d'exécution de mkfs.vfat: Aucun fichier ou dossier de ce type
            Mount the filesystem via loopback
            mount: mauvais type de système de fichiers, option erronée, superbloc erroné
                    sur /dev/mapper/loop0p1, page de code ou programme auxiliaire manquant, ou autre erreur
            
                    Dans certains cas des renseignements utiles sont dans le journal
                    système — essayez « dmesg | tail » ou quelque chose du genre.
            Install GRUB
            grub-install : error: /usr/lib/grub/i386-efi/modinfo.sh n'existe pas. Veuillez utiliser --target ou --directory.
            grub-install : erreur : /usr/lib/grub/x86_64-efi/modinfo.sh n'existe pas. Veuillez utiliser --target ou --directory.
            
            

            will try on Ubuntu 14.04 !

            meanwhile thanks you for your help !

            george1421G 1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @TheDiskDrive
              last edited by

              @TheDiskDrive said in Create UEFI ISO and prepare Surface go deployement.:

              but sadly this seem not working even with the efi iso from netboot.xyz

              Don’t use this netboot thing. On your fog server in /tftpboot directory grab ipxe.efi. Move that to a usb flash drive in the correct directory and renamed correctly. This will work.

              I have a tutorial on this: https://forums.fogproject.org/topic/6350/usb-boot-uefi-client-into-fog-menu-easy-way

              If you are going the other path building the usb bootable FOS image. I can give you a jump start if you need. Look at the fog forum chat bubble.

              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!

              1 Reply Last reply Reply Quote 1
              • T
                TheDiskDrive
                last edited by

                @george1421 a big thank you !

                Surface tablet don’t have integrated ethernet interface thus i can’t boot using UEFI PXE even if in the bios i have UEFI ipv6 and ipv4 pxe entry.

                I used your FOS image and burn on a usb stick ( we have a lot usb keys thanks to dell !) then i changed the grub.cfg file to use my fog server ip and add french keymap !

                I changed some files on the usb stick, i replaced the bzImage, bzImage32, init.xz and init_32.xz files to get the latest kernel avalable to be sure that everything work.

                Now i can deploy image on surface go tablet without trouble !

                1 Reply Last reply Reply Quote 1
                • T
                  TheDiskDrive
                  last edited by TheDiskDrive

                  Hello,

                  Today is the D-day, i’m trying to deploy my image and i run into some error, i’m unable to multicast my image with the USB drive.

                  When i multi cast i got this error

                  Fatal Error: unknow request type :: Null

                  Kernel Variables and settings:

                  Boot_Image=/boot/bzImage loglevel=4 initrd=init.xz root=/dev/ram0 rw ramdisk_size=127000 keymap=fr web=10.X.X.XX/fog boottype=usb consoleblank=0 rootfstype=ext4

                  I can only Deploy or Capture my image. I have 10 hosts in my tablet group and when i use the deploy task i had invalid storage group error.

                  so how to make a multicast deployment using usb drive ? ( i think is a grub parameter to add on the menu entry ? )

                  thank you !

                  george1421G 2 Replies Last reply Reply Quote 0
                  • george1421G
                    george1421 Moderator @TheDiskDrive
                    last edited by

                    @TheDiskDrive said in Create UEFI ISO and prepare Surface go deployement.:

                    Fatal Error: unknow request type :: Null
                    Kernel Variables and settings:

                    Sorry I didn’t see this til now. The issue with the unknown user request is listed in the caveats. You MUST schedule the task in FOG BEFORE you select option 1 from the menu.

                    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!

                    T 1 Reply Last reply Reply Quote 0
                    • george1421G
                      george1421 Moderator @TheDiskDrive
                      last edited by

                      @TheDiskDrive said in Create UEFI ISO and prepare Surface go deployement.:

                      so how to make a multicast deployment using usb drive ? ( i think is a grub parameter to add on the menu entry ? )

                      Originally this wasn’t possible. I think there was some kernel parameter changes that now make it possible. I have not tested this feature as of now.

                      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!

                      1 Reply Last reply Reply Quote 0
                      • T
                        TheDiskDrive @george1421
                        last edited by

                        @george1421 i have this error even when i created the multicast task.

                        when i create my multicast task i do this:

                        I select the computer group, click basic task and select multicast task and select “check Schedule instant”.

                        then i power on my computer and i have the fatal error unknow request type error after the machine got their IP addresses.

                        i tried another way

                        i’ve tried the deploy task to a 10 tablet group and this is not working i have this following error:

                        Invalid storage group

                        I looked my fog group storage configuration and is was set to 30 max client.

                        1 Reply Last reply Reply Quote 0
                        • T
                          TheDiskDrive
                          last edited by

                          Hi everyone !

                          Okay i think i have found why i can’t use the task “deploy” on a group of computer.

                          noStorageNode.PNG

                          For some reason there no storage node being used.

                          very weird…

                          on a single computer the default storage node is used.

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by

                            @TheDiskDrive Do you use any FOG plugins like “location” or “site”?

                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              TheDiskDrive @Sebastian Roth
                              last edited by

                              @Sebastian-Roth No

                              nofogplugin.PNG

                              1 Reply Last reply Reply Quote 0
                              • S
                                Sebastian Roth Moderator
                                last edited by

                                @TheDiskDrive What does your storage node settings look like? Please post screenshots here.

                                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                1 Reply Last reply Reply Quote 0
                                • T
                                  TheDiskDrive
                                  last edited by

                                  Here the screenshot, i’m using the default storage node.

                                  the only thing i have changed is the Image Path and FTP Path

                                  storagenode.PNG storageNodeConfig.PNG

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Sebastian Roth Moderator
                                    last edited by

                                    @TheDiskDrive Username and Password shouldn’t be empty and definitely are not by default!

                                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      TheDiskDrive
                                      last edited by

                                      i’m using the default username and password, they are removed for the screenshot.

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Sebastian Roth Moderator
                                        last edited by

                                        @TheDiskDrive Re-reading the whole topic I think I have missed an important part. Just can’t keep all the details of all the different posts in my head. So let’s go back a few steps.

                                        Okay i think i have found why i can’t use the task “deploy” on a group of computer.
                                        For some reason there no storage node being used.

                                        I am not sure why but seems like this is normal. I just tried a multicast deploy on my test system and this table column is empty for me as well. I am fairly sure this is not what is causing the issue for you. See what George posted earlier.

                                        @george1421 said in Create UEFI ISO and prepare Surface go deployement.:

                                        Originally this wasn’t possible. I think there was some kernel parameter changes that now make it possible. I have not tested this feature as of now.

                                        The USB boot stuff is not a fully official part of FOG and therefore we might not have noticed that multicast is not working using that. @george1421 would you have the chance to give it a try and see if it fails for you as well. If so I will have a closer look and try to fix it.

                                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                        george1421G T 2 Replies Last reply Reply Quote 0
                                        • george1421G
                                          george1421 Moderator @Sebastian Roth
                                          last edited by

                                          @Sebastian-Roth said in Create UEFI ISO and prepare Surface go deployement.:

                                          The USB boot stuff is not a fully official part of FOG and therefore we might not have noticed that multicast is not working using that. @george1421 would you have the chance to give it a try and see if it fails for you as well.

                                          I think it should be possible since the session name is no longer needed. Getting the session name in grub menu wasn’t possible. That is why it didn’t work before. I can test when I’m back in the office. I’m currently on holiday so I don’t have any tools to test at the moment.

                                          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!

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            TheDiskDrive @Sebastian Roth
                                            last edited by

                                            @Sebastian-Roth said in Create UEFI ISO and prepare Surface go deployement.:

                                            @TheDiskDrive Re-reading the whole topic I think I have missed an important part. Just can’t keep all the details of all the different posts in my head. So let’s go back a few steps.

                                            Okay i think i have found why i can’t use the task “deploy” on a group of computer.
                                            For some reason there no storage node being used.

                                            I am not sure why but seems like this is normal. I just tried a multicast deploy on my test system and this table column is empty for me as well. I am fairly sure this is not what is causing the issue for you. See what George posted earlier.

                                            Is not about multicast deploy but the “Deploy” task, here is my issue

                                            I go to a group of computer then i click on basic task and select deploy task
                                            Deploy_Task.png

                                            here is a list of 10 computer from the group
                                            Group_Task_Deploy.png

                                            When i launch the task and watching task progression ( in task management section) no working node is used but when i create deploy task to ONE computer ( the first computer named GEII) the defaultMember node is used
                                            Working_Node.png

                                            When i’ve installed fog on my debian server i’ve changed the path in the Storage node settings to use my 1 tb virtual disk and moved all the data from the default path to my 1tb drive (/data on /dev/sdb)

                                            DataPath.png

                                            By the way i have deployed all my tablets, deployement took 5 minutes per machine. Now i want to understand where i’m wrong

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

                                            210

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project