-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/boot on a separate partition #2801
Comments
Hi, #2705 should help a lot with this. Can you give it a try? |
Hi @vnd, did you manage how to move the /boot directory under another partition? I have the same setup and same requirements and I'm struggling finding a way to do this... |
@msalvinik we ended up with this:
|
thanks for sharing that @vnd, works like a charm |
@vnd I would add just another little bit of information.
|
We're using OSTree on an embedded Linux board, with rootfs produced by Yocto using meta-updater, and U-Boot as a bootloader. Now we need to encrypt root partition with LUKS, meaning that boot artifacts have to reside on a separate boot partition (since root partition will be encrypted).
However I can't figure out what is the proper way make OSTree work with /boot on another partition. Apparently it has to do something with symlinks, or so it seems from PR #2149 and also ostree-prepare-root.c file, but I don't quite get it.. Manually mounting boot partition under /sysroot/boot inside initrd seems to work but looks like an ugly workaround, or?
The text was updated successfully, but these errors were encountered: