Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem by playback a backup - not /proc /sys and /temp
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
SarahS93
Guru
Guru


Joined: 21 Nov 2013
Posts: 467

PostPosted: Sun Jul 16, 2017 1:17 am    Post subject: problem by playback a backup - not /proc /sys and /temp Reply with quote

I make a backup from my systemdrive, i forgot /proc, /sys and /tmp.
Are these important? The System will not boot.
Can i copy the missing files from /proc and /sys from any gentoo-minimal disc?
Are these files spezalized for my System?
Can i regenerate them new?
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


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

PostPosted: Sun Jul 16, 2017 2:19 am    Post subject: Reply with quote

/proc /sys are kernel pseudo filesystems.

Most of the time you just need to create the directory, and the init system will do the rest. No need to populate.

Make sure you have a /dev too. This one may need to be populated with null and console however.

cd /your/dev/mounted/somewhere/if/you/need/to/use/an/emergency/boot/image
mknod -m 600 console c 5 1
mknod -m 666 null c 1 3
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
SarahS93
Guru
Guru


Joined: 21 Nov 2013
Posts: 467

PostPosted: Sun Jul 16, 2017 10:13 am    Post subject: Reply with quote

"mkdir proc" and "mkdir sys" works, now the system is booting.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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