Menu

can imdisk mount a compressed "gz" file?

jenning
2023-02-01
2023-02-23
  • jenning

    jenning - 2023-02-01

    Hi,
    I can mount a .ima virtual disk file through imdisk.exe, but when I compressed it to a gzip file
    (file size only 1/3 of the original) imdisk.exe doesn't decompress it when mounting. Is there
    a way to tell imdisk.exe to decompress file before mounting? I used -o awe option.
    I couldn't find any other options for -o command by googling. How/where can
    I find the detail instructions for it? Thank you!

     
    • slon1024

      slon1024 - 2023-02-23

      For mount archives I use WinMount or Pismo File Mount Audit.

      WinMount is 2010 year and sometimes bugly (blue screen too) support write in memory for mounted device, without change original archive, all changes will lost after unmount archive. Support zip, rar, isz (compressed iso), flac, ape, wv, iso, img, mdf, mds, nrg, ccd, cue, vhd, vmdk. I use in Win7 x64 with zip and rar.

      Pismo is 2019 year, freeware, don't support write for standart zip archives, but stable and support lzma compression in zip-container.

       

      Last edit: slon1024 2023-02-23
  • v77

    v77 - 2023-02-01

    No, compressed image files are not handled.

    However, an alternative could be to use a dynamically sized image file format, such as VDI, VHD or VMDK. I don't know which tool can do the conversion, but it's worth a try.

     
    • jenning

      jenning - 2023-02-01

      Thank you for your help!

       
  • jenning

    jenning - 2023-02-09

    I have tried to mount a dynamic VHD file in the RAM, but Windows kept wanting me to "format the disk before I can use it"! And when I tabbed to the mounted disk icon, it showed nothing in it! So I know it did not mount successfully. Could you please advise me how to mount a dynamic VHD as a ramdisk using Imdisk toolkit? Thank you very much!

     
  • v77

    v77 - 2023-02-09

    So, if I understand, you don't want to just mount an image file, you want to create a ramdisk.
    In this case, sorry but you can't use a special file format such as VHD/VDI/VMDK.

    There might be a solution, but it's not simple. Here is the idea:
    - First create a ramdisk. If you want to use the command line, you can use imdisk.exe for a static ramdisk, or RamDyn.exe for a dynamic one.
    - Copy your VHD file (the file itself) onto the ramdisk.
    - Finally, mount the copied VHD file with DiscUtilsDevio.exe.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.