Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] /boot does not automatically mount
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
edoguix
n00b
n00b


Joined: 16 Nov 2018
Posts: 4

PostPosted: Wed Nov 21, 2018 5:26 am    Post subject: [SOLVED] /boot does not automatically mount Reply with quote

I noticed recently whenever I wanted to do a grub-mkconfig i had to constantly make sure my /boot partition was mounted. Sure enough after every reboot it isnt mounted

This line is in my fstab file:

/dev/sdc2 /boot vfat noauto,noatime 1 2


I had it as a UUID, but because its a vfat filestystem (im guessing its the reason, still not sure) it was only an 8 digit UUID so I changed it to the drive/parition sdc2.

When I do a:

mount -a

it does nothing.

but if i manually mount with :

mount /dev/sdc2 /boot

it will work.

What gives?


Last edited by edoguix on Wed Nov 21, 2018 5:46 am; edited 3 times in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Wed Nov 21, 2018 5:39 am    Post subject: Reply with quote

If you have "noauto" in your fstab on the line with the mount, it will not mount with mount -a ... ?

Change to:
Code:
/dev/sdc2 /boot vfat noatime 1 2

?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
edoguix
n00b
n00b


Joined: 16 Nov 2018
Posts: 4

PostPosted: Wed Nov 21, 2018 5:46 am    Post subject: Reply with quote

eccerr0r wrote:
If you have "noauto" in your fstab on the line with the mount, it will not mount with mount -a ... ?

Change to:
Code:
/dev/sdc2 /boot vfat noatime 1 2

?


:/
:roll:

That makes too much sense:

I must have blindly copied the example and rushed through, I knew it was something easy because I couldn't find the appropriate answer by googling or searching through forums
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Wed Nov 21, 2018 5:51 am    Post subject: Reply with quote

No problem, sometimes it takes another set of eyes to see the problem.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21633

PostPosted: Thu Nov 22, 2018 1:42 am    Post subject: Reply with quote

Unless you are frequently updating that filesystem, you may be better off with it unmounted. It is admittedly inconvenient to mount it when needed, but it only needs to be mounted if you are reconfiguring grub or the kernel. At any other time, you can leave it unmounted to avoid the risk of needing to fsck it after a crash.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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