Git Product home page Git Product logo

Comments (6)

homes32 avatar homes32 commented on August 17, 2024 1

thanks for clarifying. both vhdaccess and awealloc were not running, and starting them fixed the issue.

that makes sense regarding the awe option as well. Thank you for your help and for developing the aim_ll tool. I like .net, but its also nice to have a lightweight no-frills tool for jobs like this, without the extra overhead.

from arsenal-image-mounter.

homes32 avatar homes32 commented on August 17, 2024 1

Marking this solved as everything is working great when chaining the drivers after starting the relevant services. Thanks again!

from arsenal-image-mounter.

homes32 avatar homes32 commented on August 17, 2024

Another question, is it possible to use an un-formatted VHD template, and format it with /fs: during mount like with a regular fixed ramdrive? The use case would be from WinPE, so trying to save some space in boot.wim. NTFS filesystem takes 20-80 MB on an empty .vhd.

from arsenal-image-mounter.

LTRData avatar LTRData commented on August 17, 2024

There is no specific command line option for it, but it should be possible by referencing the relevant drivers in a chain, like:
aim_ll -a -f \\?\vhdaccess\??\awealloc\??\C:\ramdisk.vhd -m B: -p "/fs:ntfs /q /y"`

This is essentially what the GUI application does behind the scenes when you select the menu option to create a dynamically allocated RAM disk from a vhd template.

from arsenal-image-mounter.

homes32 avatar homes32 commented on August 17, 2024

Thanks for the reply.

I did some testing and aim_ll -a -f \\?\vhdaccess\??\awealloc\??\X:\ramdisk.vhd -m B: -p "/fs:ntfs /q /y" was not behaving properly (Error creating virtual disk: The system cannot find the path specified). I believe this is due to the WinPE cache overlay not registering as a volume (it's not visible in device/disk manager), being an overlay. I'm not sure how to resolve this.

I tried the -o awe option, but it doesn't expand the drive. How does the -o awe option differ from your example above?

from arsenal-image-mounter.

LTRData avatar LTRData commented on August 17, 2024

No, as long as the path from drive letter onwards is correct this should work even if the WinPE system volume is a bit special in that way. But you could get this error if awealloc or vhdaccess drivers are not loaded, so you could try net start awealloc etc first and see if that helps.

The -o awe option cannot be used in this case because as you have found out, it will allocate a fixed memory block for the entire virtual disk size. This is because this option adds the awealloc prefix first in the image file path, so it will see the disk contents above the vhd driver, that is the entire disk size after the vhd parser.

from arsenal-image-mounter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.