Move partitions on GPT layouts - need people to test
-
@sebastian-roth
I tried this solution with Windows 21H1 the image capture and deploy works without any problems from a 1 TB NVMe SSD to the 500 GB SATA SSD.d1.minimum.partitions
cat d1.minimum.partitions label: gpt label-id: 32D055B8-40FD-4110-9551-5794A08735E8 device: /dev/nvme0n1 unit: sectors first-lba: 34 last-lba: 2000409230 sector-size: 512 /dev/nvme0n1p1 : start= 2048, size= 204800, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=28F8CABB-959B-4C15-986E-0F8640E4F0C7, name="EFI system partition", attrs="GUID:63" /dev/nvme0n1p2 : start= 206848, size= 32768, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=ED9F8F39-E265-428D-8BE1-C2B7E4304D52, name="Microsoft reserved partition", attrs="GUID:63" /dev/nvme0n1p3 : start= 239616, size= 291316922, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=05966690-06CD-4A69-BF88-376CC3EBFAC0, name="Basic data partition" /dev/nvme0n1p4 : start= 291556864, size= 5639168, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=49569B35-41CE-42F5-82CB-6F68BA36C239, attrs="RequiredPartition GUID:63"
d1.partitions
cat d1.partitions label: gpt label-id: 32D055B8-40FD-4110-9551-5794A08735E8 device: /dev/nvme0n1 unit: sectors first-lba: 34 last-lba: 2000409230 sector-size: 512 /dev/nvme0n1p1 : start= 2048, size= 204800, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=28F8CABB-959B-4C15-986E-0F8640E4F0C7, name="EFI system partition", attrs="GUID:63" /dev/nvme0n1p2 : start= 206848, size= 32768, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=ED9F8F39-E265-428D-8BE1-C2B7E4304D52, name="Microsoft reserved partition", attrs="GUID:63" /dev/nvme0n1p3 : start= 239616, size= 1994530304, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=05966690-06CD-4A69-BF88-376CC3EBFAC0, name="Basic data partition" /dev/nvme0n1p4 : start= 1994769920, size= 5639168, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=49569B35-41CE-42F5-82CB-6F68BA36C239, attrs="RequiredPartition GUID:63"
-
Hi,
i have a bug when i tried to deploy. i don’t know if it’s link to the previous bug.
Here the vidéo with the error.and the partition files :
d1.partitions
root@fog:/images/SalleTechnologieTest# cat d1.partitions label: gpt label-id: 79FE4766-EDD2-4DD0-826C-6DD816A2E7C6 device: /dev/sda unit: sectors first-lba: 34 last-lba: 500118158 sector-size: 512 /dev/sda1 : start= 2048, size= 204800, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=5217DE87-4A45-4AC4-A4DD-0C8EB1C5CF5B, name="EFI system partition", attrs="GUID:63" /dev/sda2 : start= 206848, size= 32768, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=15C5E73F-7855-4DA4-A464-4694B0E56628, name="Microsoft reserved partition", attrs="GUID:63" /dev/sda3 : start= 239616, size= 498831872, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=E130C384-3F46-4D8F-AD25-B85FDB0127CD, name="Basic data partition" /dev/sda4 : start= 499071488, size= 1046528, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=D3FA37D6-10A7-4303-976C-6D8F23C4258F, name="attrs=\x22RequiredPartition GUID:63", attrs="RequiredPartition GUID:63"
d1.minimum.partitions
root@fog:/images/SalleTechnologieTest# cat d1.minimum.partitions label: gpt label-id: 79FE4766-EDD2-4DD0-826C-6DD816A2E7C6 device: /dev/sda unit: sectors first-lba: 34 last-lba: 500118158 sector-size: 512 /dev/sda1 : start= 2048, size= 204800, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=5217DE87-4A45-4AC4-A4DD-0C8EB1C5CF5B, name="EFI system partition", attrs="GUID:63" /dev/sda2 : start= 206848, size= 32768, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=15C5E73F-7855-4DA4-A464-4694B0E56628, name="Microsoft reserved partition", attrs="GUID:63" /dev/sda3 : start= 239616, size= 85029512, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=E130C384-3F46-4D8F-AD25-B85FDB0127CD, name="Basic data partition" /dev/sda4 : start= 499071488, size= 1046528, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=D3FA37D6-10A7-4303-976C-6D8F23C4258F, name="attrs=\x22RequiredPartition GUID:63", attrs="RequiredPartition GUID:63"
Can you help me ?
Thank you
-
@btoffolon You are pretty lucky as I am sure I have fixed that issue already in the latest test init. Please download from github, put that in /var/www/html/fog/service/ipxe/, rename the original init.xz, put the new file in place.
Then you need to re-capture the image. Deploy should work then.
-
@sebastian-roth it’s working thank you !!