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

    Fog does not run on MSI

    Scheduled Pinned Locked Moved
    Hardware Compatibility
    4
    16
    485
    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
      anube
      last edited by anube

      Hello people. Please help me, I can’t run the exe on MSI Cube 12M. As a pxe FOG server. By DHCP, the filename snponly.efi is given (I tried snp.efi, realtek.efi, eps.efi). When loading the menu, “iPXE initializing device…” is displayed and so it stands, that is, it does not reach the FOG menu. Please help me figure it out. UEFI computer, network adapter “Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)”

      JJ FullmerJ george1421G 2 Replies Last reply Reply Quote 0
      • JJ FullmerJ
        JJ Fullmer Testers @anube
        last edited by

        @anube Have you tried ipxe.efi as the boot file?
        What version of FOG are you running?

        Have you tried the FogApi powershell module? It's pretty cool IMHO
        https://github.com/darksidemilk/FogApi
        https://fogapi.readthedocs.io/en/latest/
        https://www.powershellgallery.com/packages/FogApi
        https://forums.fogproject.org/topic/12026/powershell-api-module

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

          @anube If this is a new model make sure the firmware is updated. If ipxe never completes initialization then something in the firmware is hanging it up.

          We may also consider having you recompile iPXE into the latest version depending on how old of a FOG install you have.

          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!

          A 1 Reply Last reply Reply Quote 0
          • A
            anube @george1421
            last edited by

            @george1421 FOG version 1.5.10.1615 version.
            bzImage Version: 6.6.49
            bzImage32 Version: 6.6.49
            arm_Image Version: 6.6.49

            1 Reply Last reply Reply Quote 1
            • A
              anube @JJ Fullmer
              last edited by

              @JJ-Fullmer The file ipxe.exe I also tried, unsuccessfully

              Tom ElliottT 1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @anube
                last edited by

                @anube Sorry for the clarification needed, but ipxe.exe doesn’t exist was this a typo and you meant you tried ipxe.efi or did you try ipxe.exe?

                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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                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

                A 1 Reply Last reply Reply Quote 0
                • A
                  anube @Tom Elliott
                  last edited by

                  @Tom-Elliott Sorry, a typo. Of course, we are talking about ipxe.efi.

                  JJ FullmerJ 1 Reply Last reply Reply Quote 0
                  • JJ FullmerJ
                    JJ Fullmer Testers @anube
                    last edited by

                    @anube Is the bios/uefi firmware up to date on the computer?
                    Has this device worked before? Or similar MSI devices?
                    Do you have a pxe capable usb adapter you could try?

                    Have you tried the FogApi powershell module? It's pretty cool IMHO
                    https://github.com/darksidemilk/FogApi
                    https://fogapi.readthedocs.io/en/latest/
                    https://www.powershellgallery.com/packages/FogApi
                    https://forums.fogproject.org/topic/12026/powershell-api-module

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      anube @JJ Fullmer
                      last edited by

                      @JJ-Fullmer The UEFI firmware has been updated. FOG runs on other devices, it is on this MSICube 12M that it does not work. Unfortunately, there is no USB adapter.

                      JJ FullmerJ 1 Reply Last reply Reply Quote 0
                      • JJ FullmerJ
                        JJ Fullmer Testers @anube
                        last edited by

                        @anube Have you tried the 10sec-delay versions of the ipxe files?

                        Have you tried the FogApi powershell module? It's pretty cool IMHO
                        https://github.com/darksidemilk/FogApi
                        https://fogapi.readthedocs.io/en/latest/
                        https://www.powershellgallery.com/packages/FogApi
                        https://forums.fogproject.org/topic/12026/powershell-api-module

                        Tom ElliottT 1 Reply Last reply Reply Quote 0
                        • Tom ElliottT
                          Tom Elliott @JJ Fullmer
                          last edited by

                          @JJ-Fullmer This sounds like what we might see when secure boot is enabled? I could be wrong though.

                          Simlarly, ipxe.efi wouldn’t be the only file to try. ipxe.efi would be the best one to start with as it generally encompasses a series of different ethernet drivers, but possibly snponly.efi could be better?

                          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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                          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

                          A JJ FullmerJ 2 Replies Last reply Reply Quote 0
                          • A
                            anube @Tom Elliott
                            last edited by

                            @Tom-Elliott secure boot is disabled. I already wrote that I tried all the *.efi files from the /tftpboot directory

                            1 Reply Last reply Reply Quote 0
                            • JJ FullmerJ
                              JJ Fullmer Testers @Tom Elliott
                              last edited by

                              @Tom-Elliott It sounded like he tried snponly and others in an earlier post.
                              The initializing devices happens after the efi file is downloaded and booted to, secure boot would stop it from booting because it’s the efi file that isn’t signed.
                              I’ve had some luck with the delay based ipxe files on troubleshome devices like this, though there also could just be some driver missing from the ipxe build that isn’t initializing for this device. I feel like it doesn’t boot to pxe at all if the ethernet adapter isn’t supported.
                              @anube The other thing I’ve had luck with is booting directly to the ipxe.efi file. But on a new device that requires either the device to have a built-in uefi shell or you

                              • setup 2 usbs
                                • 1 a refind usb boot disk
                                • 2 another usb where you have the efi boot files from /tftpboot (I usually just grab the ones I know work but you could just grab all of /tftpboot via winscp/filezilla/or some other ftp client off the fog server).
                                  • I would also go here https://www.realtek.com/Download/List?cate_id=584 and download the UEFI UNDI driver. Extract that and grab the x64 RtkUndiDxe.efi file and throw that on the usb too.
                              • Then you boot the refind usb,
                              • choose the uefi shell option
                              • find the usb with the tftpboot folder and efi driver.
                                • To find it in the uefi shell you switch to each disk like fs0: then enter, then run ls to see if it’s the right disk, then fs1: fs2: etc.
                              • Once you find it you can run load RtkUndiDxe.efi hit enter so the latest uefi driver for that adapter is loaded.
                              • Then find the efi boot file you want to use/try a bunch of them. i.e. /tftpboot/ipxe.efi simply entering the path will boot to the efi file and it will attempt to then boot to the fog server.

                              If that does the trick you at least have a workaround and a simpler way to find which efi boot file works for that device. It may be possible to load the updated efi driver into the firmware, but that varies by device and I wouldn’t suggest it unless there’s an official way of doing it provided by MSI. It may also work with an older build of ipxe or a future one or there may be something that can be added to the ipxe build. You can also find ways to make this methodology more automated.

                              Have you tried the FogApi powershell module? It's pretty cool IMHO
                              https://github.com/darksidemilk/FogApi
                              https://fogapi.readthedocs.io/en/latest/
                              https://www.powershellgallery.com/packages/FogApi
                              https://forums.fogproject.org/topic/12026/powershell-api-module

                              A 1 Reply Last reply Reply Quote 0
                              • A
                                anube @JJ Fullmer
                                last edited by anube

                                @JJ-Fullmer I already have a running PXE server and I’m transferring a file in it syslinux.efi and it works. I want to switch to FOG. I have already tried all of the above, downloading via usb is unsuccessful. But it does not work to update the realtek uefi undi driver, with the command “load RtkUndiDxe.efi” it loads the driver, but there is a question mark in the drivers. I tried to add a new driver to the startup, after rebooting, the old driver is loaded. I’ll send the screenshots.(2059 version is old driver, 2067 is new driver) Maybe someone knows how to remove the old driver?!
                                Desktop Board Information:
                                MSI MS-B0A81.
                                photo_2024-09-23_14-28-02.jpg photo_2024-09-23_14-28-06.jpg

                                Tom ElliottT 1 Reply Last reply Reply Quote 0
                                • Tom ElliottT
                                  Tom Elliott @anube
                                  last edited by Tom Elliott

                                  @anube Can you please clearly indicate what you’re doing?

                                  I mean, you say you cannot boot MSI Cube 12M, or use it as a FOG Server?

                                  The messaging seems to be lost and at no point have you shown us anythign that’s showing this device cannot boot to FOG (assuming you have a FOG server somewhere?) and your first message says ? I can't run the exe on MSI Cube 12M. As a pxe FOG server.

                                  It’s unclear what you’re actually attempting to do and what you’ve actually attempted to do. Basically, I believe, at this point, you’re just putting the .efi files on the device expecting it to boot?

                                  While you did provide the kernel versions we install, it doesn’t seem like you’re actually configuring a DHCP server to set the Option 66 to the FOG Server’s IP address and Option 67 to the boot file (whether static or dynamic adjusted)

                                  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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                  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

                                  A 1 Reply Last reply Reply Quote 0
                                  • A
                                    anube @Tom Elliott
                                    last edited by anube

                                    @Tom-Elliott The stack is as follows: There is a Debian 11 virtual system with a FOG server deployed on it. There is a DHCP server (settings in the screenshot) . There is an MSI Cube 5 12M client from which you need to make an image.
                                    dhcp.jpg
                                    next-server is ip address FOG server

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

                                    186

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project