Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

explicit init= was suddenly needed to boot Gentoo

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
sigra
Tux's lil' helper
Tux's lil' helper
Posts: 143
Joined: Fri Feb 03, 2006 9:07 pm

explicit init= was suddenly needed to boot Gentoo

  • Quote

Post by sigra » Fri Mar 20, 2026 3:48 pm

Today I booted a new kernel version and it did not start the init system. It was not because of the new kernel version. To get into the system again, I had to:
  • Reboot and select a rescue mode that was available in lilo.
  • Code: Select all

    mount /boot
    mount -o remount,rw /dev/sda3 /
  • add

    Code: Select all

       append="init=/lib/systemd/systemd"
    to the default boot image in /etc/lilo.conf
  • Code: Select all

    lilo
I don't know why this change was necessary. If you know, please let us know. If it happens to you too, the steps above might help.
Top
zen_desu
Guru
Guru
Posts: 501
Joined: Fri Oct 25, 2024 3:14 pm
Location: your area

Re: explicit init= was suddenly needed to boot Gentoo

  • Quote

Post by zen_desu » Fri Mar 20, 2026 4:47 pm

sigra wrote:Today I booted a new kernel version and it did not start the init system. It was not because of the new kernel version. To get into the system again, I had to:
  • Reboot and select a rescue mode that was available in lilo.
  • Code: Select all

    mount /boot
    mount -o remount,rw /dev/sda3 /
  • add

    Code: Select all

       append="init=/lib/systemd/systemd"
    to the default boot image in /etc/lilo.conf
  • Code: Select all

    lilo
I don't know why this change was necessary. If you know, please let us know. If it happens to you too, the steps above might help.
no initrd? is there not a symlink from a standard init path to that systemd init file?
µgRD dev
Wiki writer
Top
sigra
Tux's lil' helper
Tux's lil' helper
Posts: 143
Joined: Fri Feb 03, 2006 9:07 pm

  • Quote

Post by sigra » Fri Mar 20, 2026 5:02 pm

I don't se initrd. There was a inittab file that was changed by something 2 days ago. It seems to be for openrc, not systemd. There is also the directory init.d and inittab.d.
Top
jburns
Veteran
Veteran
Posts: 1255
Joined: Thu Jan 18, 2007 4:44 am
Location: Massachusetts USA

  • Quote

Post by jburns » Fri Mar 20, 2026 6:07 pm

Systemd 260 removed support for System V service scripts is a possibility.
Top
sigra
Tux's lil' helper
Tux's lil' helper
Posts: 143
Joined: Fri Feb 03, 2006 9:07 pm

  • Quote

Post by sigra » Fri Mar 20, 2026 8:05 pm

Code: Select all

sys-apps/systemd
      Latest version available: 259.4-r1
      Latest version installed: 259.4-r1
Top
GDH-gentoo
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Jul 20, 2019 7:02 pm
Location: South America

  • Quote

Post by GDH-gentoo » Fri Mar 20, 2026 9:37 pm

sigra wrote:There was a inittab file that was changed by something 2 days ago. It seems to be for openrc, not systemd. There is also the directory init.d and inittab.d.
sigra wrote:

Code: Select all

sys-apps/systemd
      Latest version available: 259.4-r1
      Latest version installed: 259.4-r1
That is a very strange mix of sysvinit + OpenRC and systemd... which shouldn't normally happen on Gentoo.
Ionen wrote:As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Top
sigra
Tux's lil' helper
Tux's lil' helper
Posts: 143
Joined: Fri Feb 03, 2006 9:07 pm

  • Quote

Post by sigra » Sat Mar 21, 2026 7:26 am

sysvinit is a dependency of systemd (even version 260) unless built with sysv-utils

OpenRC is not installed
Top
GDH-gentoo
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Jul 20, 2019 7:02 pm
Location: South America

  • Quote

Post by GDH-gentoo » Sat Mar 21, 2026 1:26 pm

sigra wrote:sysvinit is a dependency of systemd (even version 260) unless built with sysv-utils
And sysv-utils is set for sys-apps/systemd on systemd profiles...
Ionen wrote:As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Top
floppymaster
Developer
Developer
User avatar
Posts: 234
Joined: Wed Jul 07, 2010 1:05 am
Location: Detroit, MI, USA

  • Quote

Post by floppymaster » Sat Mar 21, 2026 10:00 pm

I recently migrated the default-enabled behavior for the "sysv-utils" USE flag from the sys-apps/systemd ebuild into the systemd profiles. I did this to make it easier for people to install sys-apps/systemd and sys-apps/openrc at the same time on a non-systemd profile.

https://gitweb.gentoo.org/repo/gentoo.g ... 13a819e5ac

https://gitweb.gentoo.org/repo/gentoo.g ... 936bcf787b

If you are using systemd on a non-systemd profile, it is possible the USE flag got flipped off during a recent system update.

Using a systemd profile is not required to use sys-apps/systemd, but it is highly recommended.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic