guy labs guy labs

How to resize a VirtualBox hard drive in Ubuntu 13.04

Linux
/by
Lately at work I needed to install Microsoft SQL Server on my Windows 7 virtual machine, and it was just to big for the free space left on my virtual hard drive. So I searched a way to resize it without spending too much time. You just need to open a terminal, browse to your .vdi virtual drive and then execute the following command: Inside the example command I resize the Windows-7-SP1-64-Bit.vdi virtual drive to a complete size of 30 GB (30'000 MB). Don't forget to format the free space or resize the partition with gparted or any other partitioning tool. I hope this helps someone  :wink: Have a nice...