티스토리 뷰

sudo apt-get install qemu

 

qemu-img convert -pO vmdk /path/sample.dd /path/sample.vmdk


-p Progress. Not necessary but its nice to see when the conversion will be done.

-O Output format. We want the output file in this case to be a vmdk file.


Valid output formats: (copied from here)


vmdk VMware

raw (default) the raw format is a plain binary image of the disc image, and is very portable.

cloop Compressed Loop format, mainly used for reading Knoppix and similar live CD image formats

cow copy-on-write format, supported for historical reasons only

qcow the old QEMU copy-on-write format, supported for historical reasons

qcow2 QEMU copy-on-write format with a range of special features, including the ability to take multiple snapshots, smaller images on filesystems that don’t support sparse files, optional AES encryption, and optional zlib compression

vdl VirtualBox

vhdx Hyper-V compatible image format, for exchanging images with Hyper-V 2012 or later.

vpc Hyper-V legacy image format, for exchanging images with Hyper-V 2008 / Virtual PC.


dd파일을 부팅하고 싶을 때, qemu를 사용하여 vmdk로 변환 후에 부팅하면 된다. 윈도우, 리눅스 테스트 결과, 모두 작동한다.


vmdk로 변환이 완료되면, vmware에서 vmdk에 맞는 운영체제를 iso 파일 없이 설치한 후 vmdk만 해당 폴더에 넣어준 후에 부팅하면 된다.


댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함