Atomic Desktop disk volume management: Difference between revisions
No edit summary |
No edit summary |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
=== 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. | Instructions below show how to install an Atomic Desktop with a larger boot volume. | ||
| Line 13: | Line 16: | ||
! mount point | ! mount point | ||
! size | ! size | ||
! note | |||
|- | |- | ||
| sda1 | | sda1 | ||
| Line 18: | Line 22: | ||
| /boot/efi | | /boot/efi | ||
| 1 GB | | 1 GB | ||
| normal default is ~600 MB | |||
|- | |- | ||
| sda2 | | sda2 | ||
| Line 23: | Line 28: | ||
| /boot | | /boot | ||
| 10 GB | | 10 GB | ||
| normal default is ~2 GB | |||
|- | |- | ||
| sda3 | | sda3 | ||
| btrfs | | btrfs | ||
| <leave blank> | | <leave blank> | ||
| remaining space | | remaining space | ||
| to maximise space, use MB, not GB | |||
|} | |} | ||
| Line 54: | Line 61: | ||
| var | | var | ||
| /var | | /var | ||
| | |||
|} | |||
=== Mounting additional disks === | |||
{| class="wikitable" | |||
|- | |||
! disk type | |||
! mount type | |||
! base path | |||
! example | |||
! note | |||
|- | |||
| Windows disks (internal and external) | |||
| manual | |||
| /mnt/<letter> | |||
| /mnt/h<br/>/mnt/s | |||
| Matches WSL | |||
|- | |||
| Internal Linux disks | |||
| manual | |||
| /var/data/<name> | |||
| /var/data/stuff<br/>/var/data/things | |||
| | |||
|- | |||
| External media devices (usb, optical) | |||
| automatic | |||
| /run/media/<user>/<name> | |||
| /run/media/exampleuser/Fedora-Kinoite-ISO | |||
| | | | ||
|} | |} | ||
Latest 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 media devices (usb, optical) | automatic | /run/media/<user>/<name> | /run/media/exampleuser/Fedora-Kinoite-ISO |