Sie sind auf Seite 1von 24

3/4/2019 Linux P2V With DD and VHDTool – EASY and CHEAP!

HDTool – EASY and CHEAP! – John Kelbley's real life enterprise interop and administration

(http://technet.microsoft.com/)| TechNet

Linux P2V With DD and VHDTool – EASY and


CHEAP!
Rate this article ★★★★★

★★
★★★
★★★★

JohnKelbley (https://blogs.technet.microsoft.com/enterprise_admin/author/johnkelbley/) May 13, 2010

 9 (https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-with-dd-
and-vhdtool-easy-and-cheap/#comments)
0 0

https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-with-dd-and-vhdtool-easy-and-cheap/ 1/24
3/4/2019 Linux P2V With DD and VHDTool – EASY and CHEAP! – John Kelbley's real life enterprise interop and administration

https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-with-dd-and-vhdtool-easy-and-cheap/ 2/24
3/4/2019 Linux P2V With DD and VHDTool – EASY and CHEAP! – John Kelbley's real life enterprise interop and administration

https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-with-dd-and-vhdtool-easy-and-cheap/ 3/24
3/4/2019 Linux P2V With DD and VHDTool – EASY and CHEAP! – John Kelbley's real life enterprise interop and administration

https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-with-dd-and-vhdtool-easy-and-cheap/ 4/24
3/4/2019 Linux P2V With DD and VHDTool – EASY and CHEAP! – John Kelbley's real life enterprise interop and administration

https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-with-dd-and-vhdtool-easy-and-cheap/ 5/24
3/4/2019 Linux P2V With DD and VHDTool – EASY and CHEAP! – John Kelbley's real life enterprise interop and administration

https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-with-dd-and-vhdtool-easy-and-cheap/ 6/24
3/4/2019 Linux P2V With DD and VHDTool – EASY and CHEAP! – John Kelbley's real life enterprise interop and administration

https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-with-dd-and-vhdtool-easy-and-cheap/ 7/24
3/4/2019 Linux P2V With DD and VHDTool – EASY and CHEAP! – John Kelbley's real life enterprise interop and administration

https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-with-dd-and-vhdtool-easy-and-cheap/ 8/24
3/4/2019 Linux P2V With DD and VHDTool – EASY and CHEAP! – John Kelbley's real life enterprise interop and administration

https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-with-dd-and-vhdtool-easy-and-cheap/ 9/24
3/4/2019 Linux P2V With DD and VHDTool – EASY and CHEAP! – John Kelbley's real life enterprise interop and administration

https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-with-dd-and-vhdtool-easy-and-cheap/ 10/24
3/4/2019 Linux P2V With DD and VHDTool – EASY and CHEAP! – John Kelbley's real life enterprise interop and administration

https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-with-dd-and-vhdtool-easy-and-cheap/ 11/24
3/4/2019 Linux P2V With DD and VHDTool – EASY and CHEAP! – John Kelbley's real life enterprise interop and administration

https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-with-dd-and-vhdtool-easy-and-cheap/ 12/24
3/4/2019 Linux P2V With DD and VHDTool – EASY and CHEAP! – John Kelbley's real life enterprise interop and administration

https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-with-dd-and-vhdtool-easy-and-cheap/ 13/24
3/4/2019 Linux P2V With DD and VHDTool – EASY and CHEAP! – John Kelbley's real life enterprise interop and administration

https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-with-dd-and-vhdtool-easy-and-cheap/ 14/24
3/4/2019 Linux P2V With DD and VHDTool – EASY and CHEAP! – John Kelbley's real life enterprise interop and administration

https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-with-dd-and-vhdtool-easy-and-cheap/ 15/24
3/4/2019 Linux P2V With DD and VHDTool – EASY and CHEAP! – John Kelbley's real life enterprise interop and administration

https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-with-dd-and-vhdtool-easy-and-cheap/ 16/24
3/4/2019 Linux P2V With DD and VHDTool – EASY and CHEAP! – John Kelbley's real life enterprise interop and administration

https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-with-dd-and-vhdtool-easy-and-cheap/ 17/24
3/4/2019 Linux P2V With DD and VHDTool – EASY and CHEAP! – John Kelbley's real life enterprise interop and administration

https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-with-dd-and-vhdtool-easy-and-cheap/ 18/24
3/4/2019 Linux P2V With DD and VHDTool – EASY and CHEAP! – John Kelbley's real life enterprise interop and administration

https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-with-dd-and-vhdtool-easy-and-cheap/ 19/24
3/4/2019 Linux P2V With DD and VHDTool – EASY and CHEAP! – John Kelbley's real life enterprise interop and administration

https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-with-dd-and-vhdtool-easy-and-cheap/ 20/24
3/4/2019 Linux P2V With DD and VHDTool – EASY and CHEAP! – John Kelbley's real life enterprise interop and administration

Tags Backup and Recovery (https://blogs.technet.microsoft.com/enterprise_admin/tag/backup-and-recovery/) FREE


(https://blogs.technet.microsoft.com/enterprise_admin/tag/free/) Hyper-V
(https://blogs.technet.microsoft.com/enterprise_admin/tag/hyper-v/) Linux
(https://blogs.technet.microsoft.com/enterprise_admin/tag/linux/) P2V
(https://blogs.technet.microsoft.com/enterprise_admin/tag/p2v/)

Comments (9)

You must be logged in (https://blogs.technet.microsoft.com/enterprise_admin/wp-login.php?


redirect_to=https%3A%2F%2Fblogs.technet.microsoft.com%2Fenterprise_admin%2F2010%2F05%2F13%2Flinux-p2v-
with-dd-and-vhdtool-easy-and-cheap%2F) to post a comment.

Anonymous
February 21, 2019 at 5:34 am (https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-
p2v-with-dd-and-vhdtool-easy-and-cheap/#comment-83)
Worked perfectly on my CentOS 6.3 server, thanks !
https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-with-dd-and-vhdtool-easy-and-cheap/ 21/24
3/4/2019 Linux P2V With DD and VHDTool – EASY and CHEAP! – John Kelbley's real life enterprise interop and administration

Log in to Reply (https://blogs.technet.microsoft.com/enterprise_admin/wp-login.php?


redirect_to=https%3A%2F%2Fblogs.technet.microsoft.com%2Fenterprise_admin%2F2010%2F05%2F13%2Flinux-
p2v-with-dd-and-vhdtool-easy-and-cheap%2F)

JohnKelbley
February 21, 2019 at 5:34 am (https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-
p2v-with-dd-and-vhdtool-easy-and-cheap/#comment-203)
Yes, that would be super, but since Linux does not have VSS support, that's not going to happen any time
soon!

Using DD and VHDTool is almost as easy (could only be easier if Windows was the source Operating System
and disk2VHD was usable!).

-John

Log in to Reply (https://blogs.technet.microsoft.com/enterprise_admin/wp-login.php?


redirect_to=https%3A%2F%2Fblogs.technet.microsoft.com%2Fenterprise_admin%2F2010%2F05%2F13%2Flinux-
p2v-with-dd-and-vhdtool-easy-and-cheap%2F)

hassan sayed issa20014 (https://social.technet.microsoft.com/profile/hassan+sayed+issa20014)


February 21, 2019 at 5:34 am (https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-
p2v-with-dd-and-vhdtool-easy-and-cheap/#comment-223)
thanks

Log in to Reply (https://blogs.technet.microsoft.com/enterprise_admin/wp-login.php?


redirect_to=https%3A%2F%2Fblogs.technet.microsoft.com%2Fenterprise_admin%2F2010%2F05%2F13%2Flinux-
p2v-with-dd-and-vhdtool-easy-and-cheap%2F)

Anonymous
February 21, 2019 at 5:34 am (https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-
p2v-with-dd-and-vhdtool-easy-and-cheap/#comment-1033)
I used DD to img my linux server ,it's 589GB. what should I do? thx

Log in to Reply (https://blogs.technet.microsoft.com/enterprise_admin/wp-login.php?


redirect_to=https%3A%2F%2Fblogs.technet.microsoft.com%2Fenterprise_admin%2F2010%2F05%2F13%2Flinux-
p2v-with-dd-and-vhdtool-easy-and-cheap%2F)

tonyr
May 28, 2010 at 4:55 pm (https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-
with-dd-and-vhdtool-easy-and-cheap/#comment-1053)
we need a linux version of disk2vhd!

Log in to Reply (https://blogs.technet.microsoft.com/enterprise_admin/wp-login.php?


redirect_to=https%3A%2F%2Fblogs.technet.microsoft.com%2Fenterprise_admin%2F2010%2F05%2F13%2Flinux-
p2v-with-dd-and-vhdtool-easy-and-cheap%2F)

youfoobar
February 5, 2012 at 1:44 am (https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-
with-dd-and-vhdtool-easy-and-cheap/#comment-593)
I followed this awesome guide but came across a few roadblocks along the way. I posted my troubles and
what I did to get a locked down linux distro into hyper-v here: youfoobar.wordpress.com
(http://youfoobar.wordpress.com/)

Log in to Reply (https://blogs.technet.microsoft.com/enterprise_admin/wp-login.php?


redirect_to=https%3A%2F%2Fblogs.technet.microsoft.com%2Fenterprise_admin%2F2010%2F05%2F13%2Flinux-
p2v-with-dd-and-vhdtool-easy-and-cheap%2F)

https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-with-dd-and-vhdtool-easy-and-cheap/ 22/24
3/4/2019 Linux P2V With DD and VHDTool – EASY and CHEAP! – John Kelbley's real life enterprise interop and administration

RODNEY
September 2, 2012 at 3:27 am (https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-
p2v-with-dd-and-vhdtool-easy-and-cheap/#comment-343)
This was a very useful bit of info, thanks. I did kind of lose a lot of respect when I saw a Miley Cyrus Linux
Background, however.

Log in to Reply (https://blogs.technet.microsoft.com/enterprise_admin/wp-login.php?


redirect_to=https%3A%2F%2Fblogs.technet.microsoft.com%2Fenterprise_admin%2F2010%2F05%2F13%2Flinux-
p2v-with-dd-and-vhdtool-easy-and-cheap%2F)

achomjak
April 24, 2013 at 7:15 pm (https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-
with-dd-and-vhdtool-easy-and-cheap/#comment-173)
followed the above network example but the booted vhd file cannot find a valid partition.

Log in to Reply (https://blogs.technet.microsoft.com/enterprise_admin/wp-login.php?


redirect_to=https%3A%2F%2Fblogs.technet.microsoft.com%2Fenterprise_admin%2F2010%2F05%2F13%2Flinux-
p2v-with-dd-and-vhdtool-easy-and-cheap%2F)

Roy
April 4, 2014 at 8:02 pm (https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-
with-dd-and-vhdtool-easy-and-cheap/#comment-903)
Something simple that worked for me using Windows Server 2012 R2 with Hyper-V is to take the physical
Linux disk and put it into the Windows Server 2012 machine (I did via USB3), then in Hyper-V Manager
under Actions in the top right column click New -> Hard Disk -> then go through the menu. I made Disk
format=VHD, Disk Type=Dynamic, Then in Configure Disk choose Copy the contents of a physical disk and
then choose your Linux disk from the list it gives. Once you click finish on that menu it will start making the
VHD. A progress bar will show the progress. It took about an hour for a 100GB drive. Then I attached the
new VHD to a Hyper-V VM and it booted right up. It had to reboot itself to adjust to the new "hardware"
settings but has seemed to work well so far. Installed the Linux Integration Service after it was running. I did
it with CentOS 6.3

Log in to Reply (https://blogs.technet.microsoft.com/enterprise_admin/wp-login.php?


redirect_to=https%3A%2F%2Fblogs.technet.microsoft.com%2Fenterprise_admin%2F2010%2F05%2F13%2Flinux-
p2v-with-dd-and-vhdtool-easy-and-cheap%2F)

Follow Us

 (https://blogs.technet.microsoft.com/enterprise_admin/feed/)

Popular Tags
Hyper-V (https://blogs.technet.microsoft.com/enterprise_admin/tag/hyper-v/)

FREE (https://blogs.technet.microsoft.com/enterprise_admin/tag/free/)

Backup and Recovery (https://blogs.technet.microsoft.com/enterprise_admin/tag/backup-and-recovery/)

Windows Server 2012 R2 (https://blogs.technet.microsoft.com/enterprise_admin/tag/windows-server-2012-


r2/)

Linux (https://blogs.technet.microsoft.com/enterprise_admin/tag/linux/)

Storage (https://blogs.technet.microsoft.com/enterprise_admin/tag/storage/)

https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-with-dd-and-vhdtool-easy-and-cheap/ 23/24
3/4/2019 Linux P2V With DD and VHDTool – EASY and CHEAP! – John Kelbley's real life enterprise interop and administration

Tiered Storage (https://blogs.technet.microsoft.com/enterprise_admin/tag/tiered-storage/)

Hyper-V Replica (https://blogs.technet.microsoft.com/enterprise_admin/tag/hyper-v-replica/)

P2V (https://blogs.technet.microsoft.com/enterprise_admin/tag/p2v/)

WMI (https://blogs.technet.microsoft.com/enterprise_admin/tag/wmi/)

Unified Communications (https://blogs.technet.microsoft.com/enterprise_admin/tag/unified-communications/)

Lync (https://blogs.technet.microsoft.com/enterprise_admin/tag/lync/)

Archives
December 2013 (https://blogs.technet.microsoft.com/enterprise_admin/2013/12/) (6)
July 2013 (https://blogs.technet.microsoft.com/enterprise_admin/2013/07/) (6)
All of 2013 (https://blogs.technet.microsoft.com/enterprise_admin/2013/) (12)
All of 2011 (https://blogs.technet.microsoft.com/enterprise_admin/2011/) (2)
All of 2010 (https://blogs.technet.microsoft.com/enterprise_admin/2010/) (23)
All of 2009 (https://blogs.technet.microsoft.com/enterprise_admin/2009/) (16)

Privacy (https://privacy.microsoft.com) Terms of Use (https://msdn.microsoft.com/cc300389)


Trademarks (https://www.microsoft.com/en-us/legal/intellectualproperty/Trademarks/EN-US.aspx)
(https://www.microsoft.com)
© 2019 Microsoft

https://blogs.technet.microsoft.com/enterprise_admin/2010/05/13/linux-p2v-with-dd-and-vhdtool-easy-and-cheap/ 24/24

Das könnte Ihnen auch gefallen