Deploying image, "~empty image might cause issues," but it initially shows as 65GB then 0.0 after deploy
-
@geardog Just a comment here on your screen shots. It would be much easier if you connected to the FOG server using putty or some other terminal program so you can copy and paste directly from the fog server into the forums. There’s a point when the images you post are so small that they are hard to read even if the pictures are enlarged.
-
This post is deleted! -
Based on what I’m seeing the drive should be in mbr mode? I’m saying this because of partitions 4 and 5.
Windows tried to fix gpt but nearly fails when the original layout was gpt. They leave remnants of gpt lying around which can cause fog to not like it?
Are these machines booting via UEFI or Legacy? Was the image adjusted for Windows to boot MBR or GPT?
Again I’m only guessing based on what I’m seeing from the d1.partitions file. I could be wrong though.
If you can boot the client machine into debug deploy, what is output of
fixparts /dev/sda
-
I’ve not adjusted anything. This machine is how Dell shipped it. It is a box with UEFI. “Windows tried to fix gpt but nearly fails…” doesn’t make much sense to me, as all of this is outside of windows. The only time windows has any play is when it is booting the original working drive, at which point it works fine. I attached the intended target drive (after deployment failure) to a running windows box to see that mis-sized 1TB protected gpt partition business. As I haven’t successfully cloned the drive, I’m not keen on fixpart’ing it. Maybe tomorrow I’ll call it quits, and just install fresh on another drive, leaving this odd issue to experimentation.
I can boot from fog either uefi or legacy, but native is surely uefi. I get the same squashed image results.
EDIT: Ah, you’re curious about output of fixparts on the target drive, I suppose. I’ll try it tomorrow.
-
With the hopes of clearing any confusion, I used diskpart to clean the 250GB drive that was mis-sized with the protected GPT partition mess. It was then 238GB unallocated, which I tried to deploy the 65GB image to again, with the same results.
-
Update:
The box itself clearly hasn’t been the issue. I’ve done a fresh install of Win10. It captured and deployed successfully to the same target drives. The computer handles 4k and 512 drives fine. -
In case there is desire to sort out what was going on I ran through the attempted capture/deploy of the original disks. Hoping I’m giving the info asked for.
This is the disk I captured.
This is the error I got deploying was:
“no image files found that would match the partitions to be restored”This is the debug info I got of the target of failed deployment.
-
@geardog forgive me if this has already been asked before.
Can you capture and deploy correctly to the same computer?
Also I assume in your last post the top picture and bottom picture are from two difference computers? Are they the same make and model? Do they have the same exact hard drive installed? If the target system is just one byte smaller then fog can’t deploy to it.
Are these two computers the exact same model? If so what model of computers are they? There is something here amiss. This is not a typical message we see. Its kind of hard to debug remotely without being able to touch the machines.
-
@george1421
I had a handful of the target drive model. I used the same drives I attempted to use as a deploy target to start over. I reinstalled windows on one of the handful of 512 sector drive, and managed to capture and deploy flawlessly to the same box (a Dell Inspiron 3650).I then started over trying to capture/deploy the OEM drive/install to help debug the issue. I still can’t deploy an image of the OEM successfully. All of this has been on the same box.
The error came in when capturing a 4k sector drive and deploying it to a 512 sector drive. This failed in the same way repeatably. This scenario is what I’ve documented here in various ways. The last pictures are of the originating 4k 1TB OEM dell install drive, next the error on deploying the capture of that drive (that was listed as a successful capture), and finally a debug deploy showing the resulting partition info on the intended 250GB 512 target drive.
-
@geardog said in Deploying image, "~empty image might cause issues," but it initially shows as 65GB then 0.0 after deploy:
The error came in when capturing a 4k sector drive and deploying it to a 512 sector drive.
Thanks for all your posts and the information. We (as in the FOG dev team) have discussed about this and it’s been on the forum as well but so far have not had the time to implement proper methods to move from one to the other. It’s quite complicated to try and convert partition layout (sector numbers) without messing things up. It’s interesting to read that you are trying to move from 4096 to 512 block size. Most people I’d expect to wanna move the other way. Makes it even more complicated to get this right in all cases.
-
I just happen to be harvesting 1TB drives from workstations for server use. The 250GB drives I picked up for $10 each are adequate for the floor computers.
Thank you for the firm point at cause.