Page 1 of 1

increasing disk size of the virtual machine

Posted: 22. Oct 2012, 23:36
by LK1234
My computer is running windows OS. I have virtualbox installed on my C drive running an Ubuntu image. How do you increase harddisk size on the image, and have the additional HD size land on a non-C drive? I tried Run VirtualBox and go to File -> Disk Manager along with GPARTED, but the additional HD size landed on C drive. I also tried this command, but it doesn't really increase the actual HD size of the image. That is, when u print out how big your HD is, the new HD size shows, but when u try to use the HD, it still has the original (smaller) size.

VBoxManage modifyhd YOUR_HARD_DISK.vdi --resize SIZE_IN_MB

Thanks

Re: increasing disk size of the virtual machine

Posted: 22. Oct 2012, 23:39
by Zium
Create a new disk (store it or another drive) and attach it to your VM,
Or move your existing disk to another drive.

Which one do you prefer ?

Re: increasing disk size of the virtual machine

Posted: 23. Oct 2012, 02:19
by LK1234
may be the later

Re: increasing disk size of the virtual machine

Posted: 23. Oct 2012, 06:56
by Zium
So dettach the disk from your VM, remove it from the virtual media manager (choose keep file to avoid deleting), move the corresponding file on your disks and attach it again to your VM.
Your could also consider moving your entire VM folder from one disk to another if you're using the 4.x folder structure.