I
I
Ilya bow2016-12-08 10:27:54
linux
Ilya bow, 2016-12-08 10:27:54

How to extract vhd with linux to hard drive? What software to use?

Voobem hyper-v 2012 it has a virtual machine with linux I want. In general, I want to extract this vhd to a real hard drive. How to do it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Artem @Jump, 2016-12-08
@8889996

Try this tool forum.sysinternals.com/vhd2disk_topic27311.html
You can also mount a VHD image on Windows, go to disk management and make a mirror to a physical disk.
Then turn off the image, and break the mirror - as a result, you get a physical disk.
Or stupidly copy the data and restore the bootloader.
In general, there are no problems with transferring to a physical disk.
But whether the system installed on a virtual machine on real hardware will work is a question.
It all depends on a bunch of factors.
Perhaps it will start right away and just need to add some drivers, maybe it won’t start at all and it will take a long time to figure out what it lacks.

G
Godless, 2016-12-08
@Godless

you just want to touch the data? Windows does not know how to ext* file systems.
You can simply touch the data by connecting vhd in the disk manager, but it will be like a black box for Windows because there are no drivers for the FS.
If you want to transfer a virtual machine to a physical PC - then this is a different task, google it . for example here .
You can also slip a physical disk into hyper-v, connect it to the virtual machine itself and dd from one disk to another there.
As rightly noted, there is a driver for ext * systems for Windows. ext2fsd

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question