2023-11-11 02:40:29 |
Uri Herrera |
description |
When booting a Linux kernel above version 6.4.15, overlayroot does not work. But it doesn't occur when using a kernel before 6.5, such as 6.4.15-2.
Trying different versions of the initrd generator tooling for Debian-based distributions (initramfs-tools) does not yield a different result.
The issue causes the installed system to display errors during boot reading: Read-only file system.
I'm using the following boot parameter to use overlayroot: overlayroot=tmpfs:swap=1,recurse=0
And I'm using a separate home, swap, and root partitions. |
I use the package overlayroot on a custom ISO to provide an immutable root directory upon installation. I use the package from Ubuntu, overlayroot version 0.47ubuntu1. However, I've had a problem with overlayroot.
Recently, overlayroot stopped working when I started using any version of the Linux kernel newer than 6.4.15.
Once the installed system boots, the boot process halts with multiple messages reading: Read-only filesystem. This indicates that there's a problem with the overlay.
However, the initramfs script in init-bottom that the package adds creates the directories for the overlay and modifies the fstab file successfully.
So, I'm not sure what is causing this problem. |
|