Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/boot mount point does not exist
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
don quixada
l33t
l33t


Joined: 15 May 2003
Posts: 810

PostPosted: Wed Aug 28, 2024 12:44 am    Post subject: /boot mount point does not exist Reply with quote

Hi folks, at some point (I think after inserting a USB-key), I suddenly cannot mount /boot:

Code:
mount /dev/sda1 /boot
mount: /boot: mount point does not exist.
       dmesg(1) may have more information after failed mount system call.


dmesg tells me nothing.

The strange thing, it mounts fine during boot (to access the kernel etc.).

Here's my fstab:

Code:
/dev/sda1       /boot   vfat    defaults,noauto         0       2


I also tried mounting the UUID instead but it didn't work. Any suggestions?

Thanks,

dq
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1721
Location: Germany

PostPosted: Wed Aug 28, 2024 5:33 am    Post subject: Reply with quote

Hello, it needs some more clarification what you have done and where you at if you follow some instructions, like the install guide.
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20484

PostPosted: Wed Aug 28, 2024 3:34 pm    Post subject: Reply with quote

Since you didn't show the output, check for the obvious:
Code:
stat /boot
Maybe it was accidentally removed.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
don quixada
l33t
l33t


Joined: 15 May 2003
Posts: 810

PostPosted: Wed Aug 28, 2024 3:56 pm    Post subject: Reply with quote

pjp wrote:
Since you didn't show the output, check for the obvious:
Code:
stat /boot
Maybe it was accidentally removed.


That was it! The '/boot' directory was missing. Such a simple fix-- how could have /boot been deleted?? This is concerning...
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20484

PostPosted: Wed Aug 28, 2024 4:35 pm    Post subject: Reply with quote

Since it is only a mount point, it would normally be empty, which would make rmdir work without the "directory not empty" error. Maybe uninstalling something could remove it? I have an empty /boot/.keep file in the mount point. I think portage puts those in various places, I presume to prevent removal during uninstalls.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
don quixada
l33t
l33t


Joined: 15 May 2003
Posts: 810

PostPosted: Thu Aug 29, 2024 11:06 pm    Post subject: Reply with quote

Good idea, thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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