Dd2vmdk
dd2vmdk is a *nix-based program that allows you to mount raw disk images (create d by dd, dcfldd, dc3dd, ftk imager, etc) by taking the raw image, analyzing the master boot record (physical sector 0), and getting sp ecific information that is need to create a vmdk file. Version 0.1 has the ability to extract data from the master boot record of any raw image, extracted information such as heads cylinders, sectors per track, etc. and create a working vmdk file (monolithic flat disk).
Install / Use
/learn @labgeek/Dd2vmdkREADME
dd2vmdk v0.1
labgeek@gmail.com
Licensed under the GNU General Public License v2
General
dd2vmdk is a *nix-based program that allows you to mount raw disk images (created by dd, dcfldd, dc3dd, ftk imager, etc) by taking the raw image, analyzing the master boot record (physical sector 0), and getting specific information that is need to create a vmdk file. Version 0.1 has the ability to extract data from the master boot record of any raw image, extracted information such as heads cylinders, sectors per track, etc. and create a working vmdk file (monolithic flat disk).
There are two other tools, Liveview (https://sourceforge.net/projects/liveview/) and dd2vmdk (written by zapotek) which is a front end driver for the primary java files used to do the MBR and partition entry analysis. Don't know if I will add any other functionality to this tool but thought it might help someone.
Usage:
root@redbox:/data/projects/C/dd2vmdk# ./dd2vmdk -h
Program: dd2vmdk v0.1 Author: labgeek@gmail.com
Description: dd2vmdk is a command line tool to convert dd images into vmdk files. Usage: ./dd2vmdk -i <path to dd image> -v <output path of vmdk>...
OPTIONS: -i image file name that you will be analyzing -v VMDK metadata file that you will be creating for your dd2vmdk conversion
Example Usage:
root@redbox:/data/projects/C/dd2vmdk-0.1.1# ./dd2vmdk -i /data/images/vmpersonal.dd -v output.vmdk|more
Author: labgeek@gmail.com Program: dd2vmdk Website: http://vmforensics.org Version: 0.1.1
Starting the MBR analysis... Finding which partition is bootable Getting cylinders value from partition1... Getting ending cylinders value from partition1... Getting sectors per track value from partition1... Getting number of heads value from partition1...
Image Geometry specifications:
- Image location: /data/images/vmpersonal.dd
- VMDK destination: output.vmdk
- Number of sectors = 62914560
- Number of cylinders: 1023
- Number of heads per track: 255
- Number of sectors per track: 63
- File size in bytes: 32212254720 (30.00 GB)
- Size of each sector: 512
- Bootable partition: Partition 1
Two byte signature word: 55AA (End of MBR)
Compile:
- tar zxvf dd2vmdk-0.1.tar.gz
- cd dd2vmdk
- make
- run -> ./dd2vmdk -h
Acknowledgments
Tim Vidas and Brian Kaplan Zapotek (http://trainofthought.segfault.gr/)
Limitations:
- assumption that the active partition is the first one (0x80)
Related Skills
node-connect
351.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
