vboxmanage.exe clonehd

Discussions related to using VirtualBox on Windows hosts.
Post Reply
alvin@stachanov.com
Posts: 1
Joined: 26. Dec 2008, 21:07

vboxmanage.exe clonehd

Post by alvin@stachanov.com »

I am trying to clone a vdi file (ubuntu 8 ).

STEPS
1) vboxmanage.exe clonehd from.vdi to.vdi.
2) setup a new VM with the newly copied vdi.
3) I booted new machine and realized that the OS cannot be started becase of the UUID.
4) I booted the new VM with the ubuntu CD, and check the disk.
5) problem, i could not mount the sda1
6) problem, i checked and compared the /proc/partitions on both disks
7) i noticed the differences. Normal installation or ubuntu, i have in the original vdi sda1, sda2, sda5. But in the new disk, i only have sda1, sda2.

Pls. help - or provide me another way to copy the VDI
baf
Volunteer
Posts: 829
Joined: 27. Sep 2008, 06:18
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux,xp,win7
Location: Luleå or Skellefteå, Sweden

Post by baf »

Other way to copy vdi


1. use your normal copy:
copy from.vdi to.vdi

2. after that:
VBoxManage internalcommands sethduuid <filepath>


Assigns a new UUID to the given image file. This way, multiple copies
of a container can be registered.

WARNING: This is a development tool and shall only be used to analyse
problems. It is completely unsupported and will change in
incompatible ways without warning.

Good Luck
Post Reply