Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Our server is broken and i need to import virtual disk from old server HDD to a new server.

But when i'm just selecting old hdd virtual disk to a newly created virtual PC it just stuck and gives some kind of error about UUID.

What should i do?

Thanks ;)

Update Error screenshot:

share|improve this question

This has nothing to do with VirtualBox. Other than the fact that VirtualBox caused the UUID to change when attaching to a new system. The same thing would most likely happen if this were a physical disk moved to another physical system. This is a normal Linux mount error when using UUIDs. UUIDs can change for a number of reasons, installing to another partition on the same drive, cloning the disk, etc..

The easiest 3 fixes:

  • attach and boot to a rescue live-cd iso on the broken system (the newly created virtual client).
  • Mount root
  • cat /etc/fstab - look for the UUID for / or the mount point causing the error.
  • reset the drives UUID - tune2fs /dev/sdXX -U UUID


  • attach and boot to a rescue live-cd iso on the broken system
  • Mount root
  • cat /etc/fstab - determine the mount point causing the error.
  • determine current UUID - ls -l /dev/disk/by-uuid
  • edit fstab to the new current UUID


  • attach and boot to a rescue live-cd iso on the broken system
  • Mount root
  • edit /etc/fstab - determine the mount point causing the error, rewrite into the old format /dev/sdXX (or /dev/hdXX if still using IDE on older systems)

Tinycore and Puppy Linux make great small rescue cds with web browsing support. Use Knoppix or Trinity Rescue Kit for more features.

You can always attach the "broken" system's disk to another working virtual as a secondary disk to do the above edits.

share|improve this answer

Is this added at an IDE drive or a SATA drive? I'm guessing it's sata, and you should try changing it to IDE.

share|improve this answer

A more specific problem description would be nice, but to change the uuid of the harddisk use VBoxManage internalcommands setvdiuuid disk.vdi If your problem is that it says something like "can't register harddisk with same id" (can't exactly remember the error message) then this will help. edit: not the answer, see comments

share|improve this answer
Just a moment i'll write errors here in a first post as an update. – user81611 May 16 '11 at 16:59
I'm trying to import .vmdk into a new virtual machine on a different PC. – user81611 May 16 '11 at 17:00
Do you already have a copy of that vmdk registered in vbox? – icefex May 16 '11 at 17:02
What do you mean by "registered"? I have just selected it in creation wizard of new virtual machine as a main harddisk. Should i pass through additional configuration process before starting virtual machine? – user81611 May 16 '11 at 17:07
Nope, should work that way, could you post a screenshot of the error message? – icefex May 16 '11 at 17:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.