Google Plus

How-To: Clone or Copy a Virtual Disk in Virtualbox

Written by Mel Kham on . Posted in Linux tutorials

This problem happened to me  when i tried to duplicate disks on Virtualbox , i wanted to share this information with you so if you got this issue you know how to resolve it:)

 

 

 

first i  made a copy of working image  VDI using the command :

pirat9@linux-ab6e:~/.VirtualBox/HardDisks> cp   ubuntu.vdi  ubuntu2.vdi

 

Then i tried to create a new guest OS  with  this  ubuntu2.dvi  disk :

To  reslove  this  issue  . you  have  to  make  a  diffecrent  UUID  for  the  cloned  disk

Open terminal and go to the directory  where the  new  disk  exist and  type this  command  :

VBoxManage internalcommands sethduuid

Output

pirat9@linux-ab6e:~/.VirtualBox/HardDisks> VBoxManage internalcommands sethduuid    ubuntu2.vdi
Sun VirtualBox Command Line Management Interface Version 3.1.4
(C) 2005-2010 Sun Microsystems, Inc.
All rights reserved.

UUID changed to: d7e1f066-aa02-45ef-a50a-ada4e7ae8d4a

pirat9@linux-ab6e:~/.VirtualBox/HardDisks>

 

Now try again to add the disk, is working :)

{loadposition user9}

Related Articles By Tags:

{loadposition user1}

For questions please refer to our Q/A forum at : http://ask.unixmen.com

Mel Kham

Founder of Unixmen, Living in Amsterdam. Am working in my free time to help people to understand the Opensource and to explain them in easy way how to make the fist steps to the the light. Working day and night with my Co-founder Zinovsky to keep this website live even with less resources.

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

Bjarni

|

Excellent, thanx!

Ambiton

|

Thank you very much Chris :)

Lolman

|

in cmd

Oliver

|

Do you think that it works on a Macbook Air 1,1?… ohh and, it must be installed in a different partition than Mac OS X, right?… can´t have i installed only Ubuntu on my hard drive?

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .