Atomic Desktop disk volume management: Difference between revisions
No edit summary |
No edit summary |
||
| Line 85: | Line 85: | ||
| | | | ||
|- | |- | ||
| External | | External volumes (usb, optical) | ||
| automatic | | automatic | ||
| /run/media/<user>/<name> | | /run/media/<user>/<name> | ||
Revision as of 14:00, 22 November 2026
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 volumes (usb, optical) | automatic | /run/media/<user>/<name> | /run/media/exampleuser/Fedora-Kinoite-ISO |