Partclone Error



  • Hello everyone,

    I'm using CloneDeploy 1.20 on an Ubuntu Server 16.04.
    When an Windows 10 image is deployed, i got the following error message:

    [code]
    ** Starting Image Download For /dev/sda5 **
    Partclone v.0.2.88 http://partclone.org
    Starting to restore image (-) to device (/dev/sda5)
    device (/dev/sda5) is mounted at
    error exit
    Partclone fail, please check /var/log/partclone.log !

    /bin/cd_global_functions: line 168: - : syntax error: operand expected (error token is "- ")
    [root@client_console /]#
    [/code]

    line 168 of cd_global_functions:
    [code]
    volumeMargin=$(( $deviceSize - $volumeSize ))
    [/code]

    As the notebooks are rebootet to Windows 10, the c:/ partition is shrinked and not expanded, although the d:/ partition is not listed in the explorer, but in the disk management tool of windows, d:/ is listed, but not formated as ntfs as in the master image.

    The curiosity is, sometimes, really sometimes, everything works as it should.



  • Looks like /dev/sda5 doesn't exist, indicating the partitions weren't created properly. Can you attach the upload and deploy log?