Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HELP /proc mount point does not exist FIXED
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
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2153
Location: Kentucky

PostPosted: Tue Mar 31, 2020 11:19 pm    Post subject: HELP /proc mount point does not exist FIXED Reply with quote

due to my fat fingers and carelessness, i clobbered the luks crypto block info on my laptop's boot drive. :oops:

not to fear; i have a backup server!

so i used the occasion to secure-erase my 2tb boot drive, then encrypted it, put lvm on it created the pv, vg, and lv for the root filesystem, did mkfs.xfs and mounted it on /mnt/gentoo using my gentoo livecd usb stick.

then i restored all my files from my backup server (so i lost 1 day of files, no big deal).

then i booted from my boot usb stick,which has grub and my kernel and initrd.

but woe of woes! it dies after the chroot with:
Code:

unmounting /proc and /sys
doing the pivot root
INIT: version 2.93 booting

   OpenRC 0.42.1 is starting up Gentoo Linux (x86_64)

* Mounting /proc ...
mount: /proc: mount point does not exist.


then follows many other complaints caused by the above. :(

surely this is recoverable. what do i need to do? :?:
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.


Last edited by Moriah on Wed Apr 01, 2020 4:08 am; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 15324

PostPosted: Wed Apr 01, 2020 2:00 am    Post subject: Reply with quote

Code:
# mount -t proc proc /no-such-directory
mount: /no-such-directory: mount point does not exist.
From that, I would guess that your problem is that /proc, as an empty directory to be used to anchor the mount point, does not exist, but should. Check that you are mounting the root device you think you are, and that you have the directory /proc on the root device. It can be, and usually should be, empty. While checking this, you should also check for the existence of /sys (can be empty) and /dev (often good to have a few simple device nodes there as an emergency fallback). My fallback /dev contains:
Code:
crw-------  1 root tty     5,  1  console
lrwxrwxrwx  1 root root       13  fd -> /proc/self/fd/
crwxrwxrwx  1 root root    1,  3  null
crw-------  1 root tty     4,  0  tty0
crw-rw-rw-  1 root root    1,  5  zero
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2153
Location: Kentucky

PostPosted: Wed Apr 01, 2020 4:07 am    Post subject: Reply with quote

I created /proc and /sys and it booted. :D

I've been using it for about 15 minutes now, and all seems good. We shall see how it fares over the next few days, but I'm going to close out this plea for help.

Thanks, Hu! :mrgreen:
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
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