IgnorantGuru / udevil

Mount without password
http://ignorantguru.github.com/udevil/
GNU General Public License v3.0
130 stars 30 forks source link

feature suggestion: integrate wimlib #104

Open mailinglists35 opened 3 years ago

mailinglists35 commented 3 years ago

https://www.howtoinstall.me/ubuntu/18-04/wimtools/

https://wimlib.net/

What is wimlib? wimlib is an open source, cross-platform library for creating, extracting, and modifying Windows Imaging (WIM) archives. WIM is a file archiving format, somewhat comparable to ZIP (and many other file archiving formats); but unlike ZIP, it allows storing various Windows-specific metadata, allows storing multiple "images" in a single archive, automatically deduplicates all file contents, and supports optional solid compression to get a better compression ratio. wimlib and its command-line frontend wimlib-imagex provide a free and cross-platform alternative to Microsoft's WIMGAPI, ImageX, and DISM.

mailinglists35 commented 3 years ago
# devmon --mount /media/root/Win10_1803_English_x32.iso/sources/install.wim
WARNING: running devmon as root is usually not required or recommended
devmon: /usr/bin/udevil --mount /media/root/Win10_1803_English_x32.iso/sources/install.wim --mount-options "noexec,nosuid,nodev,noatime"
losetup: /media/root/Win10_1803_English_x32.iso/sources/install.wim: Warning: file does not fit into a 512-byte sector; the end of the file will be ignored.
mount: /media/root/install.wim: wrong fs type, bad option, bad superblock on /dev/loop7, missing codepage or helper program, or other error.
devmon: error mounting /media/root/Win10_1803_English_x32.iso/sources/install.wim (32)

# wimmount /media/root/Win10_1803_English_x32.iso/sources/install.wim 1 /mnt/test/
# df -T /mnt/test/
Filesystem     Type       1K-blocks  Used Available Use% Mounted on
wimfs          fuse.wimfs         0     0         0    - /mnt/test
# ls /mnt/test/
 autoexec.bat   config.sys   PerfLogs   ProgramData  'Program Files'  '$Recycle.Bin'   Users   Windows