Hi,
I’ve changed an image from fixed size to the “Single Disk - Resizable” type and selected “All Partitions”.
I’ve uploaded correctly the image from a correct computer to reflect those changes, everything seems fine.
when i want to deploy i got the error of a “too little partition” for /dev/sda1…
So let’s check what should be done and what is done :
-I delete every partitions on the disk to have a clear partition table.
-I run the fog script (i’m in a download/debug task mode) to get the job done
-I wait for the error to appears
-I run a fdisk /dev/sda and print the partition table (the one just created by fog)
Device Boot Start End Sectors Size Id Type
/dev/sda1 63 79934 79872 39M de Dell Utility
/dev/sda2 * 79935 32933950 32854016 15.7G 7 HPFS/NTFS/exFAT
/dev/sda3 32933951 976772158 943838208 450.1G 7 HPFS/NTFS/exFAT
/dev/sda1 is 39M but i need 42M !
Let’s see what’s inside d1.minimum.partitions (d1.original.partitions is exactly the same) in the image folder
/dev/sda1 : start= 63, size= 80262, type=de
/dev/sda2 : start= 81920, size= 32854016, type=7, bootable
/dev/sda3 : start= 32935936, size= 943835136, type=7
Those values are exactly the same as the real partitions sizes from the original disk.
So the d1.minimum.partitions is not applied correctly while creating the partition scheme during deployment.
The sda1 partition is too small, the sda2 is correct and the sda3 has been correctly expanded with the bytes freed by the bad sized sda1…
Any idea how to fix this ?
Thanks,
Guillaume
SVN trunk rev 3537