Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Do I need boot partition for EFI stub?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Hello!
n00b
n00b


Joined: 19 Oct 2024
Posts: 3

PostPosted: Sat Oct 19, 2024 11:58 am    Post subject: Do I need boot partition for EFI stub? Reply with quote

Hey, I'm thinking of using EFI stub.
1) So what are the pros and cons of not using a bootloader?
2) If I use EFI stub, do I need a /boot partition?
Back to top
View user's profile Send private message
spica
Guru
Guru


Joined: 04 Jun 2021
Posts: 327

PostPosted: Sat Oct 19, 2024 1:29 pm    Post subject: Re: Do I need boot partition for EFI stub? Reply with quote

1 booting is a few seconds faster
2 without a separate efi partition (/boot or /efi) the whole / has to be fat32, which is not an option
Back to top
View user's profile Send private message
pingtoo
Veteran
Veteran


Joined: 10 Sep 2021
Posts: 1197
Location: Richmond Hill, Canada

PostPosted: Sat Oct 19, 2024 2:03 pm    Post subject: Reply with quote

Hello!,

I am not sure I understand your mean of "/boot" partition. So beside spica said I would add a little bit so we are in sync.

/boot is a mount point where a storage can be access once mounted at mount point.

partition is a portion of storage that usually have a file system in the partition.

A efi partition have special meaning because the EFI spec defined it must be a storage with fat file system. It is also known as ESP.

Gentoo was using /boot as efi partition mount point for a while but later change the mount point to /efi.

you EFI stub kernel need to stored in a efi partition/filesystem. During boot time. it does not matter where it mount. your machine's bios(efi firmware) will find it because it is controlled by bios parameter. In computer boot procedure. the EFI stub itself is second stage boot loader.
Back to top
View user's profile Send private message
Hello!
n00b
n00b


Joined: 19 Oct 2024
Posts: 3

PostPosted: Sat Oct 19, 2024 4:48 pm    Post subject: Reply with quote

Okay thank you!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum