Surface Go Imaging



  • Good afternoon!

    I’m trying to image 10 Surface Go’s, hopefully with my existing UEFI image.

    I’m using a Microsoft Surface Dock, I’ve configured the BIOS to make sure I can boot to the dock, I’m able to boot to FOG and get to the menu. When I try to register the Surface with FOG, I get this error:

    0_1541701853773_IMG_0499.jpg

    Not exactly sure what all this means (other than something isn’t working).

    If I try to skip the registration, and just push the image, FOG tries, but it seems to hang forever at erasing the current MBR/GPT table and never goes further.

    10 isn’t a huge number, and I can do these by hand if needed, but I have a feeling I’m going to see a lot more of these Surfaces soon, so any help or suggestions would be appreciated.

    Thanks!



  • @Sebastian-Roth I managed to cause a different issue troubleshooting, and had to rollback then update my server. I’ll probably make a separate thread later. Thank you though!


  • Developer

    @Aysientor In most cases the “exact same issue” is still a bit different. Please provide your own information here. Screenshot of the exact error you see and you might want to check the apache and PHP logs as I suggested to the other poster months ago.



  • Not sure if I should make a new post for this, but i’m having this exact same issue trying to image Surface Gos (currently running FOG 1.5.5.1, and am able to image any other PC).

    I was wondering if the ever got resolved?



  • @Tom-Elliott

    Our DHCP is done by Windows Server. Interestingly, other machines can get to FOG, and I can image them, but not the surfaces.


  • Developer

    @Vanlue-IT-Guy said in Surface Go Imaging:

    Here is the picture you requested:

    As I guessed, different error. It’s kind of strange that the Surfaces seem to hang at different stages. Mostly seems related to not being able to access the FOG web server. You might want to check the apache error logs (see my signature) as suggested earlier! Possibly it’s just a lot of clients in your network causing random failures?!?


  • Senior Developer

    @Vanlue-IT-Guy So the IP address your machine is getting is 172.18.253.11, the IP address of your FOG server is 172.17.2.54.

    As far as I can tell, you have a Class B network setup? (Subnet of 255.255.0.0) What’s handing out your DHCP information? Based on what I can tell, the machine simply cannot reach the FOG Server after it gets its IP information.



  • @Sebastian-Roth

    Here is the picture you requested:

    0_1542117442694_IMG_0512.jpg

    Hope it helps!


  • Developer

    @Vanlue-IT-Guy said in Surface Go Imaging:

    I’m unable to run a compatibility test, as I get a similar error.

    Please take a picture and post here again. I am sure the error is different and might sched a light on what’s wrong.

    As well please run the curl command as suggested earlier: curl -Lks --data "mac=aa:bb:cc:dd:ee:ff" http://172.17.2.54/fog/service/man.hostexists.php and if you don’t have a linux command shell available you can at least open the URL http://172.17.2.54/fog/service/man.hostexists.php in your web browser on the client to see if that returns an error. As well check apache error log…


  • Moderator

    @Vanlue-IT-Guy Don’t worry about the version and saying you are out of date. As long as you have the right version you have the fixes the developers have created for 1.5.4 for FOS. There are a few fixes in the webgui that you don’t have, but your issues right now is with FOS running on the target computer.

    Ok now that you have the latest fixes, are you still running into an issue when you run hardware compatibility?



  • @george1421

    OK. I’ve done all that, both the kernels and the inits. I noticed I’m running 1.5.4.8 of FOG. It says I’m out of date. Not sure how to update that either.


  • Moderator

    @Vanlue-IT-Guy The fog/fos kernels can be updated via the fog settings->kernel update menu. The inits are a bit harder but possible.

    If your fog server has internet access you can do the following

    cd /var/www/html/fog/service/ipxe
    mv init.xz init.xz.sav
    mv init_32.xz init_32.xz.sav
    wget https://fogproject.org/inits/init.xz
    wget https://fogproject.org/inits/init_32.xz
    

    That coupled with the kernel update will fix a few issues (probably not THIS issue) but its good to get to a known configuration.

    You should follow Sebastian’s guidance to debug the issue making the curl call.



  • @george1421

    I’m unable to run a compatibility test, as I get a similar error.

    I’m running FOG 1.5.4 on CentOS. Installed it fresh back in July.

    I used to run FOG on Ubuntu and knew the proper steps to update it through that, can you share the right commands in CentOS to update FOG?


  • Developer

    @Vanlue-IT-Guy What happens at this stage is the client sends a HTTP request to the FOG server to check if there is a client registered with the same MAC address already. I know the error message should be more precise here. Going to change that…

    This failing means there is something wrong with the PHP script called on the web server. Try the following CURL HTTP query on a command shell: curl -Lks --data "mac=aa:bb:cc:dd:ee:ff" http://172.17.2.54/fog/service/man.hostexists.php (while putting in the client’s correct MAC address instead)

    As well check the apache error log (see my signature).


  • Moderator

    In the fog ipxe menu can you run a compatibility test?

    The error really doesn’t say what’s wrong other than I give up.

    I’m going to suspect its having an issue with the hard drive detection.

    After the hardware compatibility test, if that still reports successful then lets setup a debug deploy/capture then pxe boot the target computer. After a few key presses it should drop you to a linux command prompt on the target computer.

    From the debug console key in
    lsblk
    and
    lspci -nn

    report the results here.

    One last thing, what version of FOG are you using? When did you install it? Even with FOG 1.5.4 the devs have patch issues with the kernel and init.xz files to address a few issues prior to releasing FOG 1.5.5. These kernels and inits were updated within the last 2 weeks.


Log in to reply
 

367
Online

5.6k
Users

12.8k
Topics

121.1k
Posts