How to Increase VirtualBox Disk Size

Situation

To increase VirtualBox disk size.

Environment

Mac OS X 10.7.5

VirtualBox 4.2.2

VM Win7VM.vdi

Solution

Step 1. Backup (In case of any emergency)

選擇預擴充的VM→機器→再製(Clone)→完整再製

Step 2.  執行 VBoxManage modifyhd [File Name] –resize [MB]

VBoxManage modifyhd Win7VM.vdi --resize 50000

(extend to 50 GB)

Step 3. 開啟VM→控制台→磁碟管理→選擇C槽→延續磁碟區→完成

 

Reference

http://hajuria.blogspot.tw/2013/12/how-to-increase-virtualbox-disk-size-in.html

https://www.virtualbox.org/manual/ch08.html#vboxmanage-modifyvdi

Advertisements

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