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

    WIndows 10 Capture/Deploy Woes

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    8
    7.1k
    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
      Andrew Aitken
      last edited by

      I have been trying to get some Dell 5450 laptops to image with Windows 10 but FOG seems completely broken at the moment (SVN 6090)

      Last week when attempting the capture the image, it would capture OK (WIndows 10/Single disk resizable) but then the machine the image was taken from had it’s C:\ drive reduced from the total disk size of 256GB to just above the amount of data consumed by the OS (~12GB)? The image would deploy OK but disk in the same shrunken state
      ![0_1453719198408_upload-83e975a3-1e11-4adb-a33d-75fbf3d0c20b](Uploading 100%)

      I have been updating the install every day, hoping that this is fixed but things are now worse?
      I updated to SVN6090 this morning and re-captured a freshly installed Windows 10 image and now the source machine wont even boot!
      I then attempted to deploy the gathered image to another device and get this error on the destination ![0_1453719102916_upload-fce4c49c-1933-42fe-8563-a8b326d0bce0](Uploading 100%)

      Any advice of feedback would be appreciated?

      Thanks

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

        I’m not understanding at all.

        What is ![0_1453719198408_upload-83e975a3-1e11-4adb-a33d-75fbf3d0c20b](Uploading 100%) I’m guessing these are supposed to be pictures.

        How are they worse? What are the messages you’re seeing?

        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 0
        • A
          Andrew Aitken
          last edited by

          Thanks for responding so quickly.

          Currently running v6090 but struggling to get Windows 10 to capture and/or deploy?

          Tried capturing (single-disk-resizable) but when capturing I see this, which clearly shows the destination C:\ much smaller than it should be (465GB)
          0_1453731438683_Win10-resizable-sda4-capture-progress.jpg

          After capture the source device no longer boots with this error
          0_1453731542365_Win10-resize-source-after-capture.jpg

          Image folder contents on the server
          0_1453734700108_upload-bb352c79-ee51-4010-b064-13f1563811b3

          Deploying resizable image results in this error on the destination machine?
          0_1453734476680_Win10-resize-post-deploy.jpg

          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • A
            Andrew Aitken
            last edited by

            Tried capturing a fresh Windows 10 image, this time using (non-resizable Windows 10) option and at least the source machine is able to boot back into Windows after the capture task completes.

            However, restoring this image failed with the following error “No disk passed (runPartprobe)” ?
            0_1453738953899_upload-a8d37f87-5dd3-40de-8ab7-d7de0ee6344a

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

              @Andrew-Aitken said:

              Tried capturing (single-disk-resizable) but when capturing I see this, which clearly shows the destination C:\ much smaller than it should be (465GB)

              That’s how resizable images work. The partitions are shrunk down to just 2GB larger than the amount of data on the partition.

              As for the issue with the source host being bootable after a resizable image is taken, I believe you’re experiencing the same issues as described here: https://forums.fogproject.org/topic/6536/windows-10-after-upload-partition-erased So for that specific issue, could you post to that thread?

              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/

              A 1 Reply Last reply Reply Quote 1
              • A
                Andrew Aitken @Wayne Workman
                last edited by

                @Wayne-Workman said:
                As for the issue with the source host being bootable after a resizable image is taken, I believe you’re experiencing the same issues as described here: https://forums.fogproject.org/topic/6536/windows-10-after-upload-partition-erased So for that specific issue, could you post to that thread?

                You are absolutely right. Will post any further comments to that thread

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

                  So I’m noticing a couple things.

                  • The first boot error relates to efi - perhaps you have an efi partition separate from the install and would need to do multiple partition image
                  • At the same time there are .mbr files and also gpt messages. GPT is typically associated with efi style images and mbr with bios/legacy style images.

                  So are you using uefi on the image you are uploading from?
                  Are you uploading from legacy and then downloading to a computer set to uefi mode?
                  Personally I find mbr and bios/legacy mode to work just fine and to be just much simpler. So if it’s not too much effort you could redo the image making sure that your computer is booting to legacy/bios mode. In some bios’s you have to disable secure boot before it lets you enable the legacy boot mode. GPT and uefi do work with fog, don’t get me wrong, but I just find gpt easier. Also, a side note, to ensure you make only one partition when you install windows (this works on at least windows 7 and up) when you have the install disc in and you’re at the partition selection, hit shift+f10 to bring up a command prompt. Then run the following commands to clear out all existing partitions and make only one new one. As far as I have found this only works with mbr style partitions. There is probably a way to do it for gpt, I just haven’t found it yet, which is another reason I stick with mbr.

                  diskpart
                  list disk
                  (It will list the disks with details, most likely you'll want disk 0, but list and check to be sure)
                  select disk 0
                  clean
                  create partition primary
                  exit
                  exit
                  

                  Then hit refresh on the windows gui partition editor and select the newly created partition

                  If you put a lot of work into this image and don’t want to start over on it, no worries, we can still try some other stuff.
                  Go into fog and queue a download of the image ticking the “schedule as a debug task” box.
                  Now you will be able to step through the image process and run some other commands on the computer you are imaging

                  I would try running fixparts on /dev/sda in a debug session. This may fix any mbr/gpt confusion within the drive or image your using and that alone could make it work.
                  If that doesn’t do the trick. Then we’ll come back to the drawing board.

                  So, that was a lot of information, let me summarize a little.

                  • Is your image source a gpt/efi setup or a mbr/bios setup?
                  • Do you want it to be resizable or do you not care because they’re all the same size hard drive?
                  • Have you tried running fixparts (I would recommend trying this before uploading the source image as well as before download)
                  • Consider making a new mbr style image in bios/legacy mode using the instructions I gave above, as I know it works for windows 10

                  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 2
                  • A
                    Andrew Aitken @JJ Fullmer
                    last edited by

                    @Arrowhead-IT
                    I followed your advice RE: using diskpart and managed to get both my Dell 5450 latptop and HP 800-G1 desktops to boot legacy/MBR, install Windows 10 and can now successfully capture/deploy using single-disk resizable FOG image.

                    I’m pretty sure I had default GPT/UEFI Windows 10 multi-partition image capturing and deploying previously but maybe I imagined it?

                    Thanks for your help.

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

                    239

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project