-I downloaded the 3.12.2 kernel from kernel.org and unpacked it and changed to the kernel directory.
- Code: Select all
make menuconfig #I set all of my options
make #compiled the kernel
su
make modules_install #installed kernel modules to /lib/modules/3.12.2
Next I copied all the needed stuff to /boot and created an initrd:
- Code: Select all
cp arch/x86/boot/bzImage /boot/vmlinuz-3.12.2
cp .config /boot/config-3.12.2
cp System.map /boot/System.map-3.12.2
mkinitrd /boot/initrd-3.12.2.img 3.12.2
Next I updated /boot/grub/menu.lst adding:
- Code: Select all
title Mageia Custom Kernel 3.12.2
kernel (hd0,4)/boot/vmlinuz-3.12.2
initrd (hd0,4)/boot/initrd-3.12.2.img
Next I reboot and select my new entry from grub, and get a bunch of errors that I can't remember (I can reboot, and take a photo of some of the errors if it will help), and a message saying the errors are saved in /run/initrd/sosreport.txt, which doesn't exist when I boot into mageia with my working kernel. Most of the errors have to do with the initramfs, so maybe I didn't create the initrd correctly?
Is there any other logs that I can look in to try to troubleshoot was is wrong? Do you have any suggestions?