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

learn more… | top users | synonyms

1
vote
2answers
39 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
18 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 ...
0
votes
0answers
33 views

How to add squashfs file to linux live iso with initrd and mount it

I'm looking for a way I can add files to linux live iso that I've built and somehow load them to memory after or before initrd loads and then mount them as tmpfs, Anyone know how to do that? Thanks.
2
votes
1answer
32 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 ...
1
vote
2answers
43 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
235 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
49 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
22 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?
1
vote
1answer
58 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
58 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)?
2
votes
1answer
884 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
46 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
110 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-...
1
vote
1answer
1k 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 / ...
2
votes
1answer
109 views

How to add runnable OpenSSH server to an Ubuntu ISO?

In order to create my own custom Linux ISO (Ubuntu), I have decompressed the Squash file system and would like to make the changes to leave it with a installed and working OpenSSH-Server before re-...
1
vote
1answer
603 views

Decompile / Run MIPS executable under x86_64 Ubuntu

I'm currently trying to make modifications to a router firmware: Swisscom Centro Grande - aka Pirelli Vx226N1, firmware version: 60200. I've decompiled it successfully with FMK v0.99 and got the ...
0
votes
0answers
92 views

arch linux on alienware 14

I've tried to install arch in my New alienware 14 But i got a few errors there, squashfs is making trouble and something is stuck in the CPUs. Does someone have experiences with that?
1
vote
0answers
481 views

Add files to Centos Live CD

I'm trying to 'inject' 2 files into a Centos 6 live CD ISO. Process to date: extracted the files from the iso to ./files/ extracted the files from the squashfs.img to ./squashfs/ mounted the ...
1
vote
2answers
122 views

Why do LiveUSBs use squashfs (and similar) file systems?

Every LiveUSB I have encountered so far uses squashfs or some similar method of "faking" and ext4 file system, while actually keeping the partition type already found on the USB flash drive. Why don'...
1
vote
1answer
2k views

unsquashfs fails

Debian 7.0, I extracted the firmware.bin image using binwalk. The extracted content is squashfs-root folder containing subdirectories, and a separate file.squashfs file. I tried unsquashfs this file....
2
votes
0answers
618 views

How to mount squashfs (embedded-linux) on Ubuntu?

I have tried to mount a filesystem from a firmware (embedded-linux) but it failed on my Ubuntu 12.04 machine. Could you tell me how to mount that file system? (or possible reasons of the failure). ...
1
vote
0answers
91 views

squashfs reserve some free space

Briefly: Is it possible to reserve some free space using mksquashfs? I'm creating an image of simple livecd based on squashfs filesystem. Everything works fine except that I've got very little "free" ...
1
vote
0answers
203 views

Autofs timeout when accessing read-only file system [closed]

I've configured a auto-mount system (using autofs) with a timeout to mount a read-only (squashfs) file system. The mount gets unmounted after the timeout even though there is read only activity on ...
3
votes
1answer
2k views

Can not change permissions of files/directories in a chrooted filesystem

I am using Ubuntu 12.04 LTS 64 bits to chroot into a just extracted to my harddrive (with unsquashfs) Squash File System from a Kali Linux v1.0.5 32 bits pendrive for customizations: luis@Fujur:$ ...
1
vote
1answer
4k views

How can I chroot into a live filesystem.squashfs Linux distribution?

I would like to chroot into a Live USB Linux distro, if such thing is possible. I don't know if there is a generic method, so I will detail my specific test. I am testing Kali Linux v1.0.5 Live USB ...
2
votes
1answer
939 views

unetbootin: cannot mount squashfs on loop device

Im having a bit of fun with unetbootin with linux mint 16 setup in it. However when I try run the default menu item I get an error that ends with this: can not mount /dev/loop0 (/cdrom/casper/...
1
vote
1answer
807 views

Compression Level Mksquashfs

Here I'm trying to create a squashfs filesystem but the resulting image is bigger than the original version and not because I added a file or anything as I only modified some configuration files. ...
0
votes
0answers
19 views

UBUNTU + extract filesystem.squashfs for editing [duplicate]

please advice how to install the squashfs-tools on UBUNTU linux ? I try this unsquashfs filesystem.squashfs The program 'unsquashfs' is currently not installed, You can install it by typing: ...
2
votes
1answer
6k views

How to use 'unsquashfs' with lzma?

I'm using Ubuntu 12.04. I want to unsquash an lzma image. I have done sudo apt-get squashfs-tools Now, when I do unsquashfs <squashed_image_filename> I get Filesystem uses lzma ...
3
votes
1answer
560 views

Merging preexisting source folders in mksquashfs

In this answer on a previous question, I found out how to modify files in a squashfs filesystem: # unsquash the filesystem to a local directory sudo cp /media/clonezilla/live/filesystem.squashfs ./ ...
18
votes
1answer
45k views

Mounting a squashfs filesystem in read-write

I have a Clonezilla installation on a USB stick and I'd like to make some modifications to the operating system. Specifically, I'd like to insert a runnable script into /usr/sbin to make it easy to ...
-2
votes
1answer
12k views

How to log in to BackTrack Linux?

I've installed BackTrack 5 R3, a security testing distro, onto a USB drive, and I can get it to boot up, but I'm stuck in the BusyBox shell. Everybody says "just log in with username root and password ...
3
votes
1answer
464 views

Mount /etc from disc into squashfs

I've created a gentoo-live system which should be booted from a CF-card. The whole file-system is in a squashfs. I've created a custom initrd which first mounts the CF-card and from there the squashed ...
1
vote
1answer
321 views

What parts of the filesystem to tmpfs/squashfs/sparseimage for USB live system

I want to create a live system on a USB key / SDCard with Linux Mint 14 (KDE or Debian Edition) that stores data persistently. The USB key needs to have at least one fat32 partition. As storage for ...
5
votes
1answer
1k views

SQUASHFS 3 vs 4

I'm trying to modify a firmware file by unsquashing it, editing my files and squash it again. But I got problems with the device which does not accept the file because of different squashfs types (as ...
5
votes
2answers
1k views

SquashFS image as rootfs in LXC

Is it possible to use a SquashFS filesystem as an LXC rootfs? I can mount an ext3 image as a rootfs just by setting lxc.rootfs to the filename, but if it's any other type of image, lxc-start just says ...
2
votes
1answer
9k views

how to make read only filesystem writable on busybox?

I want to change some files on my router. Firstly i can change everything in /var, but i want to change /etc/fstab. when i try to change it, i get an error message that says filesystem is read only. ...
6
votes
1answer
7k views

Modifying a squashfs,

Obviously I don't want to actually modify a squashfs. What I would like to do though is take an existing squashfs, a set of files and create a new squashfs which is identical to the old one except ...