-
Notifications
You must be signed in to change notification settings - Fork 166
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Good Habit Checklist for Issue Reporting
Checkout Mastering Markdown · GitHub Guides if you needs help on the GitHub-flavored Markdown syntax. You may remove sections and contents that don't apply.
- I've searched the issue tracker and is pretty sure that there's no duplicate issue already filed
- I've built the latest development snapshot using the instructions in README and verified that the issue can still be reproduced (for bug reports)
Issue Reproduce Instructions
Right now, creating an IMG or ISO file (in legacy mode) from a provided ISO is no supported via this tool directly. However, there is a workaround via a loopback device.
But that approach is ugly and needs a lot of workarounds
# Create a sparse-file of sufficient size
truncate install.img -s 6G
# Create a loopback device from that sparse-file
sudo losetup -fP install.img
# Create symlinks, so the internal "sanity check" of WoeUSB does not error out.
# The reason is, that WoeUSB recognizes "numbers" at the end of a supplied target as partition. However /dev/loop0 is a device. And if we set the --device option, WoeUSB recognizes the target as a partition and aborts
# Furthermore, WoeUSB assumes the partions following the pattern <the_device><partition_numbe>, while for a device with already a number at its end, the convention is <device>p<partition_number>
# So we create some symlinks to fool WoeUSB
sudo ln -s /dev/loop0 /dev/lb
sudo ln -s /dev/loop0p1 /dev/lb1
sudo ln -s /dev/loop0p2 /dev/lb2
# Now finally run WoeUSB
sudo woeusb --device source.iso /dev/lb
Expected Behavior
A --file option should just create an IMG or even better, an iso file (with --iso option).
Current Behavior
No support for writing raw images or iso-files
Info of My Environment
WoeUSB Version
v0.2.7
WoeUSB Source
WoEUSB-ng from AUR (Arch)
Information about the Operating System
Manjaro
Information about the Source Media
Win10_Edu_21H1_German_x64.iso
Information about the Target Device
Request for file. Right now: Loopback device.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request