VirtualBox How to Resize Hard Drive

VBoxManage modifyhd XP.vdi --resize 15000

VBoxManage modifyhd XP.vdi --resize 15000
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

That resizes the virtual hard drive image "XP.vdi" to 15000MB instantly.

I doubt this is safe to do while the VM is running and I'm not sure if it would attempt it  still but turn the VM off first to be safe.

I also notice in the VBOX GUI that it still shows the original 10GB size but this will probably update if I close and reopen it (just double clilcking on the storage for that VM will update it).


Tags:

virtualbox, resize, drivevboxmanage, modifyhd, xp, vdi, vboxmanage, resizes, virtual, quot, mb, instantly, vm, vbox, gui, gb, update, reopen, clilcking,

Latest Articles

  • Cisco Router Setup Guide and Tutorial Howto With Commands and Examples
  • Linux Bash Script To List All Connected IPs and their network name
  • Cisco Switches How To Get Of Port Line Status Console Messages
  • Cisco DHCP Snooping Relay Setup Information
  • Cisco Switch Setup Guide Command List
  • Cisco 2960 Switch Reset To Factory Defaults
  • How To Boot Cisco CUCM UCSInstall 8.6, 10, 11 and 12 on KVM/Proxmox
  • VBOX VirtualBox How To Import Raw .img Disk File
  • Windows Server 2012, 2016, 2019 How To Install and Missing Disabled Telnet Client
  • proxmox vm networking breaks when you restart your network on the hostnode
  • Linux ln symlink how to update existing symbolic link
  • Ubuntu 18.04 / Linux Mint 19.1 Cannot Type or Login - solution
  • LUKS Hard Drive Encryption on Linux Mint Ubuntu Debian etc how to mount encrypted hard drive
  • How to use nmap locate other machines/computers/servers on your network using nmap
  • Linux Mint 18.2 Create Config File To Start Application Upon Login
  • Dell Wyse Thin Client BIOS Access Key
  • sudoers file in /etc warning about comments/includes!
  • Centos 7 Reallocate logical volume space to another
  • lvm how to reduce volume size
  • letsencrypt certbot error "Unable to find a virtual host listening on port 80 which is currently needed for Certbot to prove to the CA that you control your domain. Please add a virtual host for port 80."