The VHD file format consists of a RAW disk image with a 512 byte footer,
which describes the geometry of the disk image. This tool adds a VHD footer
to existing RAW disk images and renames them to use the .vhd
file extension.
The image can then be mounted in Windows. Use
gfc-file-compare to save an existing disk as
a RAW image or generate a blank disk image with arbitrary size.
img2vhd file. img
☂︎ Apple iOS, macOS
☂︎ FreeBSD
☂︎ Linux, OpenWRT
☂︎ Windows