Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results for overlayfs
Search options not deleted
0 votes
2 answers
1k views

Compile kernel with overlayfs

I'm trying to build a read only version of raspbian using overlayfs, the kernel version my raspberry pi is running apparently doesn't include it i'm wondering how i can recompile my own kernel with overlayfs
Tychus's user avatar
  • 112
3 votes
2 answers
4k views

Raspbian: Enable/disable OverlayFS from terminal?

I know that I can enable/disable OverlayFS from the raspi-config, but do I do this from the terminal? Via a bash script for example. …
Legatio's user avatar
  • 191
1 vote
1 answer
2k views

Enabling overlayfs makes external drives read-only

After updating to bookworm enabling overlayfs via raspi-config seems to have changed its behaviour. …
Wrykoulaka's user avatar
-1 votes
2 answers
239 views

How to enable overlayfs (read only mode) on Raspberry Pi 3B + Raspberry Pi OS (Bookworm)

TL;DR: This doesn't work in bookworm, so if you have this problem ditch it and go back to bullseye where overlayfs 'just works'. Only read on if you want your eyes to bleed. … What points to the new initrd with overlayfs capabilities? …
Paul Rafferty's user avatar
1 vote
0 answers
526 views

Flush/forget all changes to OverlayFS with read-only SD

raspi-config has the ability to enable the Overlay File System so that no changes are saved to the SD card. That is fantastic, but it seems the changes are saved in RAM. The problem is, when the Pi …
A. Que's user avatar
  • 111
7 votes
2 answers
63k views

How to get raspi-config on Ubuntu 20.04

I'd like to use it to easily control OverlayFS for example. Is this possible with Ubuntu on RPi 4? …
dzhi's user avatar
  • 171
0 votes
1 answer
1k views

Unable to change config.txt or cmdline.txt permanently

/etc/fstab mounts the boot partition to defaults, overlayfs does not seem enable (or I did not manage to see it) Even when I use the raspi-config tool, it changes the files but when rebooting, changes …
lauhub's user avatar
  • 334
7 votes

How do I make the OS reset itself every time it boots up?

There are mainly two union filesystems: overlayfs and aufs. Both have the same basic model. The following is a dramatic simplification: Filesystems are stacked vertically. … I prefer to use overlayfs because it is simple and part of the kernel. We only have to activate it. There are several scripts and HowTos on the web to do that but I prefer overlayroot. …
Ingo's user avatar
  • 42.6k
1 vote

How can I use an init ramdisk (initramfs) on boot up Raspberry Pi?

Not tested this but have used a similar method to add overlayfs modules and a custom scripts to the the initramfs to enable RO operation. …
Roger Jones's user avatar
  • 1,474
1 vote

How to enable aufs support on raspberry Pi, specifically, raspbian?

You might be better off using OverlayFS, as suggested, the support of which apparently is already included. …
user avatar
0 votes

How to enable overlayfs (read only mode) on Raspberry Pi 3B + Raspberry Pi OS (Bookworm)

Overlayfs just doesn't seem to work at all, despite assurances to the contrary that "what we have already had been tested and works" in this github post. …
Kyle Silfer's user avatar
2 votes
Accepted

Enabling overlayfs makes external drives read-only

After much hacking and googling on this: raspi-config adds overlayroot=tmpfs in cmdline.txt to switch the overlayfs on. …
wrt54gl's user avatar
  • 36
1 vote

Read-only SD card and file system in RAM

It then removes /new_root creates an empty tmpfs partition (a partition that only lives in RAM) mounts an OverlayFS partition under the name /new_root OverlayFS lets you create a overlayed stack of …
Nils Werner's user avatar
1 vote

Compile kernel with overlayfs

According to this Source: Kernel version 3.18 and later, have the OverlayFS already on it. However if you want to compile the kernel on your own following the aforementioned Source link. …
Shan-Desai's user avatar
  • 1,541
0 votes

Raspbian buster read-only system with nmcli issue - No plugin supported adding this connection

I could not use overlayfs because of the need to regularly switch to rw mode to store some things persistently. I used the same technique as the originals poster. …
Daniel Blake's user avatar

15 30 50 per page