Skip to content

OverlayFS for rootfs #218

@snedosiekov

Description

@snedosiekov

Hi Tom @tdewey-rpi

Coul you suggest best approach to implement overlayfs root scheme in security boot?
In case of native provision I got a success with this approach but in case if fde mode I fake to boot.
Because I cannot modify kernel cmdline in fde (or dont know how to do this) I have renamed /sbin/init to /sbin/real_init and using custom script us /sbin/init
Also I commented fstab parsing and set rootDev and etc variables directly (rootDev to /dev/mapper/cryptfs)
trying to mount overlayfs witn ro option for rootfs as lower failed, probably because secure initramfs image have mounted it as rw, so I removed ro and init have started but process fail on starting systemd-remount-fs service

I would be grateful for your advice.

WBR
Serhii

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions