Xenia Linux supports a wide range of filesystem layouts and types, but has certain requirements to boot. This page will show the current supported layouts and what is needed to boot.
Outdated. Use BTRFS.
This layout is the current layout used for LVM setups and can be used on any filesystem that supports labels.
d1
├─d1p1 - EFI - 512M
├─d1p2 - ROOTS - 8G
├─d1p3 - OVERLAY - around 30% remaining space
└─d1p4 - HOME - all remaining space
This layout contains 4 partitions:
/home
EFI, ROOTS, OVERLAY and HOME labels are necessary for Xenia to boot this layout. If OVERLAY is not present, Xenia will boot into recovery.
Outdated. Use BTRFS.
d1
├─d1p1 - EFI - 512M
└─d1p2 - LVM - all remaining space
d1p2
├─vg0-roots - ROOTS - 8G
├─vg0-overlay - OVERLAY - around 30% remaining space
└─vg0-home - HOME - all remaining space
This layout contains 2 partitions:
This layout contains 3 LVs:
/home
EFI, ROOTS, OVERLAY and HOME labels are necessary for Xenia to boot this layout.
This layout is for Btrfs based systems.
d1
├─d1p1 - EFI - 512M
└─d1p2 - ROOTS - all remaining space
d1p2 - ROOTS
├─overlay - btrfs subvolume
│ ├─etc - btrfs subvolume
│ ├─var - btrfs subvolume
│ └─usr - btrfs subvolume
└─home - btrfs subvolume
This layout contains 2 partitions:
This layout contains 5 subvolumes alongside the root of the Btrfs:
/home
BTRFS needs to have the root images stored in its root, not in a subvolume. overlay, etc, var, usr and home need to be named as such for Xenia to mount them.
Overlays on a btrfs system look like this:
`/overlay/etc/etc /overlay/etc/etcw`
`/overlay/var/var /overlay/etc/etcw`
due to both the upper directory and work directory having to be on the same filesystem. Don't worry about making these yourself (foxmount will do it for you on first boot), just make the subvolumes.
This layout is for Btrfs/LUKS based systems.
d1
├─d1p1 - EFI - 512M
├─d1p2 - ROOTS - 8G
└─d1p3 - XENIA - all remaining space
d1p3 - XENIA (crypt)
├─overlay - btrfs subvolume
│ ├─etc - btrfs subvolume
│ ├─var - btrfs subvolume
│ └─usr - btrfs subvolume
└─home - btrfs subvolume
This layout contains 3 partitions:
This layout contains 5 subvolumes alongside the root of the Btrfs:
/home
This layout comprises of a ext4/xfs/any other labelled filesystem for root image storage, and a LUKS encrypted partition formatted as Btrfs for overlays and home.
Overlays on a btrfs system look like this:
`/overlay/etc/etc /overlay/etc/etcw`
`/overlay/var/var /overlay/etc/etcw`
due to both the upper directory and work directory having to be on the same filesystem. Don't worry about making these yourself (foxmount will do it for you on first boot), just make the subvolumes.