一.use lmdisk in Windows
Of course, it's possible and you're right, you need a special tool. My favorite one is
ImDisk
a virtual disk driver. It brings a GUI interface for mounting standard image files form harddisk, floppy, ISO (CD/DVD). But mounting a VDI-file as a windows drive you must call ImDisk with its option
-b offset
, and it is best done from commandline using CMD (and after successfull testing as parameter in a LNK-file).
因为vdi文件比img文件多了一些头部信息,所以要加偏移再用lmdisk加载
WinMount
已试用,不支持 ext分区和 hfs的分区,ntfs支持,fat估计也支持
WinImage 也可用.
二.use losetup in linux