Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fstab options
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
hex0x5f
n00b
n00b


Joined: 23 Jun 2014
Posts: 12

PostPosted: Fri Aug 01, 2014 8:30 pm    Post subject: fstab options Reply with quote

Hello
I would be glad if someone can help me out with something i couldn't find an answer for it.

Gentoo handbook says that it may be better to set noauto option for /boot partition, while editing fstab, for security reasons.
But how the system would be booted if this partition is not auto-booted ?

Thank you
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2574

PostPosted: Fri Aug 01, 2014 8:47 pm    Post subject: Reply with quote

Welcome to Gentoo!

The /boot partition is not mounted during boot up. This may sound odd, but I'll try and explain. Your boot loader is stored in the MBR for older computers or in the EFI BIOS ROM for new EFI computers. When you press the power button these areas are loaded into memory and do not reside on any partition. They will then read (but not write) the kernel from a specified partition and hand the computer over to it.

The fstab entries are not even read until after the root file system is mounted which is a while after this and has no effect on the boot loader. What the noauto does is it tells the Linux system that is booted with the appropriate root not to automatically mount /boot. These entries have no effect for other systems including other Linux systems with different root partitions but sharing any other ones.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
hex0x5f
n00b
n00b


Joined: 23 Jun 2014
Posts: 12

PostPosted: Fri Aug 01, 2014 9:16 pm    Post subject: Reply with quote

got it,
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