ImDisk Usage


ImDisk can be used to create disk images or mount existing disk images. It cannot mount full hard disk type images but can mount individual partitions within a disk image as long as an offset is provided.

Although ImDisk is a command line tool a control panel applet is also included in the install. Right-clicking on a disk image will display the option to Mount as ImDisk Virtual Disk - selecting this option will open the Mount new virtual disk window. If a hard disk type image containing multiple partitions is selected there will be option to choose which partition to mount. Partition offsets are calculated automatically depending on the format of the disk image.

Mounted drives can be unmounted by right-clicking on the drive in explorer and selecting Unmount ImDisk Virtual Disk.

The contents of a mounted drive (includes physical drives - e.g. USB flash drive) can be copied to an image file by right-clicking on the drive in explorer and selecting Save disk dcontents as image file.

ImDisk can create raw disk images of superfloppy type only.

ImDisk command (following is output from the command imdisk /?) -

Examples

Mount partition in disk image C:\my_disk.ima as drive R: (partition starts at 63rd sector offset) -
imdisk.exe -a -f C:\my_disk.ima -m R: -b 32256

Mount partition in disk image C:\my_disk.ima as drive R: (partition starts at 63rd sector offset) -
imdisk.exe -a -f C:\my_disk.ima -m R: -b 63b

Unmount drive R: -
imdisk.exe -d -m r:

Force unmount drive R: -
imdisk.exe -D -m r:

Create disk image C:\my_disk.ima (superfloppy format) 2104515 sectors in size (1.5 GB) and mount as drive R: -
imdisk -a -s 2104515b -m R: -f C:\my_disk.ima

Create disk image C:\my_disk.ima (superfloppy format) 2104515 sectors in size (1.5 GB) and mount as drive R:, then format using compressed NTFS -
imdisk -a -s 2104515b -m R: -f C:\my_disk.ima -p "/FS:NTFS /C /Y"