LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 07-06-2015, 03:53 AM   #1
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Rep: Reputation: 11
Post Convert Virtual Machine from VirtualBox to Physical Machine.


Hello.
How can I convert my VM from VB to a Physical Machine? It is a Windows Guest and that I want to convert it into real machine.

Thank you.
 
Old 07-06-2015, 04:13 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,804

Rep: Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306
I do not think that was possible.
 
Old 07-06-2015, 04:22 AM   #3
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Windows tends to be very tied to the hardware it is installed upon so even if you could convert the virtual image and install it on a real hard drive chances are Windows wouldn't start or would have all kinds of driver problems.
With a Linux VM conversion should be fairly easy since by default most distributions install all kinds of drivers for hardware not on the system.
 
Old 07-06-2015, 02:45 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
You convert windows guest like you would for any windows physical to physical. The only difference is you either need to correct the HAL either before or after. If you are going from same cpu on a modern vm to the same exact cpu in the new host it may be rather easy.

Start at technet. If you use things like redobackup or clonezilla then you will have to fix hal on first boot. (or correct it before you move)
 
Old 07-07-2015, 04:27 AM   #5
erast
LQ Newbie
 
Registered: May 2014
Posts: 12

Rep: Reputation: Disabled
I know VMware has a tool that can convert a pyhsical machine into a virtual one, but I don't think that you can do that with VirtualBox.
 
Old 07-07-2015, 05:00 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
For almost all situations a virtual machine is really a physical machine. Don't let the software confuse you. The VM is a software creation of a real computer.

In this case the issue is a HAL (hardware abstraction layer) and may be a legal or authentication issue with MS.
 
Old 07-08-2015, 12:28 PM   #7
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by jefro View Post
For almost all situations a virtual machine is really a physical machine. Don't let the software confuse you. The VM is a software creation of a real computer.

In this case the issue is a HAL (hardware abstraction layer) and may be a legal or authentication issue with MS.
That being my point. If you dd the contents of a Windows install onto another hard drive I have my doubts it would boot first time (As an aside I'm pretty sure newer Debian and related installs won't either, for slightly different reasons). I would expect to at least have to repair the bootloader. Then you may have issues with WGA type things meaning having to call MS to obtain a new license key. That's before the problems which may be encountered due to missing drivers.
 
Old 07-08-2015, 03:21 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
MS's technet pages and support pages talks about the various ways to do this. Depends on the version of windows. Depends on how the OP installed the OS. I'd assume they have a full copy in order to install and authenticate if newer. Pages like this may also help. http://www.sevenforums.com/tutorials...-computer.html

Without knowing the version and condition of the OS we can't guess if it will work correct.

Last edited by jefro; 07-08-2015 at 05:35 PM.
 
Old 07-12-2015, 03:43 AM   #9
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
It is Windows server 2008 R2.
 
Old 07-13-2015, 03:52 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
http://serverfault.com/questions/370...server-2008-r2

https://technet.microsoft.com/en-us/.../dd759159.aspx

For domains and some data bases you have to use some extra steps.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to know the remote machine is Virtual machine or physical machine pantdk Linux - Server 19 10-16-2014 01:48 PM
Cloning a virtualbox machine to physical machine with clonezilla eboy98 Linux - General 6 01-14-2013 08:32 AM
Create a virtual image of a physical machine mande01 Linux - Virtualization and Cloud 5 02-27-2012 03:09 PM
Is This Machine Physical or Virtual? unixanalyst Linux - Hardware 5 10-11-2009 04:24 AM
Convert Physical Linux install to virtual machine linuxroks88 Linux - Server 1 12-20-2008 06:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 02:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration