Fstab

This article is about  in postmarketOS.

Usage in the boot process
We used to rely on  to find the postmarketOS boot and root partitions by their label. We have to find partitions by their label, because we do not always know the exact location or UUID of the partition in advance. However, by just relying on the label, we get unpredictable behavior if installing postmarketOS on both the eMMC and the SD card.

The initramfs accepts paths to the boot and root partitions as kernel parameters and falls back to searching by label, therefore it covers all use cases we have. Nowadays, we let the initramfs mount root and boot, and do not have any entries for them in.

Enabling localmount service
If you want to add custom entries to your  (e.g. to mount your SD card) and want OpenRC to process the file during boot, enable the   service:

Allowing non-superuser mounting
If you see the following error message in your tinydm log after start-up, you must allow non-root users to mount volumes:

To allow that, change the mount-options of the  entry to   (which is the equivalent of  ).

You may wish to re-enable, etc. (e.g. by making your mount-options  , which reinstates the   option after it was disabled by the preceding   option), but please read mount(8) - Linux man page to understand why they default to 'no' when the   (or  ) option is specified.

Related issue: