Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing Gentoo with systemd
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
cord
Guru
Guru


Joined: 28 Apr 2007
Posts: 344

PostPosted: Wed Jul 14, 2021 11:12 am    Post subject: Installing Gentoo with systemd Reply with quote

Hello. I choosed to give a try Gentoo with systemd init. So, I'm trying to install it in QEMU virtual machine (HOST is Gentoo too).
I have followed by handbook and systemd article.
Seems to be I have enabled all needed modules in kernel, but it hangs up with general protection fault error (see screenshot).
emerge --info
kernel config

What's the problem?
Back to top
View user's profile Send private message
fredbear5150
Tux's lil' helper
Tux's lil' helper


Joined: 11 Oct 2003
Posts: 113

PostPosted: Wed Jul 14, 2021 5:18 pm    Post subject: Reply with quote

I don't use systemd, only openrc. (I don't like systemd personally but don't want to get into that debate here.)

However, have you set it as the supported init manager in the kernel config? In the gentoo-sources kernel it is under the "Gentoo Linux support -> Support for init systems, systems and service manager" in "make menuconfig". There is a "systemd" option in there.
Back to top
View user's profile Send private message
cord
Guru
Guru


Joined: 28 Apr 2007
Posts: 344

PostPosted: Wed Jul 14, 2021 5:21 pm    Post subject: Reply with quote

fredbear5150 wrote:
However, have you set it as the supported init manager in the kernel config? In the gentoo-sources kernel it is under the "Gentoo Linux support -> Support for init systems, systems and service manager" in "make menuconfig". There is a "systemd" option in there.

Yes, of course. See line 41 in my kernel config:
Code:
CONFIG_DEFAULT_INIT="/lib/systemd/systemd"
Back to top
View user's profile Send private message
cord
Guru
Guru


Joined: 28 Apr 2007
Posts: 344

PostPosted: Sat Jul 17, 2021 11:50 am    Post subject: Reply with quote

I have reinstall Gentoo and the error above is disapper.
What I changed:
1. Hard drive image of 20 GB (it was 10GB).
2. I didn't set "-march=native"
2. Before compiling kernel, I have recompiled gcc (enabled USE="objc", which wil be necessary later).

ps Testing systemd :)
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