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

    Surface Pro 4 won't get to registration menu

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    6
    169
    183.3k
    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.
    • S
      Sebastian Roth Moderator
      last edited by

      @Tom-Elliott @sarge_212 Reading through most of the posts here again I saw that I’ve kind of lost track where we are with this right now. So I try to recall things. Please correct me where needed!

      We started off with trying to boot and capture a Surface 4 on FOG 1.2.0. Updating iPXE files in /tftpboot and the kernel (via web interface from 3.19.3 to 4.1.2) got the kernel booting but failed with the well known kernel panic “Unable to mount root fs on unknown-block(1,0)”. After a lot of forth and back trying to boot the kernel from USB and things like that it turned out (at least from my point of view) that we were only missing the kernel parameters init=/sbin/init initrd=init.xz. Wonder if they were lost when editing the boot menu php file or if FOG 1.2.0 is missing those?

      Somewhere along the way the OP also updated kernel and init files by hand (wget) and should be using fairly new (maybe 4.3.0) files right now. So web interface is still 1.2.0 but kernel and init are pretty much trunk - but not the very latest.

      @sarge_212 You might want to update those kernel and init files to the very latest version because Tom has fixed a couple of things in the time since you last updated.

      cd /var/www/fog/service/ipxe
      mkdir bak2
      mv bzImage* init*.xz *.sha512 bak2
      wget -O kernels.sha512 https://fogproject.org/kernels/index.php
      wget https://fogproject.org/kernels/bzImage
      wget https://fogproject.org/kernels/bzImage32
      sha512sum -c kernels.sha512
      wget -O inits.sha512 https://fogproject.org/inits/index.php
      wget https://fogproject.org/inits/init.xz
      wget https://fogproject.org/inits/init_32.xz
      sha512sum -c inits.sha512
      

      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

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

        @Sebastian-Roth He is, to my knowledge, using the original 1.2.0 init’s. He has tried using the more recent versions of the init’s, but there is a lot of changes and I’m not 100% sure that it would work on 1.2.0. The init=/sbin/init and initrd=init.xz parameters were only introduced (granted a while ago for us) in the trunk versions and was not present in any regard on 1.2.0. This can be relatively easily fixed though but would required editing the db taskTypes table to add that for each task type as well as editing the boot menu options to correct for it.

        It’s because of this, however, that resize uploads are failing on Windows 10. 1.2.0 still used the assumptive code and only allowed an upload of a 3 partition layout. 4 partitions was not a viable option during that layout style.

        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

        sarge_212S 2 Replies Last reply Reply Quote 0
        • sarge_212S
          sarge_212 @Tom Elliott
          last edited by

          @Tom-Elliott I’ll try updating the kernel and inits via wget today and see where that gets me. You are correct in your assumptions of where we are at.

          1 Reply Last reply Reply Quote 0
          • sarge_212S
            sarge_212 @Tom Elliott
            last edited by

            @Tom-Elliott Here is the output from the surface on trunk:

            0_1455229180223_IMG_1852.JPG

            (sorry about the glare!)

            Also, we’re testing this on a desktop too, and it seems to be working…eg its on the step of saving original partition table and its been there a few minutes.

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

              You mean a full FOG trunk install or just the init’s being updated to the latest? Really confusing anyway. I think I’ve seen this in the last days already but why would the newer kernel not recognize your NIC??

              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

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

                @Sebastian-Roth I am trying to see the same thing. This is a separate and FULL fog server \0/. At any rate, I don’t know, yet, if it’s kernel doesn’t recognize the nic, or if it’s related to the nic being usb.

                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

                sarge_212S 2 Replies Last reply Reply Quote 0
                • sarge_212S
                  sarge_212 @Tom Elliott
                  last edited by

                  @Tom-Elliott Hey Tom, good morning! I tried to do the debug push to the surface and it is not able to grab that. I’ll try today on the USB-ethernet adapter. Thanks!

                  1 Reply Last reply Reply Quote 0
                  • sarge_212S
                    sarge_212 @Tom Elliott
                    last edited by

                    @Tom-Elliott So, we had to order some USB -ethernet adapters. We’re waiting on those. On the USB dock, I get this when trying to do debug push:

                    0_1455738389105_debug.png

                    Is this something with the inits? Let me know, thanks!

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

                      @sarge_212 Don’t use Advanced -> Debug to do a debug task.

                      Schedule your task like you normally would, but before confirming check the “Schedule as debug” checkbox.

                      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

                      sarge_212S 1 Reply Last reply Reply Quote 0
                      • sarge_212S
                        sarge_212 @Tom Elliott
                        last edited by

                        @Tom-Elliott Okay, I’m in debug mode. What information will help? I’m using the USB dock. I did an ip addr show and on eth0 I’m not seeing inet address.

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

                          @sarge_212 said:

                          @Tom-Elliott Okay, I’m in debug mode. What information will help? I’m using the USB dock. I did an ip addr show and on eth0 I’m not seeing inet address.

                          I’ve been kind of loosely following this thread. So you are booted into debug mode. How many ethernet adapters do you see when you do an ip link show?

                          Do you have the usb ethernet adapter installed?

                          Do you only see eth0 and can you confirm by the mac address this is the usb ethernet adapter or is this the wifi ethernet adapter?

                          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!

                          sarge_212S 1 Reply Last reply Reply Quote 1
                          • sarge_212S
                            sarge_212 @george1421
                            last edited by

                            @george1421 This is the Surface USB dock I’m using right now as I am waiting for some usb ethernet adapters from amazon. My old one broke… The eth0 is the usb one, that is the one that I’ve registered in the webGUI. I’ll have to see if its any different once those usb adapters get in.

                            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                            • Wayne WorkmanW
                              Wayne Workman @sarge_212
                              last edited by

                              @sarge_212 Please keep us informed on exactly the USB adapter vendor and model and version number. This is important stuff and we don’t have enough info about it.

                              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!
                              Daily Clean Installation Results:
                              https://fogtesting.fogproject.us/
                              FOG Reporting:
                              https://fog-external-reporting-results.fogproject.us/

                              sarge_212S 1 Reply Last reply Reply Quote 0
                              • sarge_212S
                                sarge_212 @Wayne Workman
                                last edited by

                                @Wayne-Workman Thanks Wayne. We just ordered an Amazon Basics Ethernet 2.0 USB adapter, the one found here:

                                http://www.amazon.com/AmazonBasics-USB-Ethernet-Network-Adapter/dp/B00M77HLII/ref=sr_1_4?ie=UTF8&qid=1455902388&sr=8-4&keywords=ethernet+usb+2.0+adapter

                                It works in the OS, just not when trying to PXE boot. The interesting thing is, the Surface dock, when connected via that, I do get it to PXE boot.

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

                                  @sarge_212 said:

                                  It works in the OS, just not when trying to PXE boot. The interesting thing is, the Surface dock, when connected via that, I do get it to PXE boot.

                                  I’ve been loosely following this thread, so this may have already been answered, but why not just add the surface dock nic to the FOG kernel?

                                  If the usb nic you are purchasing does not work for pxe booting, but does work in FOS, then you can just usb boot the surface into the fog menu. (It would sound logical to $Donate$ to the FOG project and request that the nic for the surface pro 4 be added to the list of supported devices. That way you won’t have to mess with it as you add to your fleet of systems.

                                  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!

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

                                    @george1421 The NIC is already in the kernel, and I suspect the same for all of the nic’s that have been tested.

                                    However, i think it’s the has_usb_nic thing that needs to be retested to see if we can get things working again.

                                    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

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

                                      @sarge_212 Well then, could you please add has_usb_nic=1 to the host’s kernel parameter and try PXE booting with the dock again?

                                      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

                                      sarge_212S 2 Replies Last reply Reply Quote 2
                                      • sarge_212S
                                        sarge_212 @Sebastian Roth
                                        last edited by

                                        @Sebastian-Roth Yes of course. I didn’t know there was such a parameter. I’ll test now. Thanks FOG Team!

                                        1 Reply Last reply Reply Quote 0
                                        • sarge_212S
                                          sarge_212 @Sebastian Roth
                                          last edited by

                                          @Sebastian-Roth UPDATE:

                                          So, I successfully pxe booted off the surface dock. Then it prompted for a USB adatper, so I unplugged the ethernet cable from the surface dock and plugged in the USB>ethernet adapter and it started to capture the image. However, I have the image set to single disk - Resizable and it started to do a whole RAW image copy. of 254G. Is there anyway to make the image smaller? I am going to try multiple partition single disk now. However, on the raw transfer, it appeared to hang after about 3.1G of transfer. Let me know your thoughts.

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

                                            @sarge_212 Why would it do RAW? I have no idea. Could you please post a picture of the messages on screen just before partclone (that blue “capture” screen) comes up?

                                            FOG should be able to read the data in your partitions if they are FAT, NTFS, EXT2/3/4 and many other formats - in NON RAW mode!

                                            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

                                            sarge_212S 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 8 / 9
                                            • First post
                                              Last post

                                            225

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project