public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] clone XP-Virtual to a file
@ 2014-09-11  2:37 Joseph
  2014-09-11  2:47 ` Poison BL.
  2014-09-13 21:02 ` [gentoo-user] " Hans
  0 siblings, 2 replies; 5+ messages in thread
From: Joseph @ 2014-09-11  2:37 UTC (permalink / raw
  To: gentoo-user

How to close virtualbox machine (windows xp) to a file?
I need to transfer it to another box.

I made some notes but they are old so I'm not sure if they are applicable or there is an easier way.

===========
1) Shut down the virtual machine you would like to copy
2) In File > Virtual Media Manager, select the virtual machine disk image you would like to copy, and press the Release button
3) In a terminal window, issue following command (see virtualbox user manual):

VBoxManage clonehd (complete-path)/directory/image1.vdi (complete_path)/directory/image2.vdi
VBoxManage clonehd /home/thelma/.VirtualBox/HardDisk/xp-clinic.vdi /home/thelma/xp-clinic.vdi

4) In File > Virtualdiskmanager, add the new disk image you've created in step 3.
5) In the main virtualbox window, press the New button to create a new virtual machine, and link it to the new disk image you've created.

To re-attache the vdi:
Next we have to undo the Release we did before so that we can continue using our Virtual Machine. In VirtualBox main Window select the Virtual Machine (1) and press the 
Settings button (2). Go to Storage (3) IDE Controller (left window - empty); "right click" on "IDE Controller" and press the Add Hard Disk button (in the left window 
(4). Here select your initial .vdi file (5) and your Virtual Machine will be ok.
============

I've noticed there is a "Clone" menu.  Do I use it and just tar.gz entire folder to a new machine?

-- 
Joseph


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] clone XP-Virtual to a file
  2014-09-11  2:37 [gentoo-user] clone XP-Virtual to a file Joseph
@ 2014-09-11  2:47 ` Poison BL.
  2014-09-11  4:08   ` J. Roeleveld
  2014-09-11  4:31   ` Joseph
  2014-09-13 21:02 ` [gentoo-user] " Hans
  1 sibling, 2 replies; 5+ messages in thread
From: Poison BL. @ 2014-09-11  2:47 UTC (permalink / raw
  To: gentoo-user

On Wed, Sep 10, 2014 at 10:37 PM, Joseph <syscon780@gmail.com> wrote:
> How to close virtualbox machine (windows xp) to a file?
> I need to transfer it to another box.
>
> I made some notes but they are old so I'm not sure if they are applicable or
> there is an easier way.
>
> ===========
> 1) Shut down the virtual machine you would like to copy
> 2) In File > Virtual Media Manager, select the virtual machine disk image
> you would like to copy, and press the Release button
> 3) In a terminal window, issue following command (see virtualbox user
> manual):
>
> VBoxManage clonehd (complete-path)/directory/image1.vdi
> (complete_path)/directory/image2.vdi
> VBoxManage clonehd /home/thelma/.VirtualBox/HardDisk/xp-clinic.vdi
> /home/thelma/xp-clinic.vdi
>
> 4) In File > Virtualdiskmanager, add the new disk image you've created in
> step 3.
> 5) In the main virtualbox window, press the New button to create a new
> virtual machine, and link it to the new disk image you've created.
>
> To re-attache the vdi:
> Next we have to undo the Release we did before so that we can continue using
> our Virtual Machine. In VirtualBox main Window select the Virtual Machine
> (1) and press the Settings button (2). Go to Storage (3) IDE Controller
> (left window - empty); "right click" on "IDE Controller" and press the Add
> Hard Disk button (in the left window (4). Here select your initial .vdi file
> (5) and your Virtual Machine will be ok.
> ============
>
> I've noticed there is a "Clone" menu.  Do I use it and just tar.gz entire
> folder to a new machine?
>
> --
> Joseph
>

File -> Export Appliance
<copy to the new system>
File -> Import Appliance
<verify that settings carried over right>

It should carry the configuration over fairly completely, though it's
been a long while since I last used it, and I've not tested it between
overly diverse host hardware.

-- 
Poison [BLX]
Joshua M. Murphy


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] clone XP-Virtual to a file
  2014-09-11  2:47 ` Poison BL.
@ 2014-09-11  4:08   ` J. Roeleveld
  2014-09-11  4:31   ` Joseph
  1 sibling, 0 replies; 5+ messages in thread
From: J. Roeleveld @ 2014-09-11  4:08 UTC (permalink / raw
  To: gentoo-user

On 11 September 2014 04:47:31 CEST, "Poison BL." <poisonbl@gmail.com> wrote:
>On Wed, Sep 10, 2014 at 10:37 PM, Joseph <syscon780@gmail.com> wrote:
>> How to close virtualbox machine (windows xp) to a file?
>> I need to transfer it to another box.
>>
>> I made some notes but they are old so I'm not sure if they are
>applicable or
>> there is an easier way.
>>
>> ===========
>> 1) Shut down the virtual machine you would like to copy
>> 2) In File > Virtual Media Manager, select the virtual machine disk
>image
>> you would like to copy, and press the Release button
>> 3) In a terminal window, issue following command (see virtualbox user
>> manual):
>>
>> VBoxManage clonehd (complete-path)/directory/image1.vdi
>> (complete_path)/directory/image2.vdi
>> VBoxManage clonehd /home/thelma/.VirtualBox/HardDisk/xp-clinic.vdi
>> /home/thelma/xp-clinic.vdi
>>
>> 4) In File > Virtualdiskmanager, add the new disk image you've
>created in
>> step 3.
>> 5) In the main virtualbox window, press the New button to create a
>new
>> virtual machine, and link it to the new disk image you've created.
>>
>> To re-attache the vdi:
>> Next we have to undo the Release we did before so that we can
>continue using
>> our Virtual Machine. In VirtualBox main Window select the Virtual
>Machine
>> (1) and press the Settings button (2). Go to Storage (3) IDE
>Controller
>> (left window - empty); "right click" on "IDE Controller" and press
>the Add
>> Hard Disk button (in the left window (4). Here select your initial
>.vdi file
>> (5) and your Virtual Machine will be ok.
>> ============
>>
>> I've noticed there is a "Clone" menu.  Do I use it and just tar.gz
>entire
>> folder to a new machine?
>>
>> --
>> Joseph
>>
>
>File -> Export Appliance
><copy to the new system>
>File -> Import Appliance
><verify that settings carried over right>
>
>It should carry the configuration over fairly completely, though it's
>been a long while since I last used it, and I've not tested it between
>overly diverse host hardware.

This works. Done it myself with 20+ VMs when switching laptops beginning of this year.

I would advise against the steps Joseph has. Those are outdated and can easily lead to errors.

The Host hardware does not matter. As long as the target host has (at least) the same virtualisation support as the source host. If it doesn't,  you might not be able to start 64bit VMs.

If the VM has devices assigned to it from the Host. Ensure those get moved along or replaced with similar devices. 

I also have serious concerns over the continued use of Windows XP as this is ancient technology that has, finally, been dumped by its creator. But that is not relecant to the question.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] clone XP-Virtual to a file
  2014-09-11  2:47 ` Poison BL.
  2014-09-11  4:08   ` J. Roeleveld
@ 2014-09-11  4:31   ` Joseph
  1 sibling, 0 replies; 5+ messages in thread
From: Joseph @ 2014-09-11  4:31 UTC (permalink / raw
  To: gentoo-user

On 09/10/14 22:47, Poison BL. wrote:

[snip]
>>
>> I've noticed there is a "Clone" menu.  Do I use it and just tar.gz entire
>> folder to a new machine?
>>
>> --
>> Joseph
>>
>
>File -> Export Appliance
><copy to the new system>
>File -> Import Appliance
><verify that settings carried over right>
>
>It should carry the configuration over fairly completely, though it's
>been a long while since I last used it, and I've not tested it between
>overly diverse host hardware.
>
>-- 
>Poison [BLX]
>Joshua M. Murphy

Yes, it worked perfectly; thank you!

-- 
Joseph


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user] Re: clone XP-Virtual to a file
  2014-09-11  2:37 [gentoo-user] clone XP-Virtual to a file Joseph
  2014-09-11  2:47 ` Poison BL.
@ 2014-09-13 21:02 ` Hans
  1 sibling, 0 replies; 5+ messages in thread
From: Hans @ 2014-09-13 21:02 UTC (permalink / raw
  To: gentoo-user

On 11/09/14 03:37, Joseph wrote:
> How to close virtualbox machine (windows xp) to a file?
> I need to transfer it to another box.
>
> I made some notes but they are old so I'm not sure if they are
> applicable or there is an easier way.
>
> ===========
> 1) Shut down the virtual machine you would like to copy
> 2) In File > Virtual Media Manager, select the virtual machine disk
> image you would like to copy, and press the Release button
> 3) In a terminal window, issue following command (see virtualbox user
> manual):
>
> VBoxManage clonehd (complete-path)/directory/image1.vdi
> (complete_path)/directory/image2.vdi
> VBoxManage clonehd /home/thelma/.VirtualBox/HardDisk/xp-clinic.vdi
> /home/thelma/xp-clinic.vdi
>
> 4) In File > Virtualdiskmanager, add the new disk image you've created
> in step 3.
> 5) In the main virtualbox window, press the New button to create a new
> virtual machine, and link it to the new disk image you've created.
>
> To re-attache the vdi:
> Next we have to undo the Release we did before so that we can continue
> using our Virtual Machine. In VirtualBox main Window select the Virtual
> Machine (1) and press the Settings button (2). Go to Storage (3) IDE
> Controller (left window - empty); "right click" on "IDE Controller" and
> press the Add Hard Disk button (in the left window (4). Here select your
> initial .vdi file (5) and your Virtual Machine will be ok.
> ============
>
> I've noticed there is a "Clone" menu.  Do I use it and just tar.gz
> entire folder to a new machine?
>
I use this method without cloning. This means that only one VM can run 
at a time:

Shutdown the VM on PC-1.
Copy the directory '~/VirtualBox VM's' from PC-1 to PC-2.
Import the VM into VirtualBox on PC-2.
Start the VM on PC-2.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-09-13 21:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-11  2:37 [gentoo-user] clone XP-Virtual to a file Joseph
2014-09-11  2:47 ` Poison BL.
2014-09-11  4:08   ` J. Roeleveld
2014-09-11  4:31   ` Joseph
2014-09-13 21:02 ` [gentoo-user] " Hans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox