A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [squashfs]

SquashFS is a read-only compressed file system intented mainly to create live CD-ROM and DVD-ROM Linux installations.

Filter by
Sorted by
Tagged with
0
votes
0answers
46 views

how to convert bigendian squashfs file system to little endian

Are there any tools to convert big endian squashfs file system to little endian?
0
votes
1answer
25 views

LXC Container with Overlayfs/Squashfs

We are using a Centos LXC container with the rootfs contained in a squashfs filesystem. I really like the fact that a user cannot edit the rootfs from the host. During the development, developers ...
0
votes
0answers
32 views

Writing to a readonly partition

I have the following situation with which I need some help. I have a Linux-based OS running on a RaspberryPi Compute Module. The system was shutdown abruptly, which led to an issue where now the boot ...
0
votes
0answers
19 views

How do I mount an overlay with dmsetup?

Simple question but I couldn’t find the answer : I’ve an ext4 filesystem stored inside a squashfs volume (so read‑only) and an existing dm_snapshot_cow file for providing write access. What’s the ...
1
vote
0answers
37 views

Mount numerous SquashFS images

I am trying to configure a web server so that it can serve web apps using NGINX. We expect to have 15,000 different web apps. Each web app is supposed to be packaged in a SquashFS image, containing a ...
0
votes
0answers
34 views

Debian tty failed autologin

I'm experimenting reducing a Debian 9.9 xfce live ISO (just to start with a Debian image, not because it's special). Unsquash the filesystem.squash from the live image Enter chroot on the created ...
0
votes
1answer
40 views

Is there a way to create a (compressed) squashfs that contains an uncompressed file

We have a large file that needs to be uncompressed inside a compressed squashfs. Is this possible without patching mksquashfs? Something like this would be nice: $ mksquashfs existing_squash.sqsh ...
0
votes
0answers
70 views

Mounting writeable xz compressed filesystem

I want use gnome-diskimage to take an image of a disk and write it to a mounted xz compression filesystem. Unfortunately, gnome-diskimages don't have a compression option. :( Some possibilities are ...
0
votes
0answers
244 views

Mounting MTD root file system (squashfs) on NAND flash

Device use embedded Linux version 2.6.26.5, 11 MTD partitions created on "gen_nand" at boot time. # cat /proc/mtd dev: size erasesize name mtd0: 00060000 00004000 "u-boot" mtd1: 00020000 ...
2
votes
1answer
212 views

Mounting squashfs with correct permissions

I frequently use mksquashfs to make backups of folders on various systems. Sometimes this results in files which cannot be read by any users upon mounting. If I do a sudo mount file.squashfs /to/...
1
vote
0answers
38 views

JFFS2 and SQUASHFS erasing entire flash chip

I am working on an OpenWRT system for a custom board with a Flash Memory Chip. One problem is that U-Boot only works if the Flash Memory is in 3 Byte Addressing Mode while Linux needs 4 byte ...
1
vote
0answers
119 views

A more permanent change to readonly squashfs mounted /etc

I have an IP-camera with the BusyBox v1.22.1 operating system that has some accounts either without or with public known passwords that I want to change to make it more secure. I have managed to log ...
0
votes
0answers
79 views

Why isn't filesystem bigger than 4G bootable

I'm creating a custom ISO based on the official Ubuntu 16.04. What I'm doing is simple: 1) mount the official Ubuntu iso to /mnt; 2) cp /mnt/install/filesystem.squashfs /home; 3) cd /home && ...
2
votes
1answer
336 views

Can't mount squashfs loop during initramfs

I am trying to mount a squashfs file during initramfs. I have included loop and squashfs modules. Currently using mount /foo.squashfs /mountpoint or mount -t squashfs -o loop /foo.squashfs /...
0
votes
0answers
65 views

Loop Device eat up RAM [duplicate]

EDIT: Given link of another thread suggest that newer kernel do not have this issue but I am using latest kernel i.e. 4.18.5. Hence, this issue is either new or newer kernel have this bug In my setup,...
0
votes
1answer
161 views

Details(examples) of “pseudo-definition”, “pseudo-file”, “sort_file” for mksquashfs?

From debian stretch man page: Filesystem filter options -p PSEUDO_DEFINITION Add pseudo file definition. -pf PSEUDO_FILE Add list of pseudo file definitions. -sort SORT_FILE ...
0
votes
1answer
367 views

Unmount all your partitions to release/free up SSD

I have a machine with a single SSD and 3 partitions. I want to unmount the entire SSD while staying live so that I can run a firmware upgrade tool on the SSD. I know that unmounting your only disk is ...
2
votes
3answers
579 views

mksquashfs: how to include full absolute directory paths inside the squashfs image?

When I create a squashfs image from multiple directories such as: /bin/ /usr/bin/ /usr/local/bin/ /some/other/random/folder/ /another/long/path/ If I use command... mksquashfs /bin /usr/bin /usr/...
2
votes
1answer
2k views

Using squashfs on top of ubi as root file system

I'm trying to use a compressed squashfs ubi volume as my root file system. The idea is to have two ubi volumes. Volume one contains a read-only squashfs file system. Volume two is re-sizable and uses ...
1
vote
0answers
499 views

How to create and loop-mount an encrypted drive image?

I've seen this excellent answer that explains how to use the following squashfs command to compress a disk image on-the-fly: mkdir empty-dir mksquashfs empty-dir squash.img -p 'sda_backup.img f 444 ...
1
vote
0answers
242 views

squashfs double caching problem

Let's say there's a large squashfs image on a file. So it's mounted as a loopback device. Now as I understand, kernels from 4.4 and up have eliminated double caching on loopback devices. But ...
0
votes
0answers
533 views

/dev/sr0 (live DVD) turns into /dev/sr1 when inserting periphials

On a live Linux session, inserting a keyboard or mouse via USB onto the computer causes /dev/sr0 to be remapped as /dev/sr1, which makes the live system unable to access the DVD. sudo rename /dev/sr1 ...
0
votes
1answer
692 views

Is this a good idea for backups using rsync, squashfs, and aufs?

I currently do my backups using rsync, and hardlinks. I create a new full one every year, and then incrementals every day. I like the way I can browse it in an ordinary file manager, and that access ...
-2
votes
1answer
27 views

systemctl: Only works via tty2? (same user logged into tty3&tty1.)

I think that opening Guimager caused the drive to be locked and now having trouble with SQUASHFS errors. But that is a different story. Surprisingly, only tty2 can issue systemctl suspend, not tty3 ...
1
vote
0answers
167 views

Using squashfs for really large root file system images

On boot, in Linux, I'd like to mount my operating system using squashfs (with rw tmpfs overlay). These images will be used for my normal PC usage, including development and entertainment. I can see ...
1
vote
2answers
8k views

How to view files, created by Linux and programs in /tmp directory? [duplicate]

How to view files, created by Linux and programs in /tmp directory? The file names are hidden, command ls -al /tmp only show the presence of files not their names. Edit: I find that place in saved ...
1
vote
2answers
1k views

Mounting root partition on embedded file system

Linux embedded file system (Linux v. 2.6.26.5) running on raw NAND flash, it use Full Image's RootFS. U-boot 2009.03 bootloader. I need access shell after the Kernel is fully loaded, so that I can ...
0
votes
1answer
1k views

Problem resetting root password on an embedded device

Linux embedded file system run entirely on raw NAND flash, use Full Image's RootFS. Linux v. 2.6.26.5, U-boot 2009.03 bootloader. After the Kernel is fully loaded, when I try to submit command, the ...
1
vote
1answer
841 views

Access the filesystem as the root user

Embedded device, Linux version 2.6.26.5, U-Boot 2009.03 bootloader. ARM Linux Kernel Image on NAND flash, loading from NAND. How to access the filesystem as the root user, and to reset the root ...
2
votes
0answers
889 views

Ubuntu Server 16.04.3LTS Squashfs as root from Grub

I'm currently trying to setup an x86 64bit system to use a Squashfs as its root mountpoint, but i'm being met with many issues. Currently I am using 4.4.0-89 kernel compiled with Squashfs. I am ...
1
vote
3answers
3k views

wrt (openwrt / lede) initramfs

Do you know what initramfs-kernel mean? I know squashfs-factory/squashfs-sysupgrade. How can I do it or what is it? which is better? I just don't understand what the initramfs-kernel mean. I have ...
4
votes
1answer
2k views

Append to sub-directory inside squashfs file

Suppose we have filesystem.squashfs, we can append to it by: mksquashfs somefile filesystem.squashfs which appends somefile to root of squashfs file. appending directory: mksquashfs somedir/ ...
3
votes
1answer
1k views

How to check integrity of squashfs files

Is there a method to check integrity of squashfs files, using standard squashfs tools. At the time I'm using a separate file with sha256 hashes.
5
votes
0answers
2k views

Mounting squashfs image with read-write overlay for rootfs

I am trying to update a custom initramfs init script to mount a squashfs image as the root file system. I have been testing the mounting of a squash image to a loop device in read only, mounting ...
1
vote
0answers
301 views

Modifying a squashfs

I am having a problem recompiling this squashfile with the same file format. Here's the file I already tried with squashfs 3.4 but the problem is I am missing something with non-standard signature. ...
0
votes
2answers
1k views

Unable to kickstart machine with spacewalk / 404 squashfs.img

I am using spacewalk 2.6 on a CentOS7 machine. I am trying to kickstart machine from the spacewalk server. For troubleshooting purposes, i have disabled SElinux For troublshooting purposes, i have no ...
2
votes
1answer
25 views

How would I request that a future version of squashfs incorporate shadowing functions? [closed]

Currently you can already append new files to a compressed squashfs, and i thought that would be enough for my usecase, that doesn't actually require replacement because the files are 'last useful ...
5
votes
2answers
14k views

What is filesystem.squashfs and why does it take so long to load on to bootable media?

When I use Unetbootin to put a Linux ISO on a USB drive, it proceeds quite quickly until it gets to filesystem.squashfs, which takes longer to process than absolutely everything else combined. Is ...
1
vote
0answers
383 views

selinux on squashfs with overlayfs

Is it possible to use SELinux on a system with a squashfs root with an overlayfs overlay for read-write operations? On funtoo (gentoo), I booted with SELinux enabled in permissive mode to see what ...
2
votes
1answer
291 views

Mount a large squashfs in a way that allows random writes (to a separate filesystem)?

I just received a few-dozen-gigabyte squashfs that contains a PostgreSQL database. In order to be able to conveniently query it, I need to have a write access, which makes it complicated. Is there a ...
2
votes
2answers
813 views

Squashfs minimal compression?

I'd like to create a squashfs image of a directory, but it's a huge one and even minimal compression would be a big win. Is there a way to do something like mksquashfs -1?
0
votes
1answer
4k views

Remount linux filesystem from ro to rw [duplicate]

I need to remount my linux filesystem from ro to rw. But nothing gonna work. I will be very grateful if someone help me. # mount /dev/mtdblock3 on / type squashfs (ro) proc on /proc type proc (rw) ...
1
vote
1answer
297 views

Managing(adding/deleting,etc) users in a squashfs(RO file system) with a small R/W partition

I'm using squashfs as the file system on a board which is RO, along with a small jffs2 partition which is R/W. The files corresponding to user management, i.e /etc/passwd, /etc/group & /etc/shadow ...
3
votes
0answers
44 views

chroot and hyperos on ArchLinux?

hyperos is a fork of tinycorelinux Can I run hyperos in a chroot? How can I create an ISO image from files on repo? Is this possible? Which steps should I follow?
3
votes
1answer
1k views

How can I edit a squashfs image directly without extracting and re-packing?

I have a squashfs image file that I copied from a bootable iso file. When mounting the file, it always mounts it read-only. Is it possible to directly edit the content without extracting the squashfs ...
0
votes
1answer
1k views

How to update mounted squashfs filesystem

How to update mounted squashfs filesystem? Is it safe to write to mounted block device(routers update firmware somehow)?
4
votes
1answer
10k views

How to boot using a squashfs image as rootfs

I made a squashfs image from my system root, I want to put it on a USB drive among some Live ISOs, and make boot menu using GRUB2. What kernel boot parameters should I use to specify that Squashfs ...
2
votes
2answers
200 views

Pipe Find Results for '*.squashfs' to unsquashfs

I am looking for something that will find the squashed filesystem, and the pass the output to unsquash the fs and it would have to be an absolute path outside the squashfs. example /tmp/mnt/live/...
0
votes
1answer
239 views

aufs root on gentoo/funtoo

I have used an aufs root before on gentoo years ago, but cannot seem to get it going now. I am using genkernel-next, I would imagine I used genkernel before as well. I am using funtoo with aufs-...
3
votes
1answer
10k views

Remount squashfs root filessytem read-write [duplicate]

I am working on an embedded device. The fstab shows the following info: <file system> <mount pt> <type> <options> <dump> <pass> /dev/root / ...