Error resizing partitions



  • When i try to deploy a mixed image (windows/linux) partitions are not resized and the screen ios full of errors (attached).

    The same image, when uploaded on a 1.2 server works perfectly.

    Fog is very important for our organization and this problem is critical.

    Any ideas?

    0_1531131778016_IMG_20180709_114105.jpg
    1_1531131778017_IMG_20180709_114113.jpg
    2_1531131778017_IMG_20180709_114121.jpg


  • Developer

    @carlesgm You see that sda5 your linux system partition is resized/shrunk but the following swap partition (sda6) is not moved forward. We usually don’t move partitions as it can cause really bad issue (unbootable system).

    Not sure what to advise in this situation. Could you remove the swap partition before capturing the image and then re-create it (and fix your entry in /etc/fstab) after deploy?



  • We are using FOG 1.5.4.

    d1.fixed_size_partitions:

    :3:6
    

    d1.minimum.partitions:

    label: dos
    label-id: 0xf83826b5
    device: /dev/sda
    unit: sectors
    
    /dev/sda1 : start=        2048, size=     1124352, type=7, bootable
    /dev/sda2 : start=     1126400, size=   166039552, type=7
    /dev/sda3 : start=   167165952, size=   336150528, type=5
    /dev/sda5 : start=   167168000, size=    27017676, type=83
    /dev/sda6 : start=   494934016, size=     8382464, type=82
    

    d1.partitions:

    label: dos
    label-id: 0xf83826b5
    device: /dev/sda
    unit: sectors
    
    /dev/sda1 : start=        2048, size=     1124352, type=7, bootable
    /dev/sda2 : start=     1126400, size=   166039552, type=7
    /dev/sda3 : start=   167165952, size=   336150528, type=5
    /dev/sda5 : start=   167168000, size=   327763968, type=83
    /dev/sda6 : start=   494934016, size=     8382464, type=82
    

    Thanks a lot!


  • Developer

    @carlesgm Which version of FOG do you currently run? Please post the contents of d1.fixed_size_partitions, d1.minimum.partitions and d1.partitions from that image so we can have a look what could be causing this.


Log in to reply
 

451
Online

5.8k
Users

13.1k
Topics

123.2k
Posts