Project Talk:Distribution Kernel

From Gentoo Wiki
Jump to:navigation Jump to:search
This is a Talk page - please see the documentation about using talk pages. Add newer comments below older ones, sign comments using four tildes (~~~~), and indent successive comments with colons (:). Add new sections at the bottom of the page, under a heading (== ==). Please remember to mark sections as "open for discussion" using {{talk|open}}, so they will show up in the list of open discussions.

Supported tracks

Talk status
This discussion is done as of 2022-04-02.

The supported tracks need to be updated. Or maybe just removed so they no longer need to be updated? :)

— The preceding unsigned comment was added by Kobboi (talkcontribs) 2021-11-07

Done. Made it for rarer updates now. Michał Górny (talk) 08:05, 7 November 2021 (UTC)

Hook directory

Talk status
This discussion is still ongoing.

The page advises to “use a hook in /etc/kernel/install.d/ to automatically update GRUB” but that didn't work for me. sys-kernel/installkernel-gentoo uses /etc/kernel/postinst.d instead. Is /etc/kernel/install.d/ specific to sys-kernel/installkernel-systemd-boot?

— The preceding unsigned comment was added by Tastytea (talkcontribs) 2022-02-08

The grub update is handled by the now stable sys-kernel/installkernel-gentoo[grub] which installs a script into postinst.d. --Tastytea (talk) 13:17, 2 April 2022 (UTC)


Talk status
This discussion is still ongoing.

I don't have access to edit the main page, but it was complained to me that an "initramfs" section should be added, explaining that the "initramfs" USE flag is available, its on by default, and REQUIRES use of dracut to auto-generate it. A link could also be added to the Initramfs section, but its unclear to me if anything on those sub-pages are directly relevant to how the initramfs works with the dist-kernel. I'm not sure how to deal with the overall repeated information but only show what is applicable.

— The preceding unsigned comment was added by Genr8 (talkcontribs) 2022-04-02

While gentoo-kernel-bin is not mentioned much in the wiki as it actually should be a ready-to-use kernel with universal configuration, there is no description about the USE=initramfs there. However some

emerge sys-kernel/gentoo-kernel-bin


dracut: *** Creating image file '/usr/src/linux-5.15.52-gentoo-dist/arch/x86/boot/initrd' ***
dracut: *** Creating initramfs image file '/usr/src/linux-5.15.52-gentoo-dist/arch/x86/boot/initrd' done ***                                           [ ok ]
 * Installing the kernel via installkernel ...                                                                                                         [ ok ]
>>> sys-kernel/gentoo-kernel-bin-5.15.52 merged.


dracut --force --kver 5.15.52-gentoo-dist

did create /boot/initramfs-5.15.52-gentoo-dist.img but still not symlinked. Shouldn't the emerge leave a ready kernel in /boot and also symlinking the initramfs like it does with, vmlinuz and config? If emerge should install and activate a kernel it should also call

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

by some USE=grub switch, no?

--Massimo B. (talk) 12:32, 4 August 2022 (UTC)