this post was submitted on 18 Feb 2025
24 points (100.0% liked)

Linux

8912 readers
77 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

Greetings,

I wanted to know if the first partition has to be FAT32 and should be mounted at /efi . Gentoo and Arch tell us to always have first partition of type FAT32 however they mount it in different location. I am confused can anyone elaborate please?

top 4 comments
sorted by: hot top controversial new old
[–] mvirts@lemmy.world 11 points 5 days ago

The efi partition can generally be mounted anywhere, distros may expect it in a specific location.

The efi partition must be fat formatted.

I'm not sure if partition order matters, I think the main thing is setting the boot flag for the efi partition in the partition table.

https://en.wikipedia.org/wiki/EFI_system_partition

[–] thenextguy@lemmy.world 11 points 5 days ago

https://wiki.archlinux.org/title/EFI_system_partition

Yes it must be fat32. I see nothing about it needing to be the first partition. And it documents several mount options.

My understanding is that the mount point mainly depends on the bootloader you choose when setting things up, or updating kernels. It doesn't matter at boot time.

[–] dingdongitsabear@lemmy.ml 2 points 4 days ago

yes to FAT32 but doesn't have to be first and there can be multiples; I have several EFI partitions (type ef00) and the picker shows me entries from them all. I use systemd-boot and the relevant EFI partition is mounted at /boot (didn't like /efi because I'm used to autocomplete /etc with tab).

[–] kugmo@sh.itjust.works 2 points 5 days ago

Only legacy MBR boot requires the boot loader to be at the very beginning of the disk. With GPT and EFI you can make your root the very first partition then have your /boot (and/or) /efi (which has to be fat16 or fat32 depending on partition size, it can be very small and you have the /boot hold your kernels) behind that partition to avoid the 'to the left of' issue when resizing partitions, assuming your root filesystem can be resized.