I know this command for VirtualBox for converting a physical hard disk (with Linux OS installed on it) to a virtual image from the Linux environment:
cat /dev/sda | VBoxManage convertfromraw stdin OutPutFile.vdi
But what is the equivalent of this in Windows 10 command prompt?
- I also can't change
/dev/sda
to for exampleA:\
because the hard disk is aext4
file system so it is not mounted and there's no drive letter assigned to it.
I need to know how to point to that disk, it can't be mounted but it's online as shown in Disk Management.
I have read the manual pages and I can't find my answer still:
https://www.virtualbox.org/manual/ch08.html
I think the equivalent of cat
for Windows is type
What is the Windows equivalent of the Unix command cat? but I'm not sure if it can be used here.
And if it can be used to stdout
the hard disk then maybe I can use this How do I use a pipe to redirect the output of one command to the input of another? to save the stdout to file then send the file to VBoxManage. Or use pipe in Windows? Will it work the same as Linux?
Also this /dev/sda equivalent in Windows doesn't seem to help in my situation, because I get VERR_FILE_NOT_FOUND
.