[arch-general] LTS Kernels
David C. Rankin
drankinatty at suddenlinkmail.com
Mon Aug 24 07:25:32 UTC 2015
On 08/22/2015 03:54 AM, Iru Cai wrote:
>> >install kernel: pacman -S linux-lts
> edit grub config file: grub-mkconfig -o /boot/grub/grub.cfg
>
>> >
Iru,
I didn't completely understand what if any edit needs to be made in any of
the /etc/grub.d/XX_files to have the LTS entry listed in the boot menu. The
following in 10_linux:
machine=`uname -m`
case "x$machine" in
xi?86 | xx86_64)
list=`for i in /boot/vmlinuz-* /vmlinuz-* /boot/kernel-* ; do
if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
done` ;;
*)
list=`for i in /boot/vmlinuz-* /boot/vmlinux-* /vmlinuz-* /vmlinux-*
/boot/kernel-* ; do
if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
done` ;;
esac
indicates that whatever 'vmlinuz-*' files found should automatically be included
in the grub list by grub-mkconfig. In the case of the normal kernel and lts,
then it would find both:
vmlinuz-linux
vmlinuz-linux-lts
So what new lines are needed in the config files before just running:
# grub-mkconfig -o /boot/grub/grub.cfg
?
--
David C. Rankin, J.D.,P.E.
More information about the arch-general
mailing list