Questions tagged [squashfs]
SquashFS is a read-only compressed file system intented mainly to create live CD-ROM and DVD-ROM Linux installations.
94
questions
0
votes
0
answers
64
views
Set SELinux labels in Docker build
I'm trying to produce a squashfs image with labeled files for SELinux. I'm building this using docker buildx. Both of the ideas I tried failed:
setfattr and chcon do not work on SELinux-enforcing ...
0
votes
1
answer
244
views
how to boot QEMU from a cloned USB stick
Configuration:
MacOS arm64 M1 Apple Silicon as host
Live USB with Ubuntu 20.04 amd64 within a squashfs filesystem as guest
QEMU emulator on the host OS
I want to strip the OS out the squashfs and ...
0
votes
0
answers
52
views
SQUASHFS errors when the server is running
I am getting SQUASHFS errors when the server is running:
[Mon Nov 13 08:15:56 2023] SQUASHFS error: zlib_inflate error, data probably corrupt
[Mon Nov 13 08:15:56 2023] SQUASHFS error: ...
1
vote
0
answers
193
views
Do cryptsetup encryption from user space, possibly as ordinary user
I have the duty to create a package format which has its contents compressed and encrypted and which can be mounted.
I have modelled it to be a squashfs embedded in a cryptsetup raw device.
Alas, this ...
1
vote
1
answer
148
views
How to loop-mount Ubuntu boot drive backup LVM with duplicate UUID
I created a backup of my LUKS-encrypted Ubuntu installation's entire boot drive as a squashfs file.
The backup was performed by using Streaming Compression into a pseudo file, resulting in a ...
2
votes
1
answer
484
views
Is it possible to append a signature to a squashfs file, without causing problems with tools/mount?
I would like to authenticate a squashfs image, using a public-key signature. For an elegant implementation, it would be ideal if such a signature could simply be appended to the end of the squashfs ...
1
vote
1
answer
2k
views
ParrotOS install giving bad unsquash config error
I installed Parrot (5.0.1 Home edition, amd64) onto a USB stick using Rufus to use as a live boot on an old laptop I had lying around. I then decided to install Parrot onto the laptop harddrivehard ...
0
votes
2
answers
733
views
How does SquashFS handle decompression?
How does SquashFS handle decompression?
I'm interested in the overhead that LZ4 has on the SquashFS filesystem.
My theory is that the files in the SquashFS filesystem gets uncompressed during read.
...
1
vote
1
answer
485
views
Ideas to clear user xattrs from files without get/setfattr
I have a directory containing a root filesystem that I SquashFS and then mount as r/o on other boxes.
However, before SquashFS'ing, i want to clear all the user-namespace xattrs from the filesystem. ...
1
vote
1
answer
215
views
Dialog progress bar for unsquashfs
Part of my dialog-based program involves running unsquashfs on a file to extract it to a directory. I'm trying to make a progress bar for this operation to show its progress using the --gauge option. ...
0
votes
1
answer
3k
views
GRUB install on Debian 11 live image failed to get canonical path of 'overlay'
We're building a Debian based product. To simplify building these in the factory, I'm trying to build a live disk that will install the main OS. We have an older product that uses this processbut was ...
0
votes
0
answers
359
views
Unable to auto-mount encrypted filesystem.squashfs of Debian Live CD
Part 1
I've created a live ISO image of my system using 'live build' tool on a Debian system. For automated installation i've used a preseeding file.
To protect my senstive data I'm using LUKS ...
9
votes
2
answers
2k
views
Why is the base system of Live ISOs for Linux distros usually stored with squashfs?
Why couldn't the Live ISOs just be a minimal Linux system with an installer? Is there any reason to use squashfs to hold the root of the filesystem? Is it just for better compression, or are there ...
0
votes
1
answer
870
views
Why is unsquash not permitted to create symlink and certain files?
I try to alter a debian live iso to activate the sshd according to this guide.
This is done on a Ubuntu 20 in a virtualbox on a macOS High Sierra.
When I unsquashfs -f -processors 1 filesystem....
0
votes
0
answers
563
views
How do I convert my current linux installation into squashfs live image with persistent changes
My goal is to convert a raspbx server into a docker container. Something like this how to convert an iso to a docker image
So, how can I make my current raspbx installation into a squashfs file system ...