Resizable partition is not expanding
-
@Hongyun What’s the contents of the new image’s:
d1.partitions and d1.minimum.partitions
-
@Tom-Elliott previous numbers I gave you are all the result of fdisk command
$ cat d1.partitions
label: dos
label-id: 0x242a986c
device: /dev/sda
unit: sectors/dev/sda1 : start= 2048, size= 204800, type=7, bootable
/dev/sda2 : start= 206848, size= 466823168, type=7
/dev/sda3 : start= 467030016, size= 49330360, type=83
/dev/sda4 : start= 765794304, size= 15626240, type=82$ cat d1.minimum.partitions
label: dos
label-id: 0x242a986c
device: /dev/sda
unit: sectors/dev/sda1 : start= 2048, size= 204800, type=7, bootable
/dev/sda2 : start= 206848, size= 466823168, type=7
/dev/sda3 : start= 467030016, size= 48807402, type=83
/dev/sda4 : start= 765794304, size= 15626240, type=82 -
Did you mess with the partition layouts before having fog capture it? It looks, to me, like this is the case. The d1.partitions should be different from the d1.minimum.partitions files. d1.partitions is the “original” layout, so if they are the exactly the same, then you will have some issues.
-
@Tom-Elliott No, I didn’t change any partition settings, I only installed some updates, and then started the upload process. And this is a newly created image, I might have changed it to non-resizable, and then changed back to resizable, but these changes are on FOG WebGUI, before I issue the upload task.
-
Please re-run the installer and try again?
I know it’s a lot of back and forth, but it should work (hopefully).
At least the original and new sizes appear to be expanding on the same originating disk, I have not yet had the chance to test orig < smaller drive and orig > larger drive yet. Just same size disk for now. All appears to be working atleast in that regard.
-
@Tom-Elliott Yeah! It’s resized properly this time. Thank you so much for your quick response and quick fix!!!
-
Want to give a shot on both upload and deploy (or did you already do this?)
-
@Tom-Elliott Yes, I already did this. Updated FOG, then changed the image from non-resizable to resizable, then upload the image, and downloaded to another computer. All works perfectly. Thanks again!
-
@Hongyun I hate to ask you to do this all again, but apparently something was awry from earlier.
Can you please re-run the installer and perform the same tasks again?
I know I keep asking, and I’m sorry. Just know I’m trying to get to the bottom of it. I’ll bet, currently, your d1.partitions and d1.minimum.partitions files are identical again/still.
-
@Tom-Elliott You are right, the two files are identical. I will try again. but will let you know the result tomorrow, I’m afraid I don’t have enough time to finish both upload and download before I leave for today. Thanks!
-
@Hongyun I really do appreciate it and I’ve ensured the files are fixed now.
-
@Tom-Elliott I reinstalled FOG, and then uploaded an image, but it looks like the d1.partitions and d1.minimum partitions are still the same:
[root@foggy henn205u16win7]# more d1.partitions
label: dos
label-id: 0x242a986c
device: /dev/sda
unit: sectors/dev/sda1 : start= 2048, size= 204800, type=7, bootable
/dev/sda2 : start= 206848, size= 466823168, type=7
/dev/sda3 : start= 467030016, size= 491393024, type=83
/dev/sda4 : start= 958423040, size= 18350080, type=82[root@foggy henn205u16win7]# more d1.minimum.partitions
label: dos
label-id: 0x242a986c
device: /dev/sda
unit: sectors/dev/sda1 : start= 2048, size= 204800, type=7, bootable
/dev/sda2 : start= 206848, size= 466823168, type=7
/dev/sda3 : start= 467030016, size= 49760206, type=83
/dev/sda4 : start= 958423040, size= 18350080, type=82 -
@Tom-Elliott OK, I just downloaded the image to another computer, and it works. Thanks!