Q - Transfer activated VirtualBox VM (Windows 10) to new host

Discussion in 'Virtualization' started by sr71, Mar 6, 2017.

  1. sr71

    sr71 MDL Junior Member

    May 9, 2008
    85
    0
    0
    I ran a Win 10 VM on my Linux server for more than a year
    (activated from a BIOS modded VirtualBox through Windows 7 upgrade).
    The mainboard of the computer (homeserver) broke.
    Windows 7 was easy to transfer and booted activated as I just had
    to set the SLIC Bios in VB.
    For Windows 10 it does not work that way.
    OS is Ubuntu 16.04 and Virtualbox is 5.0.32.
    I tried to create a empty Win10 Vm and then move my old files there but was not activated.
    Even so I put the SLIC BIOS in the correct place.

    Any ideas would be welcome - I need Windows 10 only to run some special programms that does not work on Linux.
     
  2. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    15,712
    22,633
    340
    Virtual machines are defined by the ID strings from BIOS/UEFI and any drives. When starting an already existing VM in VMware i get asked whether i 'Moved it' or 'Copied it'. The first would conserve all IDs, so it's the same machine and activation should prevail. The latter would result in new IDs and a completely different virtual hardware with no activation.

    Doesn't have VBox a similiar feature :g:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    17,697
    15,689
    340
    Looks like you've forgotten all those findings about Windows 8 KMS:CSVLK server VM dumps.

    :rolleyes::hug2:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    15,712
    22,633
    340
    Became obviously rusty. Can remember VMware related stuff, but since i don't use VBox, there's not much to remember i fear.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    17,697
    15,689
    340
    Replace the 'Machine uuid' to the created VM *.vbox file as well as in the VirtualBox.xml file (VirtualBox.xml is typically locatedin 'C:\Users\%USERNAME%\.VirtualBox') with the old one.

    :clap:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. sr71

    sr71 MDL Junior Member

    May 9, 2008
    85
    0
    0
    #6 sr71, Mar 7, 2017
    Last edited: Mar 7, 2017
    (OP)
    I use Ubuntu 16.04. On my desktop machine I found the VirtualBox.xml in ~/.config/VirtualBox but on my server I don't have such folder and file.
    On my desktop the recommended procedure worked, on the server it didn't.

    Just thought the wrong way. On the server VirtualBox is executed under user vbox. Here the files reside in /home/vbox/.config/VirtualBox
    I don't know why I did not thought about that. I guess it shouldn't be a problem now to transfer the VM from the old server.