Importieren in .vmdk und exportieren aus .vmdk von per USB angeschlossener Festplatte

Allgemeine Diskussionen über den Einsatz von VirtualBox.
Post Reply
Lisa Miller
Posts: 30
Joined: 11. Mar 2020, 02:30

Importieren in .vmdk und exportieren aus .vmdk von per USB angeschlossener Festplatte

Post by Lisa Miller »

Ich habe einen Linux Rechner als Host, auf dem ich Virtualbox 6.1.14 installiert habe.
Auf dem Rechner habe ich zu Testzwecken VMs im .vmdk Format zu laufen.
Soweit funktioniert alles wunderbar.

Nun möchte ich folgendes tun, weiss aber nicht wie man das machen kann:
# Ich möchte per USB eine Festplatte mit einem anderem Linux Betriebsystem anschließen und diese dann als .vmdk Format auf obigen Rechner importieren und auf diesem als VM verwenden
# Des weiteren möchte ich, genau das Gegenteil des soeben beschriebenen Imports machen können. Also eine als .vmdk Datei vorliegende VM, als physische Platte, auf eine per USB angeschlossene Festplatte exportieren, so das ich diese dann in einen Rechner einsetzen kann und von deser booten kann.
List of last known version of VirtualBox where DnD still works in both directions:
* viewtopic.php?t=111442

Self-explanatory display of experimental features in the GUI:
* https://www.virtualbox.org//ticket/22048

Self-explanatory display of default values in the GUI:
* https://www.virtualbox.org//ticket/22049
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Importieren in .vmdk und exportieren aus .vmdk von per USB angeschlossener Festplatte

Post by scottgus1 »

It sounds like you want to take a Virtualbox guest and transfer the guest OS to a physical PC.

This is called "Physical to Virtual" or P2V, and even though you are going virtual to physical the principles are all the same.

Web-search "P2V {your guest's OS}" and you'll see how it can be done.

To get the operating system out of the guest, use in-the-guest 3rd-party backup image software to make a disk image of the guest OS, and save that disk image to a real shared folder on the USB drive, shared by the host OS. Then use the external drive and the 3rd-party program's boot CD to restore the image to the physical PC.

It could also be possible to mount the guest's .vmdk on the host OS while the guest is shut down. Then use 3rd-party cloning software to clone the mounted vmdk disk to a USB enclosure holding the disk that the physical PC will use.
Post Reply