Questions tagged [squashfs]
14 questions
6
votes
3 answers
What was the SquashFS compression method?
I've got some SquashFS files, and I'd like to know how they were compressed so that I can have a rough idea of how they would perform when mounted.
The only binaries provided by the squashfs-tools package are mksquashfs and unsquashfs, which are…
Deltik
- 19,971
5
votes
2 answers
How can I make a SquashFS file the root file system when doing an iPXE boot?
I have a system that works perfectly fine as iPXE boot server. Now I'm trying to make it use a SquashFS file as a root file system, instead of an NFS file system.
The current system uses iPXE configuration as the following (relevant lines shown),…
Emre Sevinç
- 331
4
votes
1 answer
Gentoo based custom Live CD won't boot
I followed this guide for building a Gentoo based custom live CD but I didn't manage to preform a complete boot.
The kernel boots from the initrd and start scanning modules. After that it states "Could not find the root block device in ." and offers…
darwish
- 361
4
votes
2 answers
Recompress squashfs
I have some squashfs files that are currently compressed with the default algorithm which is zlib/gzip. I would like to recompress them to zstd.
What would be the command to do this without extracting it to disk and recreating it from that…
usilo
- 175
3
votes
1 answer
Can a squashfs system support a volume label?
I am currently considering using squashfs to store information on flash drives. However, whenever the flash drive is inserted, Fedora 34 assigns it a device id (/dev/sd?) which may change from one boot to another, making it difficult to write…
ghborrmann
- 75
2
votes
1 answer
ZFS compressed and deduped filesystem on file
I can create squashed filesystems with mksquashfs in this way:
mksquashfs dir-1 dir-2 ... dir-n filesystem-on-file.squash -comp xz -Xbcj x86 -Xdict-size 1048576 -b 1024k
mksquashfs provides compression and deduplication of data but is read-only.…
Avio
- 957
2
votes
0 answers
Boot Kali with custom Filesystem
I'm trying to customize my "filesystem.squashfs" file, for my Kali live system. For modifying I used "unsquash" and for rebuilding "mksquash" without additional parameters. Now I replaced the old Filesystem with the new one. By booting the System…
1
vote
0 answers
Can I use a squashfs file sitting on a hard disk as my rootfs?
I need to do remote updates on an embedded Linux box that has its rootfs on /dev/sda1.
My first thought was to add an update partition and switch to it on update, but for reasons specific to our solution, I'm restricted to booting only…
user2679165
- 11
1
vote
1 answer
Command requires missing /run on read-only filsystem
I am trying to run a command (cryptsetup) on an embedded system using squashfs. It requires /run but that directory does not exist, and I cannot create it since it is read-only.
I have an ASUS router with asuswrt-merlin installed (linux-2.6). I have…
Nick
- 688
0
votes
1 answer
Restore Ubiquity router with squashfs errors
I have a Ubiquity EdgeRouter Lite that no longer functions after a powercycle.
Connecting to the serial port, this is the error I get.
kjournald starting. Commit interval 3 seconds
EXT3-fs (sda2): using internal journal
EXT3-fs (sda2): recovery…
TJR
- 193
0
votes
1 answer
Merge a squashFS and a initrd into one single file (PXE booting)
I have a initrd and a cloop (squashFS). Which is the simplest way, to merge those 2 files into one single initrd file, for the purpose of PXE-booting the whole image at once without any bootstrapping process?
Of course, it will be a live Linux…
sebastian nielsen
- 1,031
0
votes
1 answer
How can an SELinux filesystem be relabeled in an unpacked squashfs filesystem?
I am trying to configure selinux for a live boot Debian system.
SELinux is inoperable due to copious changes during build and system configuration and requires the entire filesystem to be relabeled. This must be accomplished at build with filesystem…
Kebam
- 89
0
votes
1 answer
Squashfs corrupted data
I've created a squashfs from a small rootfs directory for emebedded devices:
mksquashfs rootfs_image rootfs.squashfs -b 1024k -comp xz -Xbcj x86
I've successfully copied this squashfs into the device's NOR flash and setup the bootloader (U-boot)…
Daniel
- 647
0
votes
0 answers
netgear WNR2000v4 SquashFS read-only file system
I've made it this far in trying to get openWRT on my netgear WNR2000v4.
I got telnet enabled, and downgraded the firmware to do that. I set up my tftp server to be able to send files.
however, now, I can't write to the routers storage. It mentions…
Muradin007
- 157