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

    UEFI-PXE-Boot (Asus t100 Tablet)

    Scheduled Pinned Locked Moved
    FOG Problems
    9
    83
    47.6k
    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.
    • george1421G
      george1421 Moderator
      last edited by george1421

      Let me preface this with, this is not a FOG issue directly. It is either a uefi firmware issue or an iPXE issue not supporting the hardware.

      We have seen some pretty shoddy uefi pxe booting firmware on some vendor’s systems (I’m not implying this is the case here either). What I want to try with these ASUS T100 systems is this: We will create a iPXE usb boot drive to see if we can bypass the on-board firmware pxe boot. Hopefully we can get the ASUS T100’s into the fog menu. If the fog menu appears then we have a path forward for imaging these systems. If this doesn’t work then there is no reason to continue testing pxe boot kernels. Also, make sure you have the latest firmware install on these tablets since this issue is a year old. With any luck ASUS could have fixed the issue in the interim.

      I want you to do this for this test:

      1. Acquire a usb flash drive that is at least 4MB in size (yes I said only 4MB, larger will work but we only need 4MB of space).
      2. Format that usb flash drive - fat32. You can do this on a windows box or a linux box. The format must be fat32.
      3. On that newly formatted flash drive create the following path \EFI\BOOT (case should not be important, but use all caps as I posted).
      4. Now you will need 2 of the iPXE files from the fog server.
        Copy /tftpboot/ipxe.efi to \EFI\BOOT as BOOTX64.EFI
        Copy /tftpboot/i386-efi/ipxe.efi to \EFI\BOOT as BOOTIA32.EFI
      5. Eject the usb flash drive and then attempt to boot this ASUS device from the usb drive using the device’s boot menu.

      If the ipxe.efi files don’t work, please repeat the process above except use ipxe7156.efi from the fog server instead. For both the x64 and x86 files.

      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!

      K 1 Reply Last reply Reply Quote 1
      • K
        K.Hays @george1421
        last edited by K.Hays

        @george1421 said in UEFI-PXE-Boot (Asus t100 Tablet):

        \EFI\BOOT

        Yep, that worked to get to the menu with the ipxe.efi file. So then what next?

        @JJ-Fullmer Also i had not tried your guide yet, i was wondering if there was an option other than that (since it had gotten further) but it seems like that is not the case 😛

        george1421G 1 Reply Last reply Reply Quote 0
        • george1421G
          george1421 Moderator @K.Hays
          last edited by

          @K.Hays Whelp, that means that iPXE kernel is OK and it boots into fog’s iPXE menu. So the issue is the hand-off between the onboard PXE rom and the iPXE kernel. In a nutshell this is a firmware issue with the hardware.

          So what can you do?

          1. Confirm that these tablets have the latest firmware installed and test again.
          2. Contact the vendor and report this firmware bug.
          3. Decide to move forward with usb booting and imaging that way. The iPXE kernel on the usb flash drive is taking over the responsibility to boot into the FOG kernel, we are just bypassing the faulty uefi firmware.

          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!

          K 2 Replies Last reply Reply Quote 0
          • K
            K.Hays @george1421
            last edited by

            @george1421 So i was able to get to the fog menu with the assistance of the flash drive, but from there anything i try to do with it fails. Also the firmware is up to date.

            george1421G 1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @K.Hays
              last edited by

              @K.Hays For example if you pick hardware compatibility test what error do you get? Post a clear picture taken with a mobile phone please.

              Did you also try to use the ipxe7<something>.efi one?

              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!

              K 1 Reply Last reply Reply Quote 0
              • K
                K.Hays @george1421
                last edited by

                @george1421 more in depth, what happens is: No matter what i click it gets to the point where it says “Init.xs… ok” Then it jumps back to the main fog screen, but plain black background and white text. There is also no highlight showing me what i hover over, and after a while of sitting at that screen it says

                http://x.x.x.x/fog/service/ipxe/refind.conf... ok
                http://x.x.x.x/fog/service/ipxe/refind.efi... ok
                Could not boot: Error ox7f048283 (http://ipxe.org/7f048283)
                Could not boot: Error ox7f048283 (http://ipxe.org/7f048283)
                Chainloading failed. hit 's' for the iPXE shell: reboot in 10 seconds
                
                george1421G 1 Reply Last reply Reply Quote 0
                • K
                  K.Hays @george1421
                  last edited by

                  @george1421 I did use both pxe files

                  george1421G 2 Replies Last reply Reply Quote 0
                  • george1421G
                    george1421 Moderator @K.Hays
                    last edited by

                    @K.Hays Can you try the ipxe7156.efi file in place of ipxe.efi (which you renamed on the flash drive). What you are seeing now is the hand off between iPXE and FOG blowing up just like between the PXE rom and iPXE.

                    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
                    • george1421G
                      george1421 Moderator @K.Hays
                      last edited by

                      @K.Hays The refind error is related to when the fog menu exits out after no selection is made. In efi mode it uses refind to locate the boot medium.

                      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!

                      K 1 Reply Last reply Reply Quote 0
                      • K
                        K.Hays @george1421
                        last edited by

                        @george1421 That sounds like no good. What’s available for me to try next?

                        george1421G 1 Reply Last reply Reply Quote 0
                        • george1421G
                          george1421 Moderator @K.Hays
                          last edited by

                          @K.Hays said in UEFI-PXE-Boot (Asus t100 Tablet):

                          @george1421 I did use both pxe files

                          Well that is disappointing…

                          OK then we move on to phase 3 usb booting the FOS engine directly. You will loose the tight integration between FOG and FOS but it will work.
                          https://forums.fogproject.org/topic/7727/building-usb-booting-fos-image

                          (look at the fog IM talk bubble in the forum tool tray)

                          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
                          • george1421G
                            george1421 Moderator @K.Hays
                            last edited by

                            @K.Hays Now with FOS booting off from the usb drive, you MUST schedule a capture or deploy on the FOG server BEFORE you boot the target computer into FOS. If you don’t you will get a strange message about “type not being defined” or something similar.

                            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 2
                            • K
                              K.Hays
                              last edited by

                              @george1421 This worked! Thanks a bunch, this is going to cut down maintenance time on these tablets immensely. Also thanks to everyone who took the time to look into this!

                              The solution was to boot directly to the FOS engine using this guide:
                              https://forums.fogproject.org/topic/7727/building-usb-booting-fos-image/8

                              It did still take a usb hub, correct Ethernet adapters, and a flash drive but that is perfectly fine.

                              1 Reply Last reply Reply Quote 1
                              • K
                                K.Hays
                                last edited by

                                Also as a side not, the only Ethernet to usb adapters that worked were usb 2.0 10/100. Specifically the “Cable Matters USB 2.0 to 10/100 Fast Ethernet Network Adapter” and the “ASUS Network Adapter for Transformer Pad” (model number: 90-XB3900CA00040-). I tried three others that were usb 3.0, gig adapters and they did not work for whatever reason.

                                george1421G 1 Reply Last reply Reply Quote 0
                                • george1421G
                                  george1421 Moderator @K.Hays
                                  last edited by george1421

                                  @K.Hays When booting into FOS this way we only need to ensure that the FOS kernel is updated to support new hardware.

                                  So as the developers release new version of the FOS engine all you need to do is download these files and move them to the previously created usb flash drive into the boot folder replacing the existing files.

                                  https://fogproject.org/inits/init.xz
                                  https://fogproject.org/inits/init_32.xz
                                  https://fogproject.org/kernels/bzImage
                                  https://fogproject.org/kernels/bzImage32
                                  

                                  In regards to the usb network adapters. When you pxe boot uefi devices you MUST use network adapters recommended by the manufacturer to support pxe booting. When you usb boot into FOS you will have better luck with older USB 2.0 network adapters since those are most likely supported by the linux developers.

                                  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
                                  • 1
                                  • 2
                                  • 3
                                  • 4
                                  • 5
                                  • 4 / 5
                                  • First post
                                    Last post

                                  216

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project