💾 Archived View for gmi.noulin.net › gitRepositories › systemSetup › file › slackware › kernel.txt.g… captured on 2024-06-16 at 14:33:05. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-09-28)
-=-=-=-=-=-=-
kernel.txt (781B)
1 wget https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/linux-5.15.124.tar.xz 2 tar xf linux-5.15.124.tar.gz 3 cd linux-5.15.124 4 zcat /proc/config.gz > .config 5 make oldconfig 6 # or make menuconfig 7 make -j16 bzImage modules 8 make modules_install 9 cp arch/x86/boot/bzImage /boot/vmlinuz-custom-5.15.124 10 cp System.map /boot/System.map-custom-5.15.124 11 cp .config /boot/config-custom-5.15.124 12 cd /boot 13 rm System.map 14 ln -s System.map-custom-5.15.124 System.map 15 /usr/share/mkinitrd/mkinitrd_command_generator.sh -l /boot/vmlinuz-custom-5.15.124 16 #mkinitrd -c -k 5.15.124 -f ext4 -r /dev/sda1 -m ext4 -u -o /boot/initrd-custom-5.15.124.gz 17 vi /etc/lilo.conf 18 image = /boot/vmlinuz-custom-5.15.124 19 initrd = /boot/initrd-custom-5.15.124.gz 20 root = /dev/sda1 21 label = newkernel 22 read-only 23 lilo