Problems shrinking Linux VM


Recommended Posts

I am just running up a wall trying to figure this out.

 

I tried to follow this video, but I am not getting any success.

 

I don't know why, but I initially setup a VM to use 500GB.  I only need about 100GB, so I ran GParted as live, reduced my ~500GB partition down to 100GB. I then went into the Unraid command line and ran `qemu-img resize --shrink vdisk1.img 150GB` to be safe.  The image resized, but when I go to run the VM I get into the BusyBox terminal.  The log doesn't seem to be saying anything is wrong, but I can post that if it would help.

 

Am I missing something? The image is just a standard 20.04 Ubuntu desktop.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.