Skip to contentSkip to conversation

Kloudifold

KERNEL NEWBIES ACCESS Kloudifold 1 participant 1 message Mar 10, 2023

lore
Share & tools
lore

Kloudifold

author
#0 lore raw

My distro is Arch Linux.
Install manually is not complicated, and it can be easily automated.
I just followed the archwiki: https://wiki.archlinux.org/title/Kernel/Traditional_compilation

Thank you for your advice about the "dracut" package. I used "mkinitcpio" to generate initramfs.

Quoted 52 lines · Fabio M. De Francesco

I'm not sure if the solution to your problem is to install everything manually. I have no problems getting make modules_install install to work properly and find GRUB2 because openSUSE provides the "dracut" package for the sysadmins/developers to automate the above.

It's perfectly fine to teach how to install manually, even if just for people to learn what one needs to boot a custom kernel. But kernel developers don't have time to manually do routine tasks that can be easily automated.

I use to compile and install the kernel image, the modules, init, System.map, config, and grub.conf at least two or three times a day and often more times (you'll understand when you find yourself doing a bisect with git-bisect and maybe you have to compile and install a dozen times in a row in one day).

In my opinion you need to make sure you understand and explain how to install "dracut" if your distro provides it. Otherwise, search and read the documentation of your distribution and try to figure out how to make the make modules_install install command to work properly in your system...

suse:~ # zypper info dracut
Loading repository data...
Reading installed packages...

Information for package dracut:
-------------------------------
Repository : Main Repository (OSS)
Name : dracut
Version : 059+suse.366.gf45bc67a-1.1
Arch : x86_64
Vendor : openSUSE
Installed Size : 1.9 MiB
Installed : Yes (automatically)
Status : up-to-date
Source package : dracut-059+suse.366.gf45bc67a-1.1.src
Upstream URL : https://github.com/dracutdevs/dracut/wiki
Summary : Event driven initramfs infrastructure
Description :
Dracut contains tools to create a bootable initramfs for Linux kernels >=
2.6.
Dracut contains various modules which are driven by the event-based udev and systemd. Having root on MD, DM, LVM2, LUKS is supported as well as NFS, iSCSI, NBD, FCoE.

[...]

Thanks,

Fabio