Questions tagged [overlayfs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
69 views

Enabling OverlayFS on Ubuntu 20.04 makes GNU GRUB selection pop up at boot

I followed this great tutorial on how to enable overlayfs, basically just involves setting the file: /etc/overlayroot.conf to overlayroot_cfgdisk="disabled" overlayroot="tmpfs:swap=1,...
1
vote
0answers
62 views

Netboot a machine, automatically rsync internal HDD to network master and continue booting from internal HDD

I have a server which stores the master image for a set of client computers. As of now the clients netboot from the server and use an overlayfs, so any changes do not affect the master image. Changes ...
1
vote
0answers
99 views

Install Ubuntu over pxe with an usb-C network adaptator

I want to install Ubuntu over pxe. With my Thinkpad it works fine. But my Dell doesn't have an Rj45 connector, so I use an usb-C network adaptor. In the startup process, initramfs don't get an IP ...
2
votes
0answers
218 views

unshare then overlay mount fails

I Cannot overlay mount after creating an mount namespace with unshare $ unshare -rm # mount -t overlay overlay -o lowerdir=/bin,upperdir=/overlay/upper/bin,workdir=/overlay/work/bin/ /overlay/merged/...
2
votes
0answers
204 views

How can I change the timezone on a read only operating system protected by overlayroot?

I have an Ubuntu 16.04 installation mounted using overlayroot as a read only partition. I also have a read write partition on the same drive. I need to be able to change the timezone setting of the PC ...
2
votes
1answer
662 views

Overlayfs to an existing directory

I have looked at How do I use OverlayFS? but it doesn't answer my question. I need to install some third party applications and they require /opt to be writable but the device I am running on has /...
0
votes
2answers
440 views

Unable to launch evince

When launching evince, I get this error: EvinceDocument-WARNING **: 10:14:16.337: Error opening directory “/usr/lib/x86_64-linux-gnu/evince/4/backends”: Permission denied I have already put evince ...
1
vote
0answers
71 views

Including full paths with overlayfs or unionfs

I have the following directories: /some/path/dir1/subdir1/* /some/path/dir1/subdir2/* /some/path/dir1/subdir3/* /some/path/dir2/subdir1/* /some/path/dir2/subdir2/* /some/path/dir2/subdir3/* I want ...
0
votes
1answer
2k views

Logging and overlayfs on an existing Ubuntu install

I have an Ubuntu system which will mostly be used as a headless appliance, and needs to recover from abrupt power loss gracefully and start operating normally. I understand overlayfs is the way to go,...
0
votes
1answer
476 views

Does Kernel HWE 4.18.0-13 support overlay nfs_export=on?

I have a problem nfs exporting an overlay of btrfs and ext4. The overlay works, but even though it is mounted with nfs_export=on I get the error message: exportfs: /data/merged does not support NFS ...
1
vote
1answer
649 views

Where is the upper layer of the live cd image overlayfs root filesystem stored?

When I run the live image (Ubuntu 18.04), it shows the root filesystem being an overlay with the squashfs image (/cdrom/casper/filesystem.squashfs, containing the main data) as lower layer, and /cow/...
1
vote
0answers
478 views

Booting 18.04 with overlay fillesystem

I have an arm based embedded target with emmc and sd card. The 18.04 rootfs is on /dev/mmcblk0p2. Kernel version is 4.14 and overlay filesystem is enabled. Kernel and device tree are on /dev/...
0
votes
1answer
3k views

overlayfs mounted - but writing fails as "read-only file system"

I try a simple overlay example by mounting: sudo mount -t overlay -o lowerdir=/tmp/lower,upperdir=/tmp/upper/upper, workdir=/tmp/upper/workdir none /tmp/overlay (I run the full script from ...
1
vote
1answer
6k views

How to make rootfs read-only?

I try to make my rootfs read-only. I thought that I better use overlay filesystem for this purpose (I don't have other alternatives now). Yet, after many trials and changing fstab, I can't manage to ...
0
votes
2answers
638 views

LXC & OverlayFS

Goal - To configure/install a webapp on Host & make sure its accessible through an lxc container. Why - To isolate the host yet provide access to the web app and ssh access to our clients. ...
0
votes
0answers
92 views

OverlayFS - Understanding and writing files

I'm working on getting a reliable image for a kiosk style application. Currently one of our big issues is boot stability. Since there's a high likelihood of our computers being hard-reset or losing ...
0
votes
1answer
109 views

Boot from a hardware-protected USB pen drive

I installed Ubuntu Gnome 17.04 with overlayroot on a USB pen drive and set in /etc/overlayroot.conf: overlayroot="tmpfs" to use tmpfs as overlay filesystem. That works very well. However, I want to ...
1
vote
0answers
800 views

Did Ubuntu switch from overlayfs to aufs between 16.04.1 and 16.04.2?

In Ubuntu 16.04.1, booting a live USB and typing mount reveals that / is mounted as an OverlayFS with a squashfs filesystem as the lower directory and a ramdisk as the upper directory. However, ...
1
vote
0answers
466 views

Is there an overlay file system doing a copy-up on read?

What I‘m looking for is a mixture of an overlaying file system like overlayfs or aufs that does a copy-up on read access. Or, from the other side, a service like unison that sync only files that have ...
1
vote
0answers
621 views

How to set up (L)ubuntu to use read only-fs on raspberry?

I want to set up an Lubuntu-Kiosk read-only. So I want everything that user does, written in the RAM only. When the Raspberry is restarted, everything is deleted. I have tried using the package ...
0
votes
0answers
614 views

How do I make whole system permanently read-only on Linux so even root can't have access?

After installing all the required drivers, I want my system to be in read-only mode. Even root can't change anything on the system. Usecases could, any virus should not affect the system or system ...
0
votes
2answers
1k views

Sandbox overlay for ubuntu

I want some functionality like Sandboxie on Windows. That is, I want to run a program in a sandbox. The program doesn't detect the sandbox, and can read files from outside the sandbox usually. But ...
1
vote
0answers
315 views

OverlayFS - Multiple lower directories and sub directories

I am trying to mount a set of lower directories together imagine like /mount/ssd_1, /mount/ssd_2 etc.. Each of the drives has a set of folders like ff, aa, bb. When I mount the directories like mount ...
8
votes
1answer
10k views

How do I add an overlayfs to /etc/fstab?

On Ubuntu v14.04, I have a drive mounted at /mnt/log-overlay that I would like to mount over the top of /var/log. The following mount command successfully creates that overlay, and works fine: mount ...
0
votes
1answer
2k views

Overlayfs working dir

on an Ubuntu (16.04 LTS) working as Webserver I have installed overlayfs (I did already some months ago on another machine). On both machine I have: overlayroot="tmpfs:swap=1,recurse=0" But on the ...
3
votes
2answers
333 views

How do you make my root system behave like a live system?

One of my friends doesn't have an hdd , so I will install linux distro on a usb stick. It will be a full install just like installing to hdd but it will install on a flash stick instead of hdd. The ...
2
votes
1answer
2k views

GRUB defaulting to 30 second timeout

In my GRUB configuration, I have the following setting: GRUB_TIMEOUT=3 In general, it works fine. However, I'm using overlayroot, which creates a protected file system (specifically, it uses ...
1
vote
1answer
4k views

OverlayFS - Multiple Lower Directories

One should be able to combine multiple lower directories in an OverlayFS mount by using a colon to separate them according to this document. However this fails for me. For example if I setup with: ...
12
votes
1answer
35k views

Example OverlayFS Usage [duplicate]

I'm running Ubuntu 14.04 with the 3.19 kernel which should have OpenFS supported (since kernel 3.18). I've been reading about OverlayFS but am confused as to how to actually implement using it. It ...
1
vote
3answers
3k views

How can I mount a lowerdir into a specific subdirectory with overlayfs?

I want to mount the following directories using overlayfs: (lowerdir) /chroot in /merged (lowerdir) /home in /merged/home (upperdir) /tmpfs in /merged ...so that the resulting merged directory is ...
3
votes
1answer
9k views

Enabling OverlayFS on ubuntu 14.04

I understand that to enable overlay file system we nedd to make changes in the overlayroot.conf file and reboot the system. But is it possible without rebooting my system
2
votes
2answers
5k views

The best way to create a root filesystem, split between read only and writable

My aim is to create a system where the main parts of the root filesystem are stored on a read-only SD card, with writeable parts located on an SSD set to rw. This is to be done with a view to keeping ...
2
votes
0answers
656 views

Confusion about overlay filesystem in ubuntu

Suppose some commands below: mkdir -p /tmp/rootfs mkdir -p /tmp/rootfs1 mkdir /mnt mount -n -t overlayfs -o rw,upperdir=/tmp/rootfs,lowerdir=/tmp/rootfs1 none /mnt As a result, I can see ...
0
votes
2answers
502 views

Make some files be persistent between system formats?

I have an Ubuntu laptop I use as a plex server, seedbox, DNS cache and ad filter for my home network. Since it's the only computer in the house that doesn't get shutdown, I have a tendency to load ...
64
votes
5answers
133k views

How do I use OverlayFS?

This answer and email message indicate that something called "OverlayFS" is available in Ubuntu 11.10 and will forcefully replace aufs in Ubuntu 12.04. How do I use it? Where is its documentation?