- OpenVPN IPv6 and IPv4 configuration - Mon, Mar 1 2021
- 4sysops author and member competition 2020 - Fri, Jan 1 2021
- Assign an IPv6 address to an EC2 instance (dual stack) - Tue, Dec 15 2020
The official way to move the VirtualBox folder is to first export your virtual machines to an OVA file and then import the OVA file at the new location:
- Click File > Export Appliance.
- While holding the CTRL key, click the virtual machines you want to export.
- Choose the location of the OVA file, click Next, and then export.
- Change the Default Machine Folder under File > Preferences > General.
- Click File > Important Appliance, select the OVA file, and import.
The downside of this option is that the export and import of the OVA file is extremely slow and error prone.
The faster option is to simply move the VirtualBox folder with the virtual machines to a new location with File Explorer:
Subscribe to 4sysops newsletter!
- You can usually find the VirtualBox folder in your Documents folder. If you can’t find the folder, check File > Preferences > General > Default Machine Folder.
- Ensure that the VirtualBox VM Manager is closed and all VMs are offline. Then, move the VirtualBox folder to the new location with File Explorer.
- Open the VM Manager and remove all VMs that are marked as inaccessible: hold the CTRL key and click all VMs, and then right-click and select Remove.
- Click File > Virtual Media Manager and remove all hard drives, optical disks, and floppy disks.
- Navigate to each folder in the new VirtualBox directory in File Explorer and double-click the VBOX file to import the corresponding VM.
- Change the Default Machine folder under File > Preferences > General.
Depending on how many VMs you have, step 5 can mean a lot of click-click; however, in my experience, it will always be much faster than with the export/import method.