Can I just copy and rename a VirtualBox vm?
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------
Take control of your privacy with Proton's trusted, Swiss-based, secure services.
Choose what you need and safeguard your digital life:
Mail: https://go.getproton.me/SH1CU
VPN: https://go.getproton.me/SH1DI
Password Manager: https://go.getproton.me/SH1DJ
Drive: https://go.getproton.me/SH1CT
Music by Eric Matyas
https://www.soundimage.org
Track title: Cosmic Puzzle
--
Chapters
00:00 Can I Just Copy And Rename A Virtualbox Vm?
00:16 Accepted Answer Score 18
00:52 Answer 2 Score 2
01:07 Answer 3 Score 2
01:15 Thank you
--
Full question
https://superuser.com/questions/26092/ca...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#virtualbox
#avk47
ACCEPTED ANSWER
Score 18
No, Virtualbox will not allow you to register two VDI files with the same UUID.
Cannot register the hard disk '/home/lee/fedora-10-x86-1.vdi' with UUID {06f39a14-97e6-478c-93b9-0ade6dba48d8} because a hard disk '/home/lee/fedora-10-x86-1.vdi' with UUID {06f39a14-97e6-478c-93b9-0ade6dba48d8} already exists in the media registry ('/home/lee/.VirtualBox/VirtualBox.xml').
You will need to clone the VDI file, this copies the original VDI file and assigns a new UUID.
From the gui:
Shutdown the VM and hit 'Ctrl+Shift+C' or click the 'clone' button. (It looks like a sheep.)
Windows:
VBoxManage.exe clonevdi "<Full_path_to_org_vdi>" "<Full_path_to_new_vdi>"
Linux:
VBoxManage clonevdi <Full_path_to_org_vdi> <Full_path_to_new_vdi>
I found a tutorial here describing the process.
ANSWER 2
Score 2
I have created a simple script to clone a VirtualBox machine. It can create a clone from any snapshot. See my blog post where you can download the script.
ANSWER 3
Score 2
VirtualBox 4.1 added clone functionality via GUI yesterday.