Ivan Femia

VirtualBox: Change hard disk size

Using VirtualBox you could face the problem of an hard disk too small. It’s not possible to change the size of the virtual hard disk (.vdi) directly so we have to find an other solution.

I solved this problem by creating a new virtual hard disk and clone the old hard disk in the new one.

What you need:

- Gparted iso image
- SuperGrubDisk iso image

This is the simple guide:

  1. Create a new virtual hard disk (with the new size) using virtual box.
  2. Associate this hard disk to your virtual PC (so you will have to hard disk)
  3. Mount GParted iso file in virtual PC’s DVD drive and set the DVD as primary boot
  4. Start you virtual PC and boot into GParted
  5. Select the old disk partition and copy it, then select the new partition and paste
  6. Apply the modifies in GParted and shutdown the virtual PC when finished
  7. Remove the old hard disk from your virtual PC and set the new one as primary device
  8. Unmount the GParted iso file and mount the SuperGrubDisk one
  9. Start the virtual PC and select the right selection in the menu; I used MBR & Win because the ghost machine is a Windows XP
  10. Shutdown, unmount the SuperGrubDisk iso file and enjoy

That’s it.

Bye,
Ivan

Related Post

1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)
Loading ... Loading ...

1 Comment

yoboJuly 30th, 2010 at 5:00 PM

Excellent ;) thk you very MUCH for your recipe ;)

Leave a comment

Your comment