Skip to content

Instantly share code, notes, and snippets.

Avatar

Lei WANG realei

  • IBM
  • Beijing
View GitHub Profile
@christopher-hopper
christopher-hopper / vm-resize-hard-disk.md
Last active Jan 1, 2021
Resize a Hard Disk for a Virtual Machine provisioned using Vagrant from a Linux base box to run using VirutalBox.
View vm-resize-hard-disk.md

Resize a Hard Disk for a Virtual Machine

Our Virtual Machines are provisioned using Vagrant from a Linux base box to run using VirutalBox. If the Hard Disk space runs out and you cannot remove files to free-up space, you can resize the Hard Disk using some VirtualBox and Linux commands.

Some assumptions

The following steps assume you've got a set-up like mine, where: