You are not logged in.
Hi,
I compiled the linux-lts kernel from source today, woohoo! First time compiling from source. Fun!
I followed the Kernels/Compilation/Traditional - Archwiki. No problems at all in the Build Configuration and Compilation & Installation steps. The issue is that when I try to add the new kernel to grub.cfg
# grub-mkconfig -o /boot/grub.d/grub.cfgit does not pick up my new kernel. Here's the contents of /boot:
% ll /boot ~
total 27444
drwxr-xr-x 3 root root 4096 Aug 31 17:13 .
drwxr-xr-x 18 root root 4096 Jul 18 16:09 ..
lrwxrwxrwx 1 root root 26 Aug 31 17:13 System.map -> /boot/System.map-linux-lts
-rw-r--r-- 1 root root 2455967 Aug 31 17:13 System.map-linux-lts
drwxr-xr-x 2 root root 4096 Aug 31 17:26 grub
-rw-r--r-- 1 root root 11152827 Aug 30 18:10 initramfs-linux-fallback.img
-rw-r--r-- 1 root root 3332339 Aug 31 17:10 initramfs-linux-lts.img
-rw-r--r-- 1 root root 3364808 Aug 15 11:37 initramfs-linux.img
-rw-r--r-- 1 root root 3792336 Aug 31 17:04 vmlinux-linux-lts
-rw-r--r-- 1 root root 3982880 Aug 13 22:43 vmlinuz-linuxHere's the output of grub-mkconfig:
# grub-mkconfig -o /boot/grub/grub.cfg ~
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
doneI've tried a bit of googling, checking journalctl, but haven't come up with anything, I've also retraced my steps in the wiki process about 3-4 times. I'm hoping someones bumped into this before, maybe I'm missing something obvious?
Thanks for your time!
Last edited by oktorok (2014-09-01 07:19:04)
Offline
# cp -v arch/x86/boot/bzImage /boot/vmlinuz-YourKernelName
According to your "ls" your lts kernel is named "vmlinux-linux-lts" -- try renaming it "vmlinuz-linux-lts"
Offline
lullllzlzl. Oh man, I'm not even going to deprecate myself here, or make excuses. To be perfectly honest, I'm glad it was a typo and not a real issue. I can't thank you enough for pointing this out. Gladly marked solved.
![]()
Offline
You're welcome. Thank you for providing all the output in your first post.
Offline