Tuesday, 29 May 2012

Reconfiguring VirtualBox to increase Disk Size



Reconfiguring VirtualBox is quite a pain :
first we need to add the C:\Program Files\Oracle\VirtualBox directory to the path.
second we can now run the  VBoxManage program from the command line to modify the hard disk size:
VBoxManage modifyhd nbox2.vdi --resize 51200
 The latter being the size in MB of the re-sized disk.

Third download the GParted utility to reformat the partition size on the virtual box itself.  http://gparted.sourceforge.net/
I downloaded the ISO file, stuck it in the VB directory and then added it as CD/DVD, set it as a master partition, and set CD as being the first boot disk.  Booted inot GParted, however there is no way that I could get the locked status of the main (lvm) partition released.  A quick google and it appears that lvm is not well catered for by GParted.  I tried to configure the unallocated space as an ext3/4 filesystem, but it kept crashing.....I may try another utility at some point.

In parallel I downloaded VMWare player, and installed Fedora on that.  This seems ot have finished before the re-configuring of VirtualBox. So at this point I am moving the new software - i.e. the openmap server onto the VMWare virtual machine, I'll leave the search software on the old virtual box and see if it survives.







No comments:

Post a Comment