Deploying an Image with a 150GB Disk to 128GB Disk Failing Using Single Disk - Resizable Option

  • Hello,

    I am currently trying to deploy an image from a VMWare Workstation 15 base image with a virtual hard disk size of 150GB to an Acer Spin 5 with a 128GB SSD. I’m unable to get the image to upload, so I’ve linked a picture of the error below:

    While the image was uploading, it did take some time to resize and during the upload FOG showed the partition size around 60GB so I’m not sure why it’s failing to deploy. I’m thinking it may have something to do with the additional partitions Windows creates upon installation, but I’m not sure. I have also built a separate image with a 40GB drive with just Windows 10 installed and I was able to successfully deploy that one to the Acer.

    The image settings are below:

    When deploying this to our devices with a 256GB SSD it works fine, it’s just when going to the smaller disk on our new Acer Spin 5s.

    Additional information:

    FOG OS: Ubuntu 16.04.6 LTS
    FOG Version: 1.5.8

    Any suggestions or advice would be greatly appreciated and thank you in advance. Please let me know if you need any more information

  • Testers

    That error says that partition 4 is too small. So it seems to think that the image is bigger than the spin 5’s drive.
    Looking at your image settings I’d recommend recapturing using partclone zstd at compression level 19. Probably won’t fix this problem, but might speed up your imaging while saving space on the server.

    I believe the when fog captures the image it shrinks it down to only what is actually in use, so your scenario should work. Personally, as a fail safe, I use a 80 GB virtual disk size for my images which never had an issue deploying to 120 GB drives. Granted after a while we found that users with 120 GB drives ran out of space just from windows maintenance (updates, caches, etc.), well that and the users never deleting an email in outlook.

    So if it’s feasible, maybe try recapturing the image with the virtual drive being smaller than anything in your environment. (80-120 GB perhaps).