View previous topic :: View next topic |
Author |
Message |
cord Guru
Joined: 28 Apr 2007 Posts: 344
|
Posted: Wed Jul 14, 2021 11:12 am Post subject: Installing Gentoo with systemd |
|
|
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 |
|
|
fredbear5150 Tux's lil' helper
Joined: 11 Oct 2003 Posts: 113
|
Posted: Wed Jul 14, 2021 5:18 pm Post subject: |
|
|
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 |
|
|
cord Guru
Joined: 28 Apr 2007 Posts: 344
|
Posted: Wed Jul 14, 2021 5:21 pm Post subject: |
|
|
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 |
|
|
cord Guru
Joined: 28 Apr 2007 Posts: 344
|
Posted: Sat Jul 17, 2021 11:50 am Post subject: |
|
|
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 |
|
|
|