Forums

Skip to content

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

Installation of new kernel and systemd

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
braz2kuk
Tux's lil' helper
Tux's lil' helper
Posts: 107
Joined: Thu Apr 26, 2007 11:51 pm

Installation of new kernel and systemd

  • Quote

Post by braz2kuk » Thu Jan 29, 2026 1:37 pm

Hi all,

Long time user here and had a system for a good few years using OpenRC and compiling the kernel manually myself.

I decided to backup and reinstall as had few issues with legacy packages, anyway I decided to give systemd a try given it's a new installation.

During the install I have come to the stage of installing the kernel.

Previously I would do the following:

- emerge latest sources
- copy config and edit if required
- make and rebuild modules
- install to /boot

I would then run grub configure to pick up the new kernel and reboot no issues. My question is the handbook is confusing me a little, for systemd can I use this approach and I personally like the manual config.

I don't use an initramfs, grub woukd just boot the vmlinuz image and all was good.

I know it's likely me here not understanding so any help would be appreciated.

Regards

Pete
Top
GDH-gentoo
Advocate
Advocate
User avatar
Posts: 2117
Joined: Sat Jul 20, 2019 7:02 pm
Location: South America

Re: Installation of new kernel and systemd

  • Quote

Post by GDH-gentoo » Thu Jan 29, 2026 1:52 pm

braz2kuk wrote:Previously I would do the following:

- emerge latest sources
- copy config and edit if required
- make and rebuild modules
- install to /boot

I would then run grub configure to pick up the new kernel and reboot no issues. My question is the handbook is confusing me a little, for systemd can I use this approach and I personally like the manual config.
You can continue doing that on a systemd profile as long as you enable the kernel features that systemd requires (it's more demanding than OpenRC in that regard), and, if you install to /boot using the kernel's build system (i. e. make install), for maximum compatibility with your previous OpenRC way, I'd recommend you unset the systemd USE flag for package sys-kernel/installkernel, and set the rest of the USE flags it understands the way you had them before.
Ionen wrote:As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Top
Post Reply

2 posts • Page 1 of 1

Return to “Installing 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