Error trying to restore GPT partition tables
rankinc last edited by
Hello all, having this error suddenly on UEFI with images and devices that were working before. I noticed (really late) that last month a number of FOG services failed and the UEFI images I have are showing 0 bytes size.
and I’m trying to decide how to proceed because I confirmed the images are still there, not 0 bytes, and legacy images work.
After restarting FOGImageSize.service
@rankinc This partition number 5 is a recovery partition which FOG doesn’t move on the disk. So it’s unable to shrink your main Windows partition.
rankinc last edited by
@Sebastian-Roth thanks for the reply. I had searched around but there were a lot of threads and I missed that one. It appears the person I tasked with taking over image creation may have ended up with a sizing problem.
/dev/nvme0n1p1 : start= 2048, size= 1083392, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=318D71D5-A864-4058-AAB9-B03BDD7E25D9, name=“Basic data partition”, attrs=“RequiredPartition GUID:63”
/dev/nvme0n1p2 : start= 1085440, size= 204800, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=7DD0E52E-FB69-4F53-9940-F37946DF9366, name=“EFI system partition”, attrs=“GUID:63”
/dev/nvme0n1p3 : start= 1290240, size= 32768, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=39046746-E028-4031-BC9D-B9A4AA1C6537, name=“Microsoft reserved partition”, attrs=“GUID:63”
/dev/nvme0n1p4 : start= 1323008, size= 997637337, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=17427B2A-DB5B-4C71-A144-A76BB7CCD76E, name=“Basic data partition”
/dev/nvme0n1p5 : start= 998961152, size= 1253376, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=EE330190-13F2-4DE2-879A-F56914C0F184, attrs=“RequiredPartition GUID:63”
@rankinc While it’s not great the FOG services aren’t running I’d say this has nothing to do with the error you posted in the other picture.
Please try the following:
- Schedule a new deploy for a host with 256 GB SSD but before you click “Create Task” tick the checkbox for debug.
- Boot up the client and hit ENTER twice to get to the shell - run command
fogand step through till you hit the error.
- Now back in the shell manually run
sgdisk -gl /images/UEFI-CafeteriaPOS/d1.mbr /dev/sda, take a picture and post that here.
As well, can you please post the contents of the text file
/images/UEFI-CafeteriaPOS/d1.partitionsyou have on your FOG server.