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

PXE Boot HP X2 210 (Hybrid tablet Windows 10 Pro)

Scheduled Pinned Locked Moved Solved
Hardware Compatibility
8
157
191.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.
  • G
    george1421 Moderator @Matthieu Jacquart
    last edited by Jan 27, 2016, 2:38 PM

    @Matthieu-Jacquart

    Sorry I was not clear, busy morning here.

    What you need to do is to look at the configuration of the /boot/grub/grub.cfg file on the flash drive. You can edit this on a windows computer or via linux. I’m suspecting that this file is either missing (you skipped a step) or the structure is not what grub expects. If you still can’t get it to work, I have a captured image on my home computer that I can post tonight. That way all you have to do is to write it to a flash drive and there are no other steps that are needed.

    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!

    M 1 Reply Last reply Jan 27, 2016, 2:41 PM Reply Quote 0
    • M
      Matthieu Jacquart @george1421
      last edited by Matthieu Jacquart Jan 27, 2016, 8:41 AM Jan 27, 2016, 2:41 PM

      @george1421 Indeed, there is no grub.cfg in boot/grub…
      27/01/2016 09:33 <DIR> i386-efi
      27/01/2016 09:35 <DIR> locale
      27/01/2016 09:33 <DIR> fonts
      27/01/2016 09:33 <DIR> x86_64-efi
      27/01/2016 09:33 1 024 grubenv
      27/01/2016 09:35 <DIR> i386-pc

      But there’s a grub.efi in EFI/boot folder

      I’m going to home, work day finish for me, I’ll continue tests tomorrow !

      Fog 1.5.9.138
      Debian 11
      Vmware ESXi

      G 1 Reply Last reply Jan 27, 2016, 2:45 PM Reply Quote 1
      • G
        george1421 Moderator @Matthieu Jacquart
        last edited by Jan 27, 2016, 2:45 PM

        @Matthieu-Jacquart OK, I will have something for you in the morning, cheers.

        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
          sarge_212
          last edited by Jan 27, 2016, 3:06 PM

          Just FYI, I had to manually make the grub.cfg file. Running grub-install on an ubuntu box didn’t make the grub.cfg file as expected.

          G 1 Reply Last reply Jan 27, 2016, 3:39 PM Reply Quote 0
          • G
            george1421 Moderator @sarge_212
            last edited by Jan 27, 2016, 3:39 PM

            @sarge_212 said:

            Just FYI, I had to manually make the grub.cfg file. Running grub-install on an ubuntu box didn’t make the grub.cfg file as expected.

            Yes this is expected. The bash script posted here will create the complete image file without having to mess around with running this and editing that.
            https://forums.fogproject.org/topic/6532/usb-boot-target-device-into-fog-debug-os/19
            But it does require having all of the grub2 files downloaded either through yum or apt-get as you would need if you manually executed the files. Understand this process is still under development but it works for me, as they say.

            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!

            M 1 Reply Last reply Jan 29, 2016, 7:23 AM Reply Quote 0
            • M
              Matthieu Jacquart @george1421
              last edited by Jan 29, 2016, 7:23 AM

              @george1421 Hi George
              Not sure to understand, you will sent me the grub.cfg file, or you want me to test your new script ?
              Thanks
              Matthieu

              Fog 1.5.9.138
              Debian 11
              Vmware ESXi

              1 Reply Last reply Reply Quote 1
              • S
                Sebastian Roth Moderator
                last edited by Jan 29, 2016, 8:53 AM

                I think George meant you better create grub.cfg config yourself and put it in /boot/grub/grub.cfg
                Here is his example config:

                set timeout=10
                set default=0
                insmod all_video
                
                menuentry "FOG 32-bit Debug Kernel" {
                 linux  /boot/bzImage32 loglevel=7 init=/sbin/init root=/dev/ram0 rw ramdisk_size=127000 pcie_aspm=off consoleblank=0 isdebug=yes
                 initrd /boot/init_32.xz
                }
                
                menuentry "FOG 64-bit Debug Kernel" {
                 linux  /boot/bzImage loglevel=7 init=/sbin/init root=/dev/ram0 rw ramdisk_size=127000 pcie_aspm=off consoleblank=0 isdebug=yes
                 initrd /boot/init.xz
                }
                

                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

                M 1 Reply Last reply Jan 29, 2016, 9:08 AM Reply Quote 2
                • M
                  Matthieu Jacquart @Sebastian Roth
                  last edited by Matthieu Jacquart Jan 29, 2016, 4:57 AM Jan 29, 2016, 9:08 AM

                  @Sebastian-Roth
                  Ok thanks, that’s good.
                  Here it is :
                  0_1454065046468_1454058517228-wp_20160129_10_04_38_pro.jpg

                  Fog 1.5.9.138
                  Debian 11
                  Vmware ESXi

                  G 1 Reply Last reply Jan 29, 2016, 10:26 AM Reply Quote 1
                  • G
                    george1421 Moderator @Matthieu Jacquart
                    last edited by Jan 29, 2016, 10:26 AM

                    @Matthieu-Jacquart Success!! this is good news at least the FOG debug OS will run on this tablet.

                    Please boot this tablet again using this flash drive. Make sure the usb etherent adapter is plugged in and connected to your network. When you get this screen in your picture, press enter a few time. This should give you a command prompt. Then key in ip addr show Hopefully it should show you a correct IP address for the usb ethernet adapter. If it does then the FOG debug OS sees that ethernet adapter and it can communicate with the network. If you can get to this point where the fog kernel is running and can talk on the network you have passed part two requirement. Since you are getting the fog menu you have already passed part one of the requirement to pxe boot.

                    If this is successful we need to identify why the hand off between ipxe (not created by the fog project) and the fog kernel is giving you a blank screen. You might want to do a refresh (update) of the fog environment since this post is a few days old. There has been many updates to fog and I believe the fog kernel too. It may now work with the updates.

                    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!

                    M 1 Reply Last reply Jan 29, 2016, 10:56 AM Reply Quote 0
                    • M
                      Matthieu Jacquart @george1421
                      last edited by Jan 29, 2016, 10:56 AM

                      @george1421 ok, command “ip addr show” gives me result for usb ethernet adapter :

                      0_1454064957883_WP_20160129_11_48_44_Pro.jpg

                      I updated my fog server each day, including this morning, but no change for blank screen…

                      Fog 1.5.9.138
                      Debian 11
                      Vmware ESXi

                      G 1 Reply Last reply Jan 29, 2016, 11:01 AM Reply Quote 1
                      • G
                        george1421 Moderator @Matthieu Jacquart
                        last edited by Jan 29, 2016, 11:01 AM

                        @Matthieu-Jacquart OK the fog kernel has passed with success. Now we need to identify why the ipxe handoff to the fog kernel is giving us a black screen. At this point I don’t have an answer. When I get to the office, I will try to see if I can find a system that does this.

                        @Sebastian-Roth Do you know the git version of ipxe that is currently deployed with the FOG trunk? I just checked the rom-o-matic and it has version d0bfd (which is different than yesterday morning)

                        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 Jan 29, 2016, 11:03 AM

                          Great stuff. So we know the kernel is fine. Funny that this is true for most of those new devices but we are still not sure why hand off from iPXE to the kernel does not work nicely.

                          Please try as George suggested to see if our client kernel is able to see and use your USB NIC. But if it does not, then this is a different issue as the initial black screen after the FOG menu. Not sure which one we should address first. Well let’s see. Hopefully you see if getting an IP.

                          So if you get some time you might want to test this ipxe.efi file with debugging for kernel image loading enabled (DEBUG=image_cmd). There might be lots of messages (in colors) scrolling past. Or maybe nothing. We will see how this behaves on your device. Please take a picture or video if you can (readable test is important!).

                          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

                          M 1 Reply Last reply Jan 29, 2016, 11:12 AM Reply Quote 1
                          • M
                            Matthieu Jacquart @Sebastian Roth
                            last edited by Jan 29, 2016, 11:12 AM

                            @Sebastian-Roth
                            What do you mean with “Please try as George suggested to see if our client kernel is able to see and use your USB NIC” ?

                            I’ve just renamed 1454065283074-ipxe.efi as ipxe.efi and put it in tftpboot, check “FOG_KERNEL_DEBUG” in fog settings, but no difference, always blank screen after loding kernel.bz and init.xz…

                            Fog 1.5.9.138
                            Debian 11
                            Vmware ESXi

                            1 Reply Last reply Reply Quote 1
                            • S
                              Sebastian Roth Moderator
                              last edited by Sebastian Roth Jan 29, 2016, 6:16 AM Jan 29, 2016, 12:14 PM

                              @Matthieu-Jacquart Sorry, didn’t see you posted a picture already. So forget what I said about George’s suggestion. Network looks good! 🙂
                              Too bad that we don’t see anything even with his debug enabled ipxe.efi binary. Well then lets try another way. Here is a different ipxe.efi file which brings you to the iPXE shell. Then try the following commands. Hope I got this all right. Sorry for all the typing involved but hopefully we might see some kind hint where things go wrong.

                              iPXE shell> dhcp
                              ...
                              iPXE shell> kernel http://${next-server}/fog/service/ipxe/bzImage loglevel=7 initrd=init.xz init=/sbin/init root=/dev/ram0 rw ramdisk_size=127000 pcie_aspm=off consoleblank=0 isdebug=yes
                              ...
                              iPXE shell> imgfetch http://${next-server}/fog/service/ipxe/init.xz
                              ...
                              iPXE shell> imgstat
                              

                              Question is, what do you see after imgstat? Please take a picture. Then you can try booting it using the command boot.

                              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

                              M 2 Replies Last reply Jan 29, 2016, 12:18 PM Reply Quote 1
                              • M
                                Matthieu Jacquart @Sebastian Roth
                                last edited by Jan 29, 2016, 12:18 PM

                                @Sebastian-Roth ok ok, let’s go… but which ipxe.efi file I have to use ?

                                Fog 1.5.9.138
                                Debian 11
                                Vmware ESXi

                                1 Reply Last reply Reply Quote 1
                                • S
                                  Sebastian Roth Moderator
                                  last edited by Sebastian Roth Jan 29, 2016, 9:19 AM Jan 29, 2016, 3:19 PM

                                  @Matthieu-Jacquart Sorry, forgot to upload it! My fault. Here it is.

                                  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

                                  M 1 Reply Last reply Jan 29, 2016, 4:03 PM Reply Quote 1
                                  • M
                                    Matthieu Jacquart @Sebastian Roth
                                    last edited by Jan 29, 2016, 4:03 PM

                                    @Sebastian-Roth ok, I’m at home now, I’ll test this on monday 😉

                                    Fog 1.5.9.138
                                    Debian 11
                                    Vmware ESXi

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      Matthieu Jacquart @Sebastian Roth
                                      last edited by Feb 1, 2016, 8:11 AM

                                      @Sebastian-Roth Ok, here it is :

                                      0_1454314243528_WP_20160201_08_39_36_Pro.jpg

                                      When I launch boot command, nothing happens, it stays on this screen

                                      Fog 1.5.9.138
                                      Debian 11
                                      Vmware ESXi

                                      G 1 Reply Last reply Feb 1, 2016, 11:06 AM Reply Quote 1
                                      • G
                                        george1421 Moderator @Matthieu Jacquart
                                        last edited by george1421 Feb 1, 2016, 5:07 AM Feb 1, 2016, 11:06 AM

                                        @Matthieu-Jacquart While I don’t have an answer for you, this picture is interesting. The client requests the bzImage file and replies with file not found, but then a bit latter it does find the file. It does the same thing with the init. Eventually it does get down to boot and then stops.

                                        It would be interesting to know what the apache logs look like at the same moments you get the above messages. I would inspect the apache error and access log. From the web server side does everything look normal where there is just three access requests for bzImage and then a few for the init? Or are there error messages logged in the apache error log?

                                        This picture makes me ask more questions than it provides an aswer:
                                        The question I have is the tablet not waiting long enough for the web server to respond with the file? Is there an error on the first few attempts and then it works? Is the web server slow to respond? Is your network connection faulty between the tablet and the web server?

                                        I also noted a bug in the image request (not related to your issue). The last 2 parameters are missing a space between “consoleblank=0isdebug=yes” should be “consoleblank=0 isdebug=yes”

                                        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!

                                        M 1 Reply Last reply Feb 1, 2016, 11:40 AM Reply Quote 0
                                        • M
                                          Matthieu Jacquart @george1421
                                          last edited by Feb 1, 2016, 11:40 AM

                                          @george1421 All error are my mistakes :

                                          • I forgot blanck between “consoleblank=0 isdebug=yes”
                                          • for replies “file not found”, I’ve just make error when I wrote the command. When it was weel written, it works immediately

                                          I’m going to reproduce command without making mistakes 😉

                                          Fog 1.5.9.138
                                          Debian 11
                                          Vmware ESXi

                                          1 Reply Last reply Reply Quote 1
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 6
                                          • 7
                                          • 8
                                          • 3 / 8
                                          3 / 8
                                          • First post
                                            46/157
                                            Last post

                                          201

                                          Online

                                          12.1k

                                          Users

                                          17.3k

                                          Topics

                                          155.4k

                                          Posts
                                          Copyright © 2012-2024 FOG Project