K
K
kyurem_bog2021-02-19 10:33:27
linux
kyurem_bog, 2021-02-19 10:33:27

How to create vhd from physical disk with openSUSE?

The situation is this, there is an old computer that is barely breathing. You need to make a virtual one from its physical hdd, so that later you can run it in virtualbox on a better machine.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sand, 2021-02-19
@sand3001

Try using the dd utility under Linux to create a disk image file where sdX is a disk from an old computer , then use the qemu-img utility to convert it to the desired format
dd if=/dev/sdX of=/home/user/disk.raw

qemu-img -f raw -O vpc /home/user/disk.raw /home/user/disk.vhd

Also, if my memory serves me, the native format for virtualbox is "vdi", so
qemu-img -f raw -O vdi /home/user/disk.raw /home/user/disk.vdi

Z
Zzzz9, 2021-02-19
@Zzzz9

Take an image (dd, Clonezilla, Paragon, Acronis, etc.) Deploy the image to virtual. disk

D
datka, 2021-02-19
@datka

https://superuser.com/questions/495025/use-physica...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question