I am trying to upgrade several sever from ESOS 2.0.16 to 2.1.5 or 3.0.6 (or anything) but I always get the message "The image file and current ESOS disk labels do not match! An in-place upgrade is not supported, continuing.."
As far as I can tell, the installation script is doing a "fdisk -u -l /dev/sdc" and the result is:
Device Boot StartCHS EndCHS StartLBA EndLBA Sectors Size Id Type
/dev/sdc1 * 0,32,33 51,30,43 2048 821247 819200 400M ef EFI (FAT-12/16/32)
/dev/sdc2 51,30,44 306,21,35 821248 4917247 4096000 2000M 83 Linux
/dev/sdc3 306,21,36 331,148,9 4917248 5326847 409600 200M 83 Linux
/dev/sdc4 1023,63,32 1023,63,32 5326848 30031871 24705024 11.7G 83 Linux
From this, it extracts those data:
0,32,33
51,30,44
306,21,36
1023,63,32
and compare them to the image partition:
0,32,33
51,30,44
306,21,36
331,148,10
It then fail because the 4th partition doesn't have the same geometry.
The script says it's checking the disk labels but it's really comparing the geometry of the paritions. The 4th partition is kinda filling-up the rest of the device so should it always expect to have the same geometry?
Would it be ok if I modify the script to ignore this test in my case so it could continue with the upgrade?