Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


virtualbox_general_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
virtualbox_general_notes [2017/09/14 14:13] juckinsvirtualbox_general_notes [2018/01/10 10:22] juckins
Line 2: Line 2:
  
 __How to resize a Virtual Drive__\\ __How to resize a Virtual Drive__\\
 +  * The following was tested with VBox 5.1.26
   * Shutdown the VM you want to resize   * Shutdown the VM you want to resize
   * Navigate to the .vdi file you want to resize   * Navigate to the .vdi file you want to resize
   * Make a backup copy of the .vdi file   * Make a backup copy of the .vdi file
 +  * Run a command like this (example for 30GB drive)
  
-  VBoxManage modifyhd <absolute path including the name and extension> --resize 20480+  VBoxManage modifyhd /path/to/file.vdi --resize 30000 
 +   
 +Note, if you have a vmdk file you need to follow this [[https://stackoverflow.com/questions/11659005/how-to-resize-a-virtualbox-vmdk-file|(see this link)]] and then update the UUID following [[https://stackoverflow.com/questions/17803331/how-to-change-uuid-in-virtual-box|this link]] or navigating to $HOME/.VirtualBox/VirtualBox.xml and updating the information there (make a backup first):
  
 +  # VBoxManage clonehd "source.vmdk" "cloned.vdi" --format vdi
 +  # VBoxManage modifyhd "cloned.vdi" --resize 51200
 +  # mv source.vmdksource.vmdk.BAK 
 +  # VBoxManage clonehd "cloned.vdi" "source.vmdk" --format vmdk
  
- +  * Start VirtualBox manager 
-https://forums.virtualbox.org/viewtopic.php?f=35&t=50661\\ +  * Highlight the VM whose disk you are resizing 
-http://derekmolloy.ie/resize-a-virtualbox-disk/\\+  * Click Settings and then click storage 
 +  * Mount a virtual CDROM (gparted-live ISO that you downloaded to the host machine) 
 +  * Start the VM 
 +  * Start Gparted LIVE 
 +  * Follow the menus to resize the partition that you need to make larger 
 +  * When done, exit Gparted and unmount the CDROM 
 +  * Boot the VM and verify your changes were implemented 
 +  * Ref 1: https://forums.virtualbox.org/viewtopic.php?f=35&t=50661\\ 
 +  * Ref 2: http://derekmolloy.ie/resize-a-virtualbox-disk/\\
  
 __Possible mouse unresponsiveness issue in 5.1.18__ __Possible mouse unresponsiveness issue in 5.1.18__
virtualbox_general_notes.txt · Last modified: 2022/01/15 10:30 by juckins