Page 2 of 2
Re: Increase the size of an existing Windows partition
Posted: 16. Feb 2015, 08:15
by socratis
Perryg wrote:I am not sure that you can merge the snapshots after a resize of an individual snapshot.
Yes you can do it. I did it as I was researching my answer to s3igell's question. But as I mentioned, it's tricky and I managed to screw it a couple of times. It took me several hours (with cloning and everything) to get it right.
@s3igell
I don't know why you got offended. I don't know you (and you don't know me) and what you know or you don't. But,
in the context of VirtualBox and snapshots, you are a newbie
if you have to ask questions like that. That's not a bad thing. Unless you can follow (not necessarily participate, simply follow) threads like
this one, you are a newbie
in the VirtualBox snapshots world.
Re: Increase the size of an existing Windows partition
Posted: 16. Mar 2016, 01:25
by jebradl
I got an error message when I tried to resize my dynamic virtual drive with vboxmanage, so I was unable to enlarge the drive by that method.
A convoluted way to get a larger drive is to create a VM with a dynamic drive the size that you want. Then add the drive that you want to enlarge. Boot from a bootable linux CD/DVD image file and then use 'dd bs=1M if=/dev/sdb of=/dev/sda' which will copy all of the drive you want enlarged to the new drive. You then use gparted to resize the partition to fill the drive. Both dd and gparted need to be run with root privileges (as root or with sudo).
The dd copy is slow, but copying a multi-gigabyte drive itself is slow.
My enlarged drive works fine, and I now have the space that I needed.