- Midnight Commander remote connect via Shell link (copy files over SSH) and SFTP link using FISH and public key authentication - Mon, Jan 17 2022
- Root login via SSH and SFTP on EC2 instances running Linux - Wed, Jan 12 2022
- Poll: Will you deploy Windows 11 in 2022? - Mon, Jan 10 2022
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.