#squashfs

2025-07-05

There was one annoying problem that I wanted to solve myself while playing with the MXLinux live installer.

There are various good reasons why the SquashFS is used.

I got odd error messages after a while with that file system, as it resided on a USB stick, which has of course its own file system which is not EXT4. The reason why explicitly state that is EXT4 is robust when it comes down to unclosed file systems / unfinished journaling writes, when your Computing system crashes for whatever reasons.

Extended Four just rolls back and then your file system is intact

The file system which is on the USB stick does not roll back when it is unmounted uncleanly.

It's the latter that damaged the ISO, in which of course the squash file system resides. The reason why the squash file system errors picked up later is because the files that I needed which were in the damage part of the ISO, only were accessed hours later after the initial boot

I got an interesting chicken egg situation, where I wanted to copy a new intact version of the ISO to the USB stick but was refused access to it by MX Linux Live.

For a reason still unclear to me I didn't think about booting from one of the other ISOs that I have there, which are tiny and also reside on the same USB stick.

Yesterday I had the logical idea to boot from one of those other ISOs.

That one is designed in a much friendlier manner, you are still allowed to access the boot USB stick. Then it was a matter of copying another version of the MX Linux ISO from another USB stick to the one where I boot from. This time I left the errored version of the ISO on the stick so that the fresh version was written to another area of the target USB stick, which obviously has file system errors that I cannot fix until it's totally unmounted. For that I need another stick which is not in the building.

The other ISO I used is Slitaz, a tiny Linux distribution which can reside totally in RAM

#Filesystems #EXT4 #SquashFS #Linux #Live

2025-06-07

All I want is just a collection of #binutils, #GCC, #llvm+#clang, #glibc and #musl that are "free standing" / relocatable, which I can pack into a #squashfs image to carry around to my various development machines.

You'd think that for something as fundamental as compiler infrastructure with over 60 years of knowledge, the whole bootstrapping and bringup process would have been super streamlined, or at least mostly pain free by now.

Yeah, about that. IYKYK

Neustradamus :xmpp: :linux:neustradamus
2025-06-05
Vori :blobhaj_flag_bisexual:J0S3PH@tech.lgbt
2025-05-23

Does anyone know how to run #Docker on #SquashFS ?
I've got an error: using mount program fuse-overlayfs: unknown argument ignored: lazytime
When I try to modprobe fuse it shows FATAL: Module fuse not found in directory

*The squashfs image is made on #Debian

ajft [SEC=&8212;haha]ajft@aus.social
2024-09-26

@unascribed the one thing I'd like to be able to do with #squashfs is generate a multi-part fs, with each chunk a max of, say, 100GB, then be able to mount them later without needing to manually cat them all back together. maybe I haven't looked hard enough, but I can't see a way to do that

2024-09-23

Klaus Knopper is a renowned German software developer, entrepreneur, and educator, best known for creating Knoppix, one of the first Linux distributions to run directly from a CD or DVD without requiring installation on a hard drive.

Read More: machaddr.substack.com/p/klaus-

#Knoppix #Linux #Accessibility #Live #Distribution #Squashfs #OpenSource #Programming #Bio

2024-06-05

Как пересобрать ядро для WSL2 и остаться в живых

Мы активно пользуемся WSL2 для того, чтобы открывать линуксовые коры в Visual Studio. Для обеспечения консистентности символов и коры мы монтируем squashfs образ, созданный в целевой системе. После очередного апдейта целевого дистрибутива, у нас всё сломалось - squash монтировался, но мог посередине файла выдать ошибку чтения, записав в dmesg что-то типа SQUASHFS error: xz decompression failed

habr.com/ru/articles/819819/

#wsl2 #linux #squashfs #xz #компиляция

2024-04-20

#OpenWRT, kmod-mlx4-core, bird2c and luci-app-attendedsysupgrade.
Let's go with #SquashFS.

2024-01-30

Ryan Does #NixOS - Part 7

I was able to generate the required files for
#iPXE booting a #flake (#kernel + #initrd w/ #squashfs + iPXE script file), but kept running into issues with the kernel "unable to mount root fs" or "initramfs unpacking failed: invalid magic at start of compressed archive". What is weird is that https://github.com/nix-community/nixos-images/ when booted through netboot.xyz works just fine, if I grab the underlying kernel + initrd + iPXE script on MULTIPLE #systems , it fails with the latter message.

This is really boggling my mind as I thought there was data corruption happening, but I am more likely to believe something is happening within NixOS's
#zstd compression, or with that building process.

Gert V 🇵🇸gert@social.coop
2023-11-29

Work has started on building the searchable archives of the RSS feeds in the Digital Post Office and it is about to adopt squashfs. The requirement is simple, a archive should be one file that contains many files, from which we can select files to extract as quickly as possible. Are there better alternatives for this?

#linux #archive #squashfs-tools

2023-08-21

I was considering #SquashFS for my #server #backup and did a little #benchmark. The results are surprising!

Time it took to run `mksquashfs linux-5.18.15/` from RAM to the NAS in my lounge room via different remote file access methods (100 MBit/s link, ping 21ms, best out of 3 runs):
NFSv4 - 35.843s
SSHFS - 23.278s
NBD - 21.966s

I would've assumed that #NFS beats #SSHFS by a long shot!

#linux #sysadmin #SSH #NBD

acrypthash👨🏻‍💻acrypthash@infosec.exchange
2023-07-02

I am just now getting time to write about this, but last weekend I went my local hacking space and got to hack a Tenda FH1206 router. It was a lot of fun! I definitely received some help on the soldering part though :blobcatsweats:

I also snagged a signed copy of Space Rogue! #security #hacking #router #squashfs #opensource

Who Let The Dogs Out 🐾ashed@mastodon.ml
2022-12-02

Для Linux предложена файловая система Composefs

#Linux #flatpak #composefs #squashfs

Александр Ларсон (Alexander Larsson), создатель Flatpak, работающий в компании Red Hat, представил предварительный вариант патчей с реализацией файловой системы Composefs для ядра Linux. Предложенная файловая система напоминает Squashfs и также подходит для монтирования образов в режиме только для чтения. Отличия сводятся к обеспечению в Composefs эффективного совместного хранения содержимого нескольких примонтированных дисковых образов и поддержке проверки подлинности читаемых данных. В качестве областей применения, в которых может оказаться востребована ФС Composefs, называется монтирование образов контейнеров и применение для Git-подобного репозитория OSTree.

opennet.ru/opennews/art.shtml?

Greg Harvey 🌍greg_harvey@tooting.ch
2022-06-15

Dear Internet, does anyone know of a reliable way to unmount and remount a #squashfs file-system with a script, without rebooting the server? Because I'm struggling to find one. RTs gratefully received! #linux #toot

2021-05-07

#Superblocks are metadata structures within file systems, and as such you can bet on the fact that #squashfs has one or more superblocks.

2021-02-27

When you're getting ready to implement a workaround, and out of the blue an upstream maintainer shows up with a superior solution freshly committed to upstream master ❤️ #nixos #squashfs

github.com/NixOS/nixpkgs/issue

Michał Krzysztof Feilerarchiet@bsd.network
2019-03-26

ok so i want to setup myself an #ApacheJames #mailserver, on #FreeBSD, with mail repository store DBFile (headers in RDBMS, body in files), with the files being, from time to time, moved to a #squashfs archive — unionized with the recent ones using #unionfs.

Turned on squashfs compression for https://pagure.io/FedoraBook. I was afraid, that with compression enabled, xdelta would not produce small deltas. But it does!! 😀
root.img changed from 4.1GB to 1.8GB
Delta for no-change: 20MB
Delta from current Fedora 29 to Fedora 30: 633MB

#xdelta #squashfs #fedorabook #fedora #linux

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst