You are not logged in.

#1 2016-03-19 20:51:25

leniviy
Member
Registered: 2009-05-23
Posts: 165

[solved] grub-mkconfig makes linux-lts default

Hi.
I have linux-lts package installed. For some reason when I run grub-mkconfig, it finds the lts image first and puts vmlinuz-linux to submenu. Is it possible to change this?

[root@il il]# grub-mkconfig -o /boot/grub/grub.cfg.aaa
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux-lts
Found initrd image: /boot/initramfs-linux-lts.img
Found fallback initramfs image: /boot/initramfs-linux-lts-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-e89249d8-49a5-415b-8f9b-97de5cfbe82d' {
...
        linux   /boot/vmlinuz-linux-lts root=UUID=e89249d8-49a5-415b-8f9b-97de5cfbe82d rw  quiet
...
        initrd   /boot/initramfs-linux-lts.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-e89249d8-49a5-415b-8f9b-97de5cfbe82d' {
...
        menuentry 'Arch Linux, with Linux linux-lts' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-advanced-e89249d8-49a5-415b-8f9b-97de5cfbe82d' {
...
        menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-e89249d8-49a5-415b-8f9b-97de5cfbe82d' {

Last edited by leniviy (2016-03-20 06:07:57)


Arch 64, xfce4

Offline

#2 2016-03-19 21:25:49

dcdriving
Member
From: United Kingdom
Registered: 2015-01-20
Posts: 70

Re: [solved] grub-mkconfig makes linux-lts default

Offline

#3 2016-03-20 01:20:47

eschwartz
Trusted User/Bug Wrangler
Registered: 2014-08-08
Posts: 2,853

Re: [solved] grub-mkconfig makes linux-lts default


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB