Questions tagged [squashfs]

Questions about how to use the Squashfs command line tools to create files mountable as a read-only filesystem.

See https://tldp.org/HOWTO/html_single/SquashFS-HOWTO for documentation of the project and how to use it.

42 questions
6
votes
1 answer

singularity extract, edit, and rebuild image

I have a singularity container that has been made for me (to run tensorflow on comet GPU nodes) but I need to modify the keras install for my purposes. I understand that .simg files are not editable (and that the writable .img format is…
saladi
  • 3,103
  • 6
  • 36
  • 61
6
votes
3 answers

Reading a SquashFS archive

(SquashFS is a compressed filesystem - http://en.wikipedia.org/wiki/SquashFS) I'm looking for a way to read a SquashFS filesystem from a program. So far, I've know about the in-kernel drivers for it, but I'm sure that a userspace library for it must…
p-static
  • 529
  • 1
  • 4
  • 9
5
votes
2 answers

How to handle squashfs in Windows

I have to update some files in a squashfs image file. I found a tool in Linux but not in Windows. Can anyone help?
Sriram Chowdary
  • 119
  • 1
  • 2
  • 6
5
votes
1 answer

SQUASHFS error: Unable to read page, ..., size

I'm working with embedded ARM platform with built NAND flash. My roofs partition is squashfs. Both u-boot and kernel use OMAP_ECC_BCH8_CODE_HW. The problem is that some boards (not just one) stopped working after a power outage (they were used for…
jbacic
  • 53
  • 1
  • 1
  • 4
4
votes
1 answer

Snap is Unable to mount it's squashfs image on Debian Buster Crostini

I need help with a big problem with Snap Package Manager on Debian Buster Crostini. Whenever I try to install Anbox with Snap package manager, it gives me the error: error: system does not fully support snapd: cannot mount squashfs image using …
4
votes
1 answer

mksquashfs not excluding file

I am having issues excluding a specific file from a squashfs. I want to be able to exclude all file types ending with *.db but have had no luck. Whenever I run the mksquashfs command with the arguments to exclude the file, it always includes the…
tardis89
  • 53
  • 7
4
votes
3 answers

How to make squash file system read-write

My RTL8196EU Realtek board having read-only squash file system. How do I make this file system Read-Write. I have tried mount command mount -o remount,rw / But its not fixing the problem. Help me make a Read-Write squash fs
runner
  • 591
  • 2
  • 7
  • 20
4
votes
1 answer

redirect file to stdout - reverse io redirection

I have some untypical trouble under linux and unsquashfs program. Typically we redirect stdout to specified file, but I want something reverse. Redirect created on the fly file to stdout, without real file creation. unsquashfs can extract specified…
Znik
  • 1,047
  • 12
  • 17
4
votes
2 answers

How do I write to/make changes to an existing squashfs filesystem?

How do I write to/make changes to an existing squashfs filesystem? I have tried using aufs/unionfs, but these require kernel modules that are extremely hard to compile.
Vendetta V
  • 103
  • 1
  • 1
  • 7
3
votes
2 answers

Investigating squashfs compression ratio

Is there any tool to examine an existing squashfs image and and find out compression ratios per file? Bonus points if it helps me can estimate the flash usage of statically linked symbols in a huge executable.
Atilla Filiz
  • 2,383
  • 8
  • 29
  • 47
3
votes
0 answers

Snapd error: system does not fully support snapd: cannot mount squashfs image using .... Operation not permitted. Ubuntu 20.04

Im trying to install certbot and snapd core etc and it gives me this error: error: system does not fully support snapd: cannot mount squashfs image using "squashfs": mount: /tmp/sanity-mountpoint-718641914: mount failed: Operation not permitted. I…
RocKeX
  • 31
  • 2
3
votes
0 answers

Docker windows loading kernel modules

I'm running Docker for Windows (similar effect described below is observable on MacOSX) I have a Docker Container in which a program tries to access a squashfs image. To access squashfs the kernel has to be either complied with loopdevice support…
user725408
  • 336
  • 3
  • 8
2
votes
1 answer

how to unsquashfs or mount a firmware image?

i want to extract my routers firmware, and modify it. so i used bitsum's firmware mod kit. it seems there is no error. i can get image_parts directory also there is rootfs.img (squashfs image) file. but the problem is i can neither mount it nor…
kursat
  • 1,059
  • 5
  • 15
  • 32
2
votes
1 answer

How to mount a squashfs file in a container when running rootless Podman?

I have a squashfs file that was created with mksquashfs. How can I mount the archive from within a container? I'm using Podman version 3.4.1 and have a normal user on the computer system (so I'm running rootless Podman).
Erik Sjölund
  • 10,690
  • 7
  • 46
  • 74
2
votes
1 answer

Squashfs check compressed file size

is there any way to check the final size of a specific file after compression in a squashfs filesystem? I'm looking through mksquashfs/unsquashfs command line options but I can't find anything. Using the -info option in mksquashfs only prints the…
tano
  • 836
  • 1
  • 10
  • 25
1
2 3