Changes between Initial Version and Version 1 of VirtualBox_Tips


Ignore:
Timestamp:
Nov 8, 2013, 10:17:53 AM (10 years ago)
Author:
Eric Hazen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • VirtualBox_Tips

    v1 v1  
     1I routinely use Sun VirtualBox to run a windows guest OS under linux.  My current setup is Ubuntu 10.04 64-bit host OS with Windows 7 as guest.  This has worked fine for me so far.
     2
     3== HOWTO resize guest VDI disk image ==
     4
     5This worked for me for VirtualBox version '''3.1.6_OSE r59338''.  I had an existing VDI which was variable size, but too small.  Here is what I did to resize it:
     6
     71. Create new HD of desired size (also variable-size)
     8
     92. Clone the existing disk:
     10
     11{{{
     12   VBoxManage clonehd --existing ExistingTooSmall.vdi NewMuchBigger.vdi
     13
     14}}}
     153. Download [http://gparted.sourceforge.net/livecd.php GParted live CD]
     16
     174. Create a new virtual machine with the cloned VDI disk attached
     18
     195. Attach the GParted ISO as a CD-image and boot from it (take defaults, let GUI for GParted boot)
     20
     216. Select the large NTFS partition, and resize it to fill the disk
     22
     237. Shutdown, reboot into Windows 7, let it do the disk check it will want to
     24
     25