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
2
votes
1 answer

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 sign my squashfs file and check its signature in…
GalaxyHero
  • 23
  • 3
1
vote
0 answers

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
  • 11
  • 1
1
vote
1 answer

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 the sdcard image in yocto? But I don't feel like…
EatTheGiant
  • 13
  • 1
  • 3
1
vote
1 answer

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 upgrading with RAUC. Is it possible to get the kernel…
Andrew Ellis
  • 129
  • 2
  • 11
1
vote
1 answer

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 discussion threads that indicate that this…
mstorkson
  • 1,130
  • 1
  • 10
  • 26
1
vote
1 answer

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 home folder of any new user and the live default…
mersadkhan
  • 17
  • 5
1
vote
2 answers

Extracting from bin file

So I tried this: root@kali:~/Desktop/fmk# binwalk upgrade-2.4.0.bin DECIMAL HEXADECIMAL DESCRIPTION -------------------------------------------------------------------------------- 512 0x200 LZMA compressed data,…
Nitescu Lucian
  • 255
  • 4
  • 18
1
vote
0 answers

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 requires liblvm2app library. which I installed in my…
Rohit
  • 98
  • 7
1
vote
2 answers

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 build a minimal Linux image (Kernel + RFS) around 7…
MKCS
  • 11
  • 2
0
votes
1 answer

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 here, is find folders on the location, and compress them separately, but without…
Daniel M.
  • 49
  • 1
  • 5
0
votes
0 answers

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 command is failing with errors. mount -o dax…
Siva Kumar
  • 183
  • 1
  • 2
  • 7
0
votes
0 answers

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 modules from that images? In other words, I want to…
asmmo
  • 6,922
  • 1
  • 11
  • 25
0
votes
1 answer

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-5E8D9123376C --fixed-size 32M part …
Rachid K.
  • 4,490
  • 3
  • 11
  • 30
0
votes
1 answer

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 Ubuntu 18.04 VM running the notebook, allowing…
Multihunter
  • 5,520
  • 2
  • 25
  • 38
0
votes
0 answers

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 python script, where it is (name, offset, and…
Bryan
  • 67
  • 7