Home > Uncategorized > Extend Oracle Virtualbox VM disk size for Windows and Linux VMS

Extend Oracle Virtualbox VM disk size for Windows and Linux VMS

Extend Oracle Virtual box VM size. for Linux or Windows VMs.

You might need to extend\increase VM disk size in Oracle Virtual box

But there is no GUI tool available for virtual box right now. Instead you can use command to do this.

________________________________________________________________________________________________________________________________

1. Backup the existing vm disk file.

2. Create empty VM disk by Settings Menu of VM –> Storage –> Add Hard Disk –> Create new disk. and give bigger size you want to extend. ( old disk size + new size you want)

3.  open cmd and go to  directory :  C:\Program Files\Oracle\VirtualBox

type command  following command :

VBoxManage.exe clonehd “C:\MyVM\old.vdi”  “c:\MyVM\new.vhd” –existing

vm1

4.  from VM settings remove old disk and attach new disk.

5. For windows : start VM now and extend its size from disk management

6. For Linux : Boot VM using GParted .iso and extend the Disk.

Advertisements
Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: