Giter Club home page Giter Club logo

Comments (5)

Flashwalker avatar Flashwalker commented on June 1, 2024 1

I forgot to mention that i used NTFS formated SD card

from woeusb-ng.

Flashwalker avatar Flashwalker commented on June 1, 2024 1

... And verify that the filename isn't garbled in the mounted image?...

I just tested and file name is ok on mount point http://0x0.st/oT74.png

from woeusb-ng.

brlin-tw avatar brlin-tw commented on June 1, 2024

Seems to be related to FAT File System Filename Mojibake Issue ยท WoeUSB/WoeUSB Wiki

from woeusb-ng.

brlin-tw avatar brlin-tw commented on June 1, 2024

The mount command call here:

WoeUSB-ng/WoeUSB/core.py

Lines 437 to 439 in 4d4910b

if subprocess.run(["mount",
target_partition,
target_fs_mountpoint]).returncode != 0:

seems to be lacking appropriate FAT filesystem mount options to avoid mojibake-ing filenames, consider WoeUSB/WoeUSB's implementation:

https://github.com/WoeUSB/WoeUSB/blob/34b400d99d3c4089f487e1d4f7d71970b2d4429e/sbin/woeusb#L1496

from woeusb-ng.

brlin-tw avatar brlin-tw commented on June 1, 2024

I forgot to mention that i used NTFS formated SD card

Well then NTFS uses Unicode filenames thus the problem shouldn't happen.

The problem may be due to the incorrect handling of the mounting of the source filesystem, could you try running the following command to mount the original filesystem:

mkdir test_mountpoint
mount \
    --options loop,ro \
    --types udf,iso9660 \
    _source_iso_image_ \
    test_mountpoint

And verify that the filename isn't garbled in the mounted image?

Also, could you try running the Bash version of WoeUSB and verify the problem is still reproduced there?

from woeusb-ng.

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.