Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
164 views

singularity failing due to error squashfs filesystem seems not enabled

Singularity version 4.1.4-1 and squashfs-tools version 4.3 are installed on RHEL 7.9 (Maipo). Running a container fails with the following message: (base) -bash-4.2$ singularity --verbose shell ...
tmoser911's user avatar
0 votes
0 answers
969 views

Can't extract squashfs file system using unsquashfs tools

I'm trying to analysis router firmware. I desoldering chip from router. chip name is F59L1g81la And i erase ecc data from the extracted firmware and using binwalk to extract filesystem. It worked but ...
user11278217's user avatar
0 votes
1 answer
1k views

Kernel panic: No working init found. Where is the problem

I'm trying to boot a beaglebone black using u-boot. I'm using a microSD card that is partitioned into 3 partitions: a FAT boot partition that with the U-boot image, and the kernel image. a SquashFS ...
ahzahraee's user avatar
1 vote
0 answers
126 views

Get compressed file size in Squashfs

Is there any way to get the compressed file size in squashfs? I need to get every single compressed file in squashfs.
dapaoming's user avatar
0 votes
1 answer
329 views

How to multiple compress different folders with Squash FS on linux?

I have tried those without success: for i in */; do mksquashfs "${i}" "${i}.squashfs" -comp xz find . -name "*/" -exec mksquashfs {} {}.squashfs -comp xz \; My object ...
Daniel M.'s user avatar
0 votes
0 answers
299 views

Unable to mount /dev/pmem0 with 'dax' option

I am upgrading the kernel version from 4.14 to 5.4.103. We have /dev/pmem0 created with the following command line: memmap=0x1000000!0x10000000 As a result /dev/pmem0 has been created. But, the mount ...
Siva Kumar's user avatar
4 votes
0 answers
2k views

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

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-...
RocKeX's user avatar
  • 41
4 votes
1 answer
3k views

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 ...
Erik Sjölund's user avatar
0 votes
0 answers
339 views

How to replace the android system image using a compressed file system?

Can one reduce the android images created using the AVD manager with a compressed file system? Can one use squashfs to reduce the read-only files like system.img? How to remove some of the kernel ...
asmmo's user avatar
  • 7,080
0 votes
1 answer
899 views

bitbake/wic error when making squashfs file systems

When I specify the squashfs file system type in the wic kickstart file (.wks file): part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=ext4 --label bootfs --uuid 69AE36A5-1C24-412C-89F4-...
Rachid K.'s user avatar
  • 5,161
1 vote
1 answer
5k views

Yocto - How do I change the rootfs file system type

I'm trying to build vdi image with squashfs rootfs, but cannot find where to change current ext4 fs into squash. Closest solutions I found is here: How do I change the rootfs file system type used for ...
EatTheGiant's user avatar
1 vote
1 answer
4k views

using squashfs image file as rootfs

I'm working on a system where I wish to use a squashfs image as the root file system. What I would like to do is have a kernel image and a squashfs image file in an ext4 partition to facilitate ...
Andrew Ellis's user avatar
0 votes
1 answer
336 views

Is it possible to mount a squashfs file in google colab's VM?

In a Google Colab Notebook, you can execute arbitrary bash commands by prefixing a line with ! or starting a block with %%shell. You have significantly free permissions to do whatever you like in the ...
Multihunter's user avatar
  • 5,848
0 votes
0 answers
563 views

Extracting firmware with python (offset question)

The Binwalk output of modified firmware for some reason whenever I try to extract a firmware with the identified parts using python, I get so many additional xz compressed data. Here's my code in the ...
Bryan's user avatar
  • 67
0 votes
2 answers
7k views

squashfs error when running singularity after Ubuntu upgrade

Overview: I am working with code in a singularity image on a machine running Ubuntu 18.04. It was working (well, I was debugging the code) as of Tuesday evening on machine A. I ran an update and as of ...
user128029's user avatar
4 votes
1 answer
5k views

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 ...
William Wilkerson's user avatar
0 votes
1 answer
1k views

rauc fails to mount .raucb files

When I try to install a rauc package I get the following: root@phyboard-regor-am335x-1:/tmp# rauc install phytec-qt5demo-bundle-phyboard-regor-am335x-1-20200506102456.raucb rauc-Message: ...
Layth Hadeed's user avatar
0 votes
1 answer
416 views

Strategy for compressing and navigating large compressed directories

I manage a computer cluster. It is a multi-user system. I have a large directory filled with files (terabytes in size). I'd like to compress it so the user who owns it can save space and still be ...
irritable_phd_syndrome's user avatar
0 votes
1 answer
494 views

Determining where the extra information from squashfs comes from

I extracted the root file system from an IoT device, and I was able to peruse it using unsquashfs. I then changed a single byte in a single file, and recompressed it again using mksquashfs. When I ...
yemista's user avatar
  • 433
0 votes
1 answer
385 views

How to use mksquashfs -regex?

I want to mksquashfs a chroot, and include the /cdrom dir, but exclude everything inside it. I already know how to do this with -wildcards, but I want to see if -regex has a bug. Test case: cd $(...
alkisg's user avatar
  • 3
0 votes
0 answers
888 views

Error when compile Squashfs tools from source

I'm trying to compile modified squashfs tools from source code (GPL source). Installation 'readme' from original pack have notes that it can be built without needing to patch the kernel.(locally) 2. ...
minto's user avatar
  • 151
2 votes
1 answer
3k views

Enabling squashfs inside docker

I am trying to run singularity inside a docker container. However, I can't seem to figure out or understand how to get "squashfs" capabilities working for .simg singularity images. I have seen a few ...
mstorkson's user avatar
  • 1,250
0 votes
1 answer
2k views

OverlayFS as root FS: should I mount --move upper/lower/workdir to new root?

I work on an embedded system which boots from a SquashFS image located on a UBIFS formatted SPI flash. I added OverlayFS over / (root) support so that we can change all the files around but get them ...
c_spk's user avatar
  • 179
9 votes
1 answer
6k views

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 ...
saladi's user avatar
  • 3,253
2 votes
1 answer
2k views

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. ...
tano's user avatar
  • 896
1 vote
1 answer
705 views

customize debian live user

how can I change the home folder of default live user in a customized debian linux? what I want is: installing some packages in default installation and for live boot of debian some customization in ...
mersadkhan's user avatar
2 votes
1 answer
1k views

Signature for squashfs to check in u-boot

I have board with arm-proccessor, that uses u-boot to load firmwares. I load firmware as Squashfs, but I want to make sure, that no one would be able to load their own firmwares, so I want to some how ...
GalaxyHero's user avatar
4 votes
1 answer
2k views

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 ...
tardis89's user avatar
0 votes
2 answers
1k views

why mksquashfs exports file changes every time even the content has not changed?

My project need to use mksqashfs pack something to an image,when the content changes, I need to replace image file with the new one. Before using sqashfs,I 'v used tarball+md5sum. Content changes ,...
prosupcn's user avatar
2 votes
2 answers
8k views

Extracting from bin file

So I tried this: root@kali:~/Desktop/fmk# binwalk upgrade-2.4.0.bin DECIMAL HEXADECIMAL DESCRIPTION -------------------------------------------------------------------------------- 512 ...
Nitescu Lucian's user avatar
3 votes
0 answers
659 views

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 ...
user725408's user avatar
5 votes
2 answers
32k views

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's user avatar
1 vote
0 answers
309 views

How to make shared libraries work with python in squashfs (lvm2py and liblvm2app.so)

I am trying to write my own script to create partitions. (Even though this can be done in anaconda, I want my custom script) The script creates lvm based partitions using lvm2py module. lvm2py ...
Rohit's user avatar
  • 98
5 votes
3 answers
14k views

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 ...
runner's user avatar
  • 601
2 votes
1 answer
8k views

Mount Squashfs as Root in initramfs Raspbian

I'm currently trying to make my raspbian boot from a squashFS image through initramfs. The squashfs image is on file system /dev/mmcblk0p1, so I mount this prior to mounting the Image. Unfortunately ...
bbsan2k's user avatar
  • 23
1 vote
2 answers
596 views

Choosing squashfs for RFS

Our product has the following configuration, iMx6 processor, 2GB eMMC, 512 MB RAM, couple of Ethernet ports and USART ports. This is going to be a 24/7 365 days working device. We are planning to ...
MKCS's user avatar
  • 11
0 votes
1 answer
2k views

Why do I get this error: /system/bin/sh: ./mksquashfs: not executable: magic 7F45?

As I could not get mksquashfs tool for android. I compiled it for arm using cross compilation and got it built, toolchain is same for kernel as well mksquashfs. I pushed mksquashfs to /data/ ...
kzs's user avatar
  • 1,873
5 votes
1 answer
22k views

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 ...
jbacic's user avatar
  • 53
0 votes
1 answer
3k views

trying to unpack firmware update with non standard compression

I am trying to unpack a clear spot firmware update The firmware I am trying to reverse can be found on the download page of the vendor I have used the fwtools to unpack the firmware as described on ...
Ahmed Rhuma's user avatar
4 votes
1 answer
4k views

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 ...
Znik's user avatar
  • 1,142
4 votes
2 answers
16k views

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

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's user avatar
0 votes
1 answer
450 views

squashfs filesystem index to disk block mapping

can anybody please tell how the squashfs maps the disk block numbers to file system blocks. Basically i am saying about read_blocklist() in squashfs. Thanks, Kapil
Kapil's user avatar
  • 866
4 votes
2 answers
2k views

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 ...
Atilla Filiz's user avatar
  • 2,422
2 votes
1 answer
16k views

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. ...
kursat's user avatar
  • 1,079
7 votes
3 answers
8k views

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, ...
p-static's user avatar
  • 539