Unsure which options to check during partitioning

The mountpoint is only a directory in the running system onto which the partition will be mounted, so that it would be accessible to the running system. Therefore, the mountpoint is assigned by the running system — it is not set in the partition table or in the partition header itself.

On account of the EFI system partition concretely, the mountpoint for it in Manjaro is /boot/efi — Fedora for instance mounts it at /efi — and thus, there must exist a directory /boot/efi for the partition to be mounted onto, as well as a line in /etc/fstab referencing the partition, the mountpoint, the filesystem type, and the mount options for said filesystem.

I have written a couple of elaborate tutorials regarding drives and partitions, and regarding file permissions, which I strongly recommend you read. :backhand_index_pointing_down:

The EFI partition is a primitive filesystem — usually a FAT-derivative — containing so-called EFI stubs. An EFI stub is a small file in the EFI executable format, which, as an extension of the firmware (but created by the operating system upon installation), allows the EFI to boot the installed operating system. As such, it should be regarded as part of the EFI boot manager process.

The reason why the official recommendation is to make it at least 300 MiB is that Microsoft Windows tends to dump a lot of stuff in there, which would quickly lead to the EFI partition filling up, and especially so on systems with more than one version of Windows installed.

GNU/Linux doesn’t do that. This here below is the content of my own EFI partition, on a system with only Manjaro installed. :backhand_index_pointing_down:

[nx-74205:/dev/pts/3][/home/aragorn]
[aragorn] >   df -Th /dev/sda1
Filesystem     Type  Size  Used Avail Use% Mounted on
/dev/sda1      vfat  511M  632K  511M   1% /boot/efi

[nx-74205:/dev/pts/3][/home/aragorn]
[aragorn] >   tree -f /boot/efi
/boot/efi
└── /boot/efi/EFI
    ├── /boot/efi/EFI/boot
    │   └── /boot/efi/EFI/boot/bootx64.efi
    └── /boot/efi/EFI/manjaro
        └── /boot/efi/EFI/manjaro/grubx64.efi

4 directories, 2 files

As a swap device, Linux — the kernel — prefers a dedicated partition, so that it can access the raw disk blocks. A swap partition is not mounted anywhere, but accessed by the kernel directly (based upon the information about it in /etc/fstab).

However, Linux can also use swap files, and although the creation and correct configuration of those is a little more complicated on btrfs, it is still possible to create swap files later if necessary without needing to repartition your drive. The swap file will then reside on your root filesystem instead.

So you don’t need to worry about that now, and there are excellent tutorials on how to do it if push ever comes to shove.

2 Likes