Gentoo Tidbits - Gentoo Has a Kernel Binary  @dasgregor
Gentoo Tidbits - Gentoo Has a Kernel Binary  @dasgregor
DasGregor | Gentoo Tidbits - Gentoo Has a Kernel Binary @dasgregor | Uploaded 4 years ago | Updated May 14 2024
Today I want to discuss something exciting. Gentoo has a portage package that installs the kernel as a binary. It's not marked stable, and I suggest you build this in a VM to try before testing it on your main box. However, if you do want to try it, make sure to add the following to your package.accept_keywords file:

/etc/portage/package.accept_keywords

=sys-kernel/vanilla-kernel-bin-5.4.7 ~amd64
=sys-kernel/dracut-049-r3 ~amd64
=sys-kernel/installkernel-gentoo-2 ~amd64
=sys-apps/debianutils-4.9-r1 ~amd64

I'd always say when doing this to backup your /boot directory. I did this, but everything worked for me, so this was not an issue. However, it would be good to have this for safety.

After installing, I ran this to rebuild the grub.cfg:

grub-mkconfig -o /boot/grub/grub.cfg

This is not a tutorial to install it, but more a discussion about source vs binary from a Gentoo user's perspective.

Resources:
https://blogs.gentoo.org/mgorny/2019/12/19/a-distribution-kernel-for-gentoo/
Gentoo Tidbits - Gentoo Has a Kernel Binary @dasgregorDas Experiences - Docker @dasgregorGentoo Tidbits - Kernel Update Issues @dasgregorGentoo Tidbits - Kernel Upgrade (4.19.72) Fixed virtualbox-modules @dasgregorGentoo Tidbits - --changed-deps Emerge Flag @dasgregorDas SAY What?!? Microsoft exFAT in the Linux Kernel? System76 Rocks! @dasgregorWheres Das Been - Short Vlog/Update @dasgregorGentooTidbits - VLC Compile issue with libebml @dasgregorGentoo Tidbits - Kwin (KWinQpaPlugin.so) Issue @dasgregorDas Experiences FreeBSD 11.1 @dasgregorLFS Tidbits - A Statement of Farewell @dasgregor2018 Gentoo Install Guide Part 5 (From LFS) @dasgregor2018 Gentoo Install Guide Part 4 (From LFS) @dasgregorDas Experiences antiX-17 On A Toshiba A55-S306 @dasgregor2018 Gentoo Install Guide Part 3 (From LFS) @dasgregor2018 Gentoo Install Guide Part 2 (From LFS) @dasgregor2018 Gentoo Install Guide Part 1 (From LFS) @dasgregorGentoo Built From an LFS Partition @dasgregorLFS Tidbits - I Blew It UP! BUT I Fixed It - NAS Thoughts @dasgregorLFS Tidbits - KDE Apps - More Progress @dasgregorLFS Tidbits - User updates and Progress @dasgregorLFS Tidbit - Virtualbox Install (CLFS required) @dasgregorLFS i3wm Install and General Ramble @dasgregorLinux From Scratch - LFS 8.1 Second Glances @dasgregori3 Tidbits - i3 Opinions and General Talk @dasgregorGentoo Tidbits - Kernel Overview @dasgregorGentoo Tidbits - New Years Day World Upgrade @dasgregorGentoo Tidbits - Gentoo is KING @dasgregorGentoo Tidbits - --with-bdeps=y Capabilities @dasgregorDasGregors New format @dasgregori3 Tidbits - Open Floating Applications @dasgregorDas Experiences: i3wm @dasgregorGentoo Tidbits - KDE-Sunset Overlay Discussion @dasgregorGentoo Tidbits - cpupower command script @dasgregorKODI-Ice! Polar Bear - A Linux Mint Custom Spin Review @dasgregorCalculate Linux 15.17 Review @dasgregorSlackware 14.2 KDE 4.14 Review @dasgregorGentoo in Review - Chrome Binary Plugin Update 06/24/16 @dasgregorGentoo Plasma5 Ramblin Review @dasgregorFreeBSD 10.2 First Impressions (Approved) @dasgregorGentoo Tidbits - QComicBook @dasgregorGentoo Linux Minecraft 101 Part 4 Maps @dasgregorGentoo Tidbits - C Compiler Cannot Create Executables @dasgregorGentoo Linux Minecraft 101 Part 3 A Beginner Set of Mods (Take 2) @dasgregorGentoo Linux Minecraft 101 Part 2 The Forge Environment @dasgregorGentoo Tidbits - Layman packages via eix @dasgregorGentoo Linux Minecraft 101 Part 1 @dasgregorRoboLinux 7.9.2 KDE First Impressions and Thoughts @dasgregorGentoo Tidbits - Bumblebee Setup with Nvidia and Intel @dasgregorGentoo Tidbits - The Power of One (--oneshot or -1) @dasgregor

Gentoo Tidbits - Gentoo Has a Kernel Binary @dasgregor