Comments (6)
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.
Marking this solved as everything is working great when chaining the drivers after starting the relevant services. Thanks again!
from arsenal-image-mounter.
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.
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.
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.
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)
- ArsenalImageMounterCLISetup.exe install old driver files HOT 3
- running driver setup on mcr.microsoft.com/windows/server:ltsc2022-kb5008223-amd64 HOT 2
- Failed to start service process: 0x80131500 HOT 4
- A property file seems to be missing from the repo, aim_um.props. HOT 2
- Request: CSO/ZSO Support HOT 1
- I encountered a problem HOT 12
- Using AIM in WinPE HOT 3
- VHDX Dynamic Memory Management HOT 2
- vhd work in awe and not as file HOT 8
- No volumes attached if move vhd from other pc HOT 16
- Contextual menu absent HOT 1
- BitLocker password prompting HOT 5
- ChatGPT not working examples HOT 22
- Force ImScsiRemoveDeviceByMountPoint HOT 1
- Cannot access Arsenal Image Mounter driver HOT 6
- RAMDisk - only half of the allocated memory can be used HOT 1
- aim_ll & the format prompt HOT 2
- Some dependencies seem to be missing for the driver installers. HOT 2
- Is it possible to log the mounter driver operation? (aim_ll -a -P not leading to automount) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arsenal-image-mounter.