Jump to content
  • 0

Not mounting /boot (/dev/sda1) on boot


fossala
 Share

Question

I've installed funtoo last night/this afternoon. On first boot it couldn't find "real_root" this was because my fstab was wrong. I fixed this and ran boot-update and got errors about not finding something in /boot/grub. This is when I found out /boot wasn't mounted (/dev/sda1) I mounted this by hand and re-ran boot-update, it finished without errors.

 

Now the system boots fine but /boot is still not mounted unless I do it manually after boot.

 

My fstab is correct and it just running

mount /boot

Mounts it correctly.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Oh, good. Can I ask why?

 

Technically, Grub does not require the boot (/boot) partition to be mounted to reference/locate the kernel and boot the machine. Generally, the arguments for having /boot mounted for normal system usage are few. As mentioned, it's been quite some years that 'noauto' has been set as the default for /boot in the template fstab file provided in the stage-3 tarballs from Gentoo and Funtoo. But it's not some type of hard 'law' or anything - if you'd like to always see your boot partition mounted, feel free to go ahead and removed 'noauto' from that line in fstab.

 

In the Gen/Funtoo-verses (and well, in Linux-verse generally), it's really only necessary to mount /boot when performing a kernel upgrade. Otherwise, it's a best practice to leave it as 'noauto' in fstab, imho. It has happened that newer users in years past have accidentally cd'd into /boot and deleted the kernel. Not the end of the world, by any means, but a pita to correct when you have to reboot the box.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...