Atomic Desktop disk volume management

From Pengwings

Fix small boot volume

The /boot volume has to contain the initramfs of every deployment (ostree will copy the initramfs of each deployment there). Default installation of Fedora Atomic Desktop creates a /boot volume around 2 GB in size, which is only able to store the boot files of 6 or 7 deployments. Given the abundance of free space on primary drive, this should probably be increased at install time, since it's hard to change later.

Instructions below show how to install an Atomic Desktop with a larger boot volume.

From Anaconda (the installer) you need to select custom partitioning scheme for the disk. To avoid problems it is advised you only have the destination disk connected.

Then set up the disk as follows.

Example uses disk "sda" but could be any disk

partition fs mount point size note
sda1 vfat (efi) /boot/efi 1 GB normal default is ~600 MB
sda2 ext4 /boot 10 GB normal default is ~2 GB
sda3 btrfs <leave blank> remaining space to maximise space, use MB, not GB

This will create btrfs volume for partition 3 (e.g. sda3)

Configure btrfs subvolumes like this:

name mount point note
top-level <leave blank> created automatically
root /
home /var/home
var /var

Mounting additional disks

disk type mount type base path example note
Windows disks (internal and external) manual /mnt/<letter> /mnt/h
/mnt/s
Matches WSL
Internal Linux disks manual /var/data/<name> /var/data/stuff
/var/data/things
External media devices (usb, optical) automatic /run/media/<user>/<name> /run/media/exampleuser/Fedora-Kinoite-ISO