This doesn't make sense. If you download and install Partition Assistant within the Windows environment, then how does windows see anything outside of the virtual hard disk it was installed on?
If this works for other people then perhaps you could explain to the rest of us how this is possible. Are you saying this is installed on Ubuntu? If so then these instructions are a little unclear.
**** www.followtheboat.com ****
Tales (not just) from the high seas
Hi,
I was trying to expand my virtual harddrive and nearly went crazy with the complexity. Then I stumbled on this, it worked with a bit of syntax change. Use it at your own risk, but it makes the entire process much simpler.
http://www.eggheadcafe.com/sample-co...hard-disk.aspx
By using the VBoxManage terminal command, it is simple.
VBoxManage clonehd --existing /home/goat/.VirtualBox/HardDisks/goatXP.vdi /home/goat/.VirtualBox/HardDisks/goatXP_20GB.vdi
Happy expanding.
Linux Saves the day.(http://ubuntuforums.org/showthread.php?t=1404835)
I just wanted to add to Fisheater's post by writing that I had to create a new fixed capacity virtual disk within Sun/Oracle Virtualbox beforehand to running the VBoxManage clonehd --existing command. Otherwise, VBoxManage complains that there is no target virtual disk to do the disk clone. Later on, I followed the directions for expanding the size of the hard drive by booting off of the new and larger capacity virtual disk, running the Disk Management snap-in tool, and extending the partition to the maximum capacity. It worked.
You must go to folder where is OldDisk.vdi .
30000 = 30GB
And it's done .Code:VBoxManage modifyhd OldDisk.vdi –-resize 30000
jacksonam - great tip, worked a treat.
the trick is that i needed to copy the vdi to a new virtual hard-disk with the expanded size - then i used Partition Assistant Home Edition to resize the partition to take up the extra space in the new virtual hard-drive.
Hmmm, maybe stop and think why you need a bigger disk. If it is only for data, then enable a shared folder on the host and put your data there.
I prefer keeping my VMs small and keep all the data outside the VM. It is more storage efficient that way.
Worked like a charm in VirtualBox 4.1.6 r74713. Thx andig!
in terminal:
Afterwards simply boot your VBox-guest from a Ubuntu Live CD and start gparted in order to add the new free space to the existing Windows partition.Code:VBoxManage modifyhd "/home/user/VirtualBox VMs/YourVBoxGuestHDD.vdi" --resize 30000
Bookmarks