Resizing a VirtualBox image

Today I wanted to expand the hard drive of my VBox Windows 7 install. There is no GUI setting for this so with the terminal I used the following command:


This resized the image from it’s original 25Gb to ~40Gb.

Afterwards you have to resize the disk within the guest operating system (in my case Windows 7, Control Panel -> System and Security -> Create and format hard disk partitions)



Be the first to comment

Leave a Reply