Skip to content

Boot_Topologies

Kevin P. Wilson edited this page Aug 11, 2024 · 1 revision

Hello!

This page is a work in progress.

Boot from rootfs on mdadm array

You need to add mdraid to the boot runlevel, and the initramfs must have mdadm inside in order to examine all of the drives with RAID data and figure out how to build the array(s) on the host.

Boot from rootfs on lvm

You need lvm in the boot runlevel and in the initramfs.

Keep /boot in an lvm logical volume

Grub understands lvm, so it’s easy to do this now.

Encrypted root with LUKS

You need to unlock the rootfs block device in the initramfs. GRUB can do it too, so you can keep /boot encrypted. It may be possible for GRUB to unlock it and keep it open…​