Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mount command failing #99

Open
kaleko opened this issue Oct 25, 2024 · 1 comment
Open

Mount command failing #99

kaleko opened this issue Oct 25, 2024 · 1 comment

Comments

@kaleko
Copy link

kaleko commented Oct 25, 2024

I ran the following commands on my remarkable2 from the /root/home directory:

> mkdir ~/Downloads/
> ./codexctl.bin download 3.11.2.5
> ./codexctl.bin extract ~/Downloads/3.11.2.5_reMarkable2-qLFGoqPtPL.signed 
> mkdir /opt/remarkable/
> ./codexctl.bin mount extracted

Which results in the following error:

Traceback (most recent call last):
  File "/tmp/onefile_2178_1729868432_328570/codexctl.py", line 12, in <module>
  File "/tmp/onefile_2178_1729868432_328570/codexctl/__init__.py", line 811, in main
  File "/tmp/onefile_2178_1729868432_328570/codexctl/__init__.py", line 648, in do_mount
  File "/tmp/onefile_2178_1729868432_328570/remarkable_update_fuse/__init__.py", line 1, in <module remarkable_update_fuse>
  File "/tmp/onefile_2178_1729868432_328570/remarkable_update_fuse/fuse.py", line 6, in <module remarkable_update_fuse.fuse>
  File "/tmp/onefile_2178_1729868432_328570/fuse.py", line 26, in <module fuse>
ImportError: libfuse.so.2: cannot open shared object file: No such file or directory

Note a du extracted returns a size of 0, but I'm not familiar with what du should output for such a file.

@Eeems
Copy link
Collaborator

Eeems commented Oct 25, 2024

du should output the size of the image file, which would not be 0 if it actually extracted things. It looks like the build is failing to embed libfuse.so.2, which is why it's failing to extract.

To work around this, run the build of codexctl for your host computer on your host computer instead of on device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants