Sample Header Ad - 728x90

SquashFS+UnionFS as root filesystem?

3 votes
1 answer
5639 views
What's an easy way to to use a union filesystem (read-only SquashFS + R/W overlay) as /? I'm thinking of using a custom boot script as the kernel init= argument. The script would mount the SquashFS + overlay, then chroot into the mounted filesystem and run the real /sbin/init... however I'm not sure how well this works with systemd init, and I'm wondering if there isn't a simpler option.
Asked by Anul (185 rep)
Jun 16, 2015, 04:58 AM
Last activity: Jul 10, 2018, 11:29 AM