Bradford Morgan White: Linux Kernel Huge Config for 6.18.5

20260117

As usual, I have another kernel configuration that has no need for bootloader, for an initrd, or anything like that. It's a massive kernel, but it works for me on all of my machines.

cd /usr/src
wget https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.18.5.tar.xz
tar xf linux-6.18.5.tar.xz
rm -f linux-6.18.5.tar.xz
rm -f linux
ln -s /usr/src/linux-6.18.5 /usr/src/linux
cd linux
make mrproper
wget https://absurd.wtf/files/kernel-6.18.5-config -O .config
make oldconfig
make -j$(nproc)
make -j$(nproc) modules_install
make -j$(nproc) headers_install
cp -v arch/x86_64/boot/bzImage /boot/efi/EFI/BOOTX64.EFI
efibootmgr -c -d /dev/nvme0n1 -p 1 -l '\EFI\BOOTX64.EFI' -L "Slackware64" -u "root=/dev/nvme0n1p2 pcie_aspm=off"

Your milage may vary.

Please note that the efibootmgr command will need to be changed to match your system's setup.

⇠ back

© MMIX - MMXXVI, Bradford Morgan White
Licentiam Absurdum