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

container img Failed to mount squashfs image #72

Open
simin75simin opened this issue Apr 12, 2021 · 5 comments
Open

container img Failed to mount squashfs image #72

simin75simin opened this issue Apr 12, 2021 · 5 comments

Comments

@simin75simin
Copy link

simin75simin commented Apr 12, 2021

i'm on ubuntu 18.04. i tried singularity 2.5, 2.6.1, and v3.3.0, removing container.img each time and running 'sudo singularity..' to generate a new container image each time. but when i try to run ./container.img it says ERROR : Failed to mount squashfs image in (read only): Invalid argument ABORT : Retval = 255 i also tried the alternative method for singulairty 2.5 and v3.3.0.
help please. thanks.

@simin75simin simin75simin changed the title singularity: command not found container img Failed to mount squashfs image Apr 13, 2021
@Angular-Angel
Copy link

Hallo, I am having exactly the same error. Xubuntu for me, should be latest version.

@Angular-Angel
Copy link

Angular-Angel commented Apr 14, 2021

I think this may be relevant: apptainer/singularity#3465

Edit: or, maybe not. That one says 'no such device', this one says 'invalid argument'. Hmm.

Edit: Okay, maybe this one: apptainer/singularity#5144

@simin75simin
Copy link
Author

i did not know what the last link you provided was about though, specifically i did not find a mount.c file and neither could i understand the fix itself. it seems someone added a commit to fix that issue but i used singularity 3.3 and the same result popped up so i don't think that fix alone resolves my issue.

so far i haven't been able to resolve this. i'm thinking of doing it on google colab as i find their machines are usually more compatible to various projects i came across than my own. but that could take a while.

@Angular-Angel
Copy link

Angular-Angel commented Apr 18, 2021

The patch requires a change to signularity itself - that is, you have to edit it's source and then remake, I think.

Edit: Yup, I edited the singularity source, and then ran 'make' and 'sudo make install' again, and now I can run dreamcoder. Now I just need to figure out how to start playing with the examples and I'm golden... XD

@santolucito
Copy link

@Angular-Angel what was the edit you made to the singularity source code?

Also is there a vm anywhere that has everything preinstalled? Or maybe someone can share one if they have it working?

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

3 participants