Several weeks ago I created a VM of Windows Vista with SP2. It ran great on my Sager NP8690. Unfortunately when I created the virtual hard drive I made it a 20GB drive. After all the patches were installed, I was down to about 3GB free. So I read a few posts from VirtualBox Forums about how to resize the drive. Here are the steps I used from the post:
- Close you virtual machine, leave VirtualBox running.
- Create a new virtual hard drive with the new size (I went with a dynamic size with a maximum size of 80GB).
- Download Gparted-Live CD ISO file.
- Add the Gparted-Live CD ISO file as a new virtual CD in VirtualBox.
- Adjust your virtual machine settings to add the second larger hard drive and the Gparted-Live CD.
- Start the VM and boot from the Gparted-Live CD file.
- Choose all the defaults and wait for Gparted to start.
- Select the second hard drive and set the partition to msdos.
- Select the first hard drive, right click on the graph and select Copy.
- Select the second hard drive, right click on the graph and select Paste.
- This will take some time.
- Once completed, shutdown the VM.
- Adjust the settings for the VM by removing the old hard drive and the Gparted-LiveCD. Add your Vista CD or ISO file.
- Boot the VM and press any key to start from the Vista CD.
- Select the option to Repair the OS.
- Once it repairs, reboot the VM and do not press any keys. Vista should boot and run a check disk of the VM.
Now when I boot into Vista, I have a 80GB hard drive with plenty of free space.
Thanks to gushy and bwh1969 for the original posts.