View previous topic :: View next topic |
Author |
Message |
edoguix n00b
Joined: 16 Nov 2018 Posts: 4
|
Posted: Wed Nov 21, 2018 5:26 am Post subject: [SOLVED] /boot does not automatically mount |
|
|
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 |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9679 Location: almost Mile High in the USA
|
Posted: Wed Nov 21, 2018 5:39 am Post subject: |
|
|
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 |
|
|
edoguix n00b
Joined: 16 Nov 2018 Posts: 4
|
Posted: Wed Nov 21, 2018 5:46 am Post subject: |
|
|
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 |
? |
:/
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 |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9679 Location: almost Mile High in the USA
|
Posted: Wed Nov 21, 2018 5:51 am Post subject: |
|
|
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 |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Thu Nov 22, 2018 1:42 am Post subject: |
|
|
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 |
|
|
|