Hallo,
ich würde gern eine bestehende virtuelle Maschine auf eine neuen Platte umziehen. Was ist dabei zu beachten? Man findet diverse Anleitungen dazu, aber die sind meist älter bzw.auch alle unterschiedlich. Von "einfach kopieren" bis "virtuelle Platte auhängen" über "xml-Dateien editieren". Wie genau funktioniert es denn nun?
Gruß
virtuelle Maschine auf neue Platte umziehen
-
- Volunteer
- Posts: 7639
- Joined: 7. Jun 2007, 21:53
Re: virtuelle Maschine auf neue Platte umziehen
Die einfachste Lösung: Die VDI Datei (virtuelle Festplatte des Gastes) auf den neue Rechner kopieren. Dort einen neuen Gast anlegen. Aber eben im Laufe der Einrichtung keine neue Festplatte erzeugen, sondern auf die kopierte verweisen.
Bei Windows 10 Gästen nicht ideal, die müssten neu aktiviert werden.
Bei Windows 10 Gästen nicht ideal, die müssten neu aktiviert werden.
German Howto (Linux): http://www.linuxforen.de/forums/showthread.php?t=236444
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669
-
- Posts: 2
- Joined: 1. Apr 2020, 07:18
Re: virtuelle Maschine auf neue Platte umziehen
Und kriegt man das auch hin ohne Neuaktivierung?
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: virtuelle Maschine auf neue Platte umziehen
Moving just the vdi file is like taking the disk drive out of one computer and putting it into another. The hardware might, probably will, be different. The 'motherboard' ID code will almost certainly be different, and reactivation will most likely be necessary.
However, if your source VM is a Virtualbox VM, you can copy the whole guest folder (including the guest's .vbox file, the guest's virtual disk file, and the Logs and Snapshots subfolders) to the destination PC, then register the guest's .vbox file in the main Virtualbox window, using Machine menu > Add. No reactivation should be necessary, since the .vbox file contains the hardware 'recipe' and all the UUIDs that are used for activation purposes.
If the guest's virtual disk file is not in the guest's folder along with the .vbox file, then the path in the .vbox file to the guest virtual drive file is absolute, not relative. the existing path to the disk file on the source PC must be duplicated on the destination PC, or the .vbox file path must be manually edited.
However, if your source VM is a Virtualbox VM, you can copy the whole guest folder (including the guest's .vbox file, the guest's virtual disk file, and the Logs and Snapshots subfolders) to the destination PC, then register the guest's .vbox file in the main Virtualbox window, using Machine menu > Add. No reactivation should be necessary, since the .vbox file contains the hardware 'recipe' and all the UUIDs that are used for activation purposes.
If the guest's virtual disk file is not in the guest's folder along with the .vbox file, then the path in the .vbox file to the guest virtual drive file is absolute, not relative. the existing path to the disk file on the source PC must be duplicated on the destination PC, or the .vbox file path must be manually edited.