Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Init not reinitializing after reboot
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
jpsollie
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2013
Posts: 79

PostPosted: Mon Jul 01, 2019 5:57 am    Post subject: [solved] Init not reinitializing after reboot Reply with quote

Hi Everyone,

I have a small ryzen pc with a fairly quick SSD
The kernel boots fine, no problem, but concerning the init system (openrc) I'm somewhat stuck:
- it starts, that's for sure
- udev crashes, that's also sure
- it doesn't go any further than procfs
- It doesn't remount root in read-write mode
- no sysklogd
- no dmesg
- the blank login shell is displayed. A clear command is issued somewhere so I can't see what it actually did
- init doesn't know which runlevel it is actually using: when I initiate a shutdown, I get the error '/var/inittab' not found.
- I already restarted the system 'echo b > /proc/sysrq-trigger' but this was not a good idea: now all services which were actually started during the previous boot are assumed to be alive (according to rc-status)

So I can see the kernel logs via dmesg, where I see it is booting properly, but nothing more. I also tried to perform an @world re-emerge, but no luck.

So, I guess the most useful option here would be to stop init from clearing the terminal window when it finished loading the services, as logging to root is not possible. But how do I do that?
_________________
I am using gentoo for over 10 years now. yet seen its possibilities, I still feel like a n00b...


Last edited by jpsollie on Wed Jul 03, 2019 5:47 am; edited 1 time in total
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 2117
Location: Frankfurt, Germany

PostPosted: Mon Jul 01, 2019 8:44 am    Post subject: Reply with quote

Quote:
So, I guess the most useful option here would be to stop init from clearing the terminal window when it finished loading the services,

Does this help: https://serverfault.com/questions/255969/prevent-the-console-from-clearing-the-screen?
Back to top
View user's profile Send private message
jpsollie
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2013
Posts: 79

PostPosted: Tue Jul 02, 2019 5:20 am    Post subject: Reply with quote

mike155 wrote:
Quote:
So, I guess the most useful option here would be to stop init from clearing the terminal window when it finished loading the services,

Does this help: https://serverfault.com/questions/255969/prevent-the-console-from-clearing-the-screen?


It did! I could have googled it myself, sorry
Anyway, init shows there's a problem with tmpfs. I'll see what happened in the kernel config, probably I turned it off accidentally.
_________________
I am using gentoo for over 10 years now. yet seen its possibilities, I still feel like a n00b...
Back to top
View user's profile Send private message
jpsollie
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2013
Posts: 79

PostPosted: Wed Jul 03, 2019 5:47 am    Post subject: Reply with quote

As I stated yesterday : I forgot to include tmpfs in the kernel. It is running smoothly right now. Topic closed
_________________
I am using gentoo for over 10 years now. yet seen its possibilities, I still feel like a n00b...
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