LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-07-2016, 02:36 AM   #1
aar
LQ Newbie
 
Registered: Jul 2016
Posts: 1

Rep: Reputation: Disabled
how to convert linux physical machine to vhd


how to convert linux physical machine to vhd
 
Old 07-07-2016, 10:06 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,504

Rep: Reputation: 3992Reputation: 3992Reputation: 3992Reputation: 3992Reputation: 3992Reputation: 3992Reputation: 3992Reputation: 3992Reputation: 3992Reputation: 3992Reputation: 3992
Quote:
Originally Posted by aar View Post
how to convert linux physical machine to vhd
...and the VERY FIRST HIT in Google for your EXACT QUESTION is:
http://superuser.com/questions/41094...ux-live-system

...a step-by-step guide. Did you even TRY to look this up?
 
Old 07-07-2016, 04:35 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,859

Rep: Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301
Hello and welcome to LQ.

We are talking about linux physical here that is.

For the most part a VM is a real system so you could consider any type of way normally used to copy from one hardware to the next. That may include clone or copy or such as in dd command or live media like clonezilla. I might consider clonezilla myself. I have used G4U before over tcp/ip. Slow dd copy but worked in box I couldn't get to easily.

They do offer programs to convert physical to virtual also depending on the VM you are using. Look up P2V.
The P2V programs also may correct driver issues. Not all physical installs have all the drivers by default for a virtual client.

One might consider a full clean install to a VM also from the original sources. Just move data to vm client.

A dd image is a true raw drive and could be converted to almost any virtual format. You'd need to import that to a vm client or attach it. It could be run as raw too.

One could copy using a file by file method. Just recreate the loader and copy the files. Generally fast.

Last edited by jefro; 07-07-2016 at 04:36 PM.
 
Old 07-07-2016, 05:38 PM   #4
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,144

Rep: Reputation: 192Reputation: 192
What I had tried is CloneZilla, then load CloneZilla to Hyper-V.

Once you have Hyper-V, then you can export it as VHD.

Do some test first before rolling out to production.

Good luck!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Convert Virtual Machine from VirtualBox to Physical Machine. hack3rcon Linux - Virtualization and Cloud 9 07-13-2015 03:52 PM
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
Convert Physical Linux install to virtual machine linuxroks88 Linux - Server 1 12-20-2008 06:01 PM
LXer: Convert Physical Windows Systems Into Virtual Machines To Be Run On A Linux Desktop LXer Syndicated Linux News 0 02-20-2007 05:31 PM


All times are GMT -5. The time now is 08:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration