Monday, April 26, 2010

Resize and Clone disk in VirtualBox.

I have a space problem in my guest os ( windows ) because the first time I just created disk only 10 Gbytes and now it's nearly full.

I have a solution to resize disk by use Virtual Media in Virtual Box.

First, create new disk that larger than the old one.


Next, use command VBoxMedia to clone Harddisk
tatshuya# VBoxManage clonehd --existing "WinXP.vdi" "WinXP-New.vdi"

Sun VirtualBox Command Line Management Interface Version 3.1.6
(C) 2005-2010 Sun Microsystems, Inc.
All rights reserved.

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Clone hard disk created in format 'VDI'. UUID: e2785c5a-fbf3-499c-a1c3-2c70405d8184

Then, change Harddisk in Storage settting.



== TaTsHuYa ==

No comments: