[RESOLVED] Liquorix kernel does not show up in GRUB in Ubuntu Studio
Taika-Kim
Status: New User - Welcome
Joined: 05 Oct 2020
Posts: 3
Reply Quote
The installation went without errors, I tried it two times, doing a purge in between, and I've also run update-grub.

The kernel does not show up. I'm running Ubuntu Studio latest.

~$ sudo update-grub
:: Code ::

Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-48-lowlatency
Found initrd image: /boot/initrd.img-5.4.0-48-lowlatency
Found linux image: /boot/vmlinuz-5.4.0-48-generic
Found initrd image: /boot/initrd.img-5.4.0-48-generic
Found linux image: /boot/vmlinuz-5.4.0-48-lowlatency
Found initrd image: /boot/initrd.img-5.4.0-48-lowlatency
Found linux image: /boot/vmlinuz-5.4.0-48-generic
Found initrd image: /boot/initrd.img-5.4.0-48-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 on /dev/sda1
done



dpkg --list | egrep -i --color 'linux-image|linux-headers|linux-modules' | awk '{ print $2 }
:: Code ::
linux-headers-5.4.0-48
linux-headers-5.4.0-48-generic
linux-headers-5.8.0-13.1-liquorix-amd64
linux-headers-generic
linux-headers-liquorix-amd64
linux-image-5.4.0-48-generic
linux-image-5.4.0-48-lowlatency
linux-image-5.8.0-13.1-liquorix-amd64
linux-image-generic
linux-image-liquorix-amd64
linux-image-lowlatency
linux-modules-5.4.0-48-generic
linux-modules-5.4.0-48-lowlatency
linux-modules-extra-5.4.0-48-generic


Grub.cfg
:: Code ::
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${initrdfail}" = 2 ]; then
   set initrdfail=
elif [ "${initrdfail}" = 1 ]; then
   set next_entry="${prev_entry}"
   set prev_entry=
   save_env prev_entry
   if [ "${next_entry}" ]; then
      set initrdfail=2
   fi
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function initrdfail {
    if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
      if [ -z "${initrdfail}" ]; then
        set initrdfail=1
        if [ -n "${boot_once}" ]; then
          set prev_entry="${default}"
          save_env prev_entry
        fi
      fi
      save_env initrdfail
    fi; fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  6d42607f-088a-480c-805c-b1e178fe7aea
else
  search --no-floppy --fs-uuid --set=root 6d42607f-088a-480c-805c-b1e178fe7aea
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=0
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 0 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 0,0,0; then
  clear
fi

color_normal=white/black

if [ -e ${prefix}/themes/ubuntustudio/theme.txt ]; then
  insmod png
  theme=${prefix}/themes/ubuntustudio/theme.txt
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/09_lowlatency ###
function gfxmode {
   set gfxpayload="${1}"
   if [ "${1}" = "keep" ]; then
      set vt_handoff=vt.handoff=1
   else
      set vt_handoff=
   fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu (lowlatency)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-6d42607f-088a-480c-805c-b1e178fe7aea' {
   recordfail
   load_video
   gfxmode $linux_gfx_mode
   insmod gzio
   if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
   insmod part_msdos
   insmod ext2
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root  6d42607f-088a-480c-805c-b1e178fe7aea
   else
     search --no-floppy --fs-uuid --set=root 6d42607f-088a-480c-805c-b1e178fe7aea
   fi
   linux   /boot/vmlinuz-5.4.0-48-lowlatency root=UUID=6d42607f-088a-480c-805c-b1e178fe7aea ro threadirqs quiet splash $vt_handoff
   initrd   /boot/initrd.img-5.4.0-48-lowlatency
}
menuentry 'Ubuntu (generic)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-6d42607f-088a-480c-805c-b1e178fe7aea' {
   recordfail
   load_video
   gfxmode $linux_gfx_mode
   insmod gzio
   if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
   insmod part_msdos
   insmod ext2
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root  6d42607f-088a-480c-805c-b1e178fe7aea
   else
     search --no-floppy --fs-uuid --set=root 6d42607f-088a-480c-805c-b1e178fe7aea
   fi
   linux   /boot/vmlinuz-5.4.0-48-generic root=UUID=6d42607f-088a-480c-805c-b1e178fe7aea ro threadirqs quiet splash $vt_handoff
   initrd   /boot/initrd.img-5.4.0-48-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-6d42607f-088a-480c-805c-b1e178fe7aea' {
   menuentry 'Ubuntu, with Linux 5.4.0-48-lowlatency' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-48-lowlatency-advanced-6d42607f-088a-480c-805c-b1e178fe7aea' {
      recordfail
      load_video
      gfxmode $linux_gfx_mode
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root  6d42607f-088a-480c-805c-b1e178fe7aea
      else
        search --no-floppy --fs-uuid --set=root 6d42607f-088a-480c-805c-b1e178fe7aea
      fi
      echo   'Loading Linux 5.4.0-48-lowlatency ...'
      linux   /boot/vmlinuz-5.4.0-48-lowlatency root=UUID=6d42607f-088a-480c-805c-b1e178fe7aea ro threadirqs quiet splash $vt_handoff
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-5.4.0-48-lowlatency
   }
   menuentry 'Ubuntu, with Linux 5.4.0-48-lowlatency (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-48-lowlatency-recovery-6d42607f-088a-480c-805c-b1e178fe7aea' {
      recordfail
      load_video
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root  6d42607f-088a-480c-805c-b1e178fe7aea
      else
        search --no-floppy --fs-uuid --set=root 6d42607f-088a-480c-805c-b1e178fe7aea
      fi
      echo   'Loading Linux 5.4.0-48-lowlatency ...'
      linux   /boot/vmlinuz-5.4.0-48-lowlatency root=UUID=6d42607f-088a-480c-805c-b1e178fe7aea ro recovery nomodeset threadirqs
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-5.4.0-48-lowlatency
   }
   menuentry 'Ubuntu, with Linux 5.4.0-48-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-48-generic-advanced-6d42607f-088a-480c-805c-b1e178fe7aea' {
      recordfail
      load_video
      gfxmode $linux_gfx_mode
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root  6d42607f-088a-480c-805c-b1e178fe7aea
      else
        search --no-floppy --fs-uuid --set=root 6d42607f-088a-480c-805c-b1e178fe7aea
      fi
      echo   'Loading Linux 5.4.0-48-generic ...'
      linux   /boot/vmlinuz-5.4.0-48-generic root=UUID=6d42607f-088a-480c-805c-b1e178fe7aea ro threadirqs quiet splash $vt_handoff
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-5.4.0-48-generic
   }
   menuentry 'Ubuntu, with Linux 5.4.0-48-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-48-generic-recovery-6d42607f-088a-480c-805c-b1e178fe7aea' {
      recordfail
      load_video
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root  6d42607f-088a-480c-805c-b1e178fe7aea
      else
        search --no-floppy --fs-uuid --set=root 6d42607f-088a-480c-805c-b1e178fe7aea
      fi
      echo   'Loading Linux 5.4.0-48-generic ...'
      linux   /boot/vmlinuz-5.4.0-48-generic root=UUID=6d42607f-088a-480c-805c-b1e178fe7aea ro recovery nomodeset threadirqs
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initrd.img-5.4.0-48-generic
   }
}

### END /etc/grub.d/09_lowlatency ###

### BEGIN /etc/grub.d/10_linux_zfs ###
### END /etc/grub.d/10_linux_zfs ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
   insmod part_msdos
   insmod ext2
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root  6d42607f-088a-480c-805c-b1e178fe7aea
   else
     search --no-floppy --fs-uuid --set=root 6d42607f-088a-480c-805c-b1e178fe7aea
   fi
   knetbsd   /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
   insmod part_msdos
   insmod ext2
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root  6d42607f-088a-480c-805c-b1e178fe7aea
   else
     search --no-floppy --fs-uuid --set=root 6d42607f-088a-480c-805c-b1e178fe7aea
   fi
   linux16   /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-BCA25D13A25CD38C' {
   insmod part_msdos
   insmod ntfs
   set root='hd0,msdos1'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  BCA25D13A25CD38C
   else
     search --no-floppy --fs-uuid --set=root BCA25D13A25CD38C
   fi
   parttool ${root} hidden-
   chainloader +1
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1143
Reply Quote
Hmm, looks like you're right. I ran a new Ubuntu Studio VM and installed Liquorix and the menu item doesn't show. I'm not sure why this happens exactly but I've already received reports that stock Ubuntu 20.04 installs Liquorix just fine.

In-fact, here's the output from ppa-stats.py

:: Code ::
$ ./ppa-stats.py damentz/liquorix
linux-headers-5.8.0-12.2-liquorix-amd64 xenial amd64 10
linux-headers-5.8.0-12.2-liquorix-amd64 groovy amd64 9
linux-headers-5.8.0-12.2-liquorix-amd64 focal amd64 634
linux-headers-5.8.0-12.2-liquorix-amd64 bionic amd64 193
linux-headers-5.8.0-13.1-liquorix-amd64 xenial amd64 10
linux-headers-5.8.0-13.1-liquorix-amd64 groovy amd64 11
linux-headers-5.8.0-13.1-liquorix-amd64 focal amd64 696
linux-headers-5.8.0-13.1-liquorix-amd64 bionic amd64 184
linux-headers-liquorix-amd64 xenial amd64 10
linux-headers-liquorix-amd64 groovy amd64 9
linux-headers-liquorix-amd64 focal amd64 688
linux-headers-liquorix-amd64 bionic amd64 181
linux-image-5.8.0-12.2-liquorix-amd64 xenial amd64 11
linux-image-5.8.0-12.2-liquorix-amd64 groovy amd64 10
linux-image-5.8.0-12.2-liquorix-amd64 focal amd64 631
linux-image-5.8.0-12.2-liquorix-amd64 bionic amd64 192
linux-image-5.8.0-13.1-liquorix-amd64 xenial amd64 10
linux-image-5.8.0-13.1-liquorix-amd64 groovy amd64 12
linux-image-5.8.0-13.1-liquorix-amd64 focal amd64 699
linux-image-5.8.0-13.1-liquorix-amd64 bionic amd64 180
linux-image-liquorix-amd64 xenial amd64 10
linux-image-liquorix-amd64 groovy amd64 10
linux-image-liquorix-amd64 focal amd64 692
linux-image-liquorix-amd64 bionic amd64 178


Either over 600 subscribers to the amd64 kernel on Focal can't find their grub menu entry or Ubuntu Studio is doing something screwy with how it configures grub to discover new kernels.
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1143
Reply Quote
Stock Ubuntu 20.04.1 doesn't have any problems:

:: Code ::
steven@steven-VirtualBox:~/Desktop$ lsb_release -a
No LSB modules are available.
Distributor ID:   Ubuntu
Description:   Ubuntu 20.04.1 LTS
Release:   20.04
Codename:   focal
steven@steven-VirtualBox:~/Desktop$ sudo update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.8.0-13.1-liquorix-amd64
Found initrd image: /boot/initrd.img-5.8.0-13.1-liquorix-amd64
Found linux image: /boot/vmlinuz-5.4.0-48-generic
Found initrd image: /boot/initrd.img-5.4.0-48-generic
Found linux image: /boot/vmlinuz-5.4.0-42-generic
Found initrd image: /boot/initrd.img-5.4.0-42-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done


You'll need to ask submit an issue with Ubuntu Studio to get this issue resolved.
Back to top
Taika-Kim
Status: New User - Welcome
Joined: 05 Oct 2020
Posts: 3
Reply Quote
Hmm, maybe these help, the dump from my latest update:
:: Code ::

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-headers-5.4.0-52 linux-headers-5.4.0-52-generic linux-headers-5.8.0-16.1-liquorix-amd64 linux-image-5.4.0-52-generic linux-image-5.4.0-52-lowlatency
  linux-image-5.8.0-16.1-liquorix-amd64 linux-modules-5.4.0-52-generic linux-modules-5.4.0-52-lowlatency linux-modules-extra-5.4.0-52-generic
The following packages will be upgraded:
  linux-generic linux-headers-generic linux-headers-liquorix-amd64 linux-image-generic linux-image-liquorix-amd64 linux-image-lowlatency linux-libc-dev
7 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 199 MB/208 MB of archives.
After this operation, 1 026 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://fi.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-modules-5.4.0-52-generic amd64 5.4.0-52.57 [14,5 MB]
Get:2 http://ppa.launchpad.net/damentz/liquorix/ubuntu focal/main amd64 linux-image-5.8.0-16.1-liquorix-amd64 amd64 5.8-15ubuntu2~focal [61,7 MB]
Get:3 http://fi.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-image-5.4.0-52-generic amd64 5.4.0-52.57 [8 887 kB]
Get:4 http://fi.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-modules-extra-5.4.0-52-generic amd64 5.4.0-52.57 [38,6 MB]                                     
Get:5 http://ppa.launchpad.net/damentz/liquorix/ubuntu focal/main amd64 linux-headers-liquorix-amd64 amd64 5.8-15ubuntu2~focal [159 kB]                                 
Get:6 http://ppa.launchpad.net/damentz/liquorix/ubuntu focal/main amd64 linux-image-liquorix-amd64 amd64 5.8-15ubuntu2~focal [159 kB]                                   
Get:7 http://fi.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-generic amd64 5.4.0.52.55 [1 900 B]                                                           
Get:8 http://fi.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-image-generic amd64 5.4.0.52.55 [2 668 B]                                                     
Get:9 http://fi.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-5.4.0-52 all 5.4.0-52.57 [11,0 MB]                                                     
Get:10 http://fi.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-5.4.0-52-generic amd64 5.4.0-52.57 [1 255 kB]                                         
Get:11 http://fi.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-generic amd64 5.4.0.52.55 [2 536 B]                                                   
Get:12 http://fi.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-modules-5.4.0-52-lowlatency amd64 5.4.0-52.57 [52,9 MB]                                       
Get:13 http://fi.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-image-5.4.0-52-lowlatency amd64 5.4.0-52.57 [8 951 kB]                                       
Get:14 http://fi.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-image-lowlatency amd64 5.4.0.52.55 [2 660 B]                                                 
Get:15 http://fi.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-libc-dev amd64 5.4.0-52.57 [1 138 kB]                                                         
Fetched 182 MB in 57s (3 170 kB/s)                                                                                                                                     
Selecting previously unselected package linux-modules-5.4.0-52-generic.
(Reading database ... 536819 files and directories currently installed.)
Preparing to unpack .../00-linux-modules-5.4.0-52-generic_5.4.0-52.57_amd64.deb ...
Unpacking linux-modules-5.4.0-52-generic (5.4.0-52.57) ...
Selecting previously unselected package linux-image-5.4.0-52-generic.
Preparing to unpack .../01-linux-image-5.4.0-52-generic_5.4.0-52.57_amd64.deb ...
Unpacking linux-image-5.4.0-52-generic (5.4.0-52.57) ...
Selecting previously unselected package linux-modules-extra-5.4.0-52-generic.
Preparing to unpack .../02-linux-modules-extra-5.4.0-52-generic_5.4.0-52.57_amd64.deb ...
Unpacking linux-modules-extra-5.4.0-52-generic (5.4.0-52.57) ...
Preparing to unpack .../03-linux-generic_5.4.0.52.55_amd64.deb ...
Unpacking linux-generic (5.4.0.52.55) over (5.4.0.51.54) ...
Preparing to unpack .../04-linux-image-generic_5.4.0.52.55_amd64.deb ...
Unpacking linux-image-generic (5.4.0.52.55) over (5.4.0.51.54) ...
Selecting previously unselected package linux-headers-5.4.0-52.
Preparing to unpack .../05-linux-headers-5.4.0-52_5.4.0-52.57_all.deb ...
Unpacking linux-headers-5.4.0-52 (5.4.0-52.57) ...
Selecting previously unselected package linux-headers-5.4.0-52-generic.
Preparing to unpack .../06-linux-headers-5.4.0-52-generic_5.4.0-52.57_amd64.deb ...
Unpacking linux-headers-5.4.0-52-generic (5.4.0-52.57) ...
Preparing to unpack .../07-linux-headers-generic_5.4.0.52.55_amd64.deb ...
Unpacking linux-headers-generic (5.4.0.52.55) over (5.4.0.51.54) ...
Selecting previously unselected package linux-headers-5.8.0-16.1-liquorix-amd64.
Preparing to unpack .../08-linux-headers-5.8.0-16.1-liquorix-amd64_5.8-15ubuntu2~focal_amd64.deb ...
Unpacking linux-headers-5.8.0-16.1-liquorix-amd64 (5.8-15ubuntu2~focal) ...
Selecting previously unselected package linux-modules-5.4.0-52-lowlatency.
Preparing to unpack .../09-linux-modules-5.4.0-52-lowlatency_5.4.0-52.57_amd64.deb ...
Unpacking linux-modules-5.4.0-52-lowlatency (5.4.0-52.57) ...
Selecting previously unselected package linux-image-5.4.0-52-lowlatency.
Preparing to unpack .../10-linux-image-5.4.0-52-lowlatency_5.4.0-52.57_amd64.deb ...
Unpacking linux-image-5.4.0-52-lowlatency (5.4.0-52.57) ...
Selecting previously unselected package linux-image-5.8.0-16.1-liquorix-amd64.
Preparing to unpack .../11-linux-image-5.8.0-16.1-liquorix-amd64_5.8-15ubuntu2~focal_amd64.deb ...
Unpacking linux-image-5.8.0-16.1-liquorix-amd64 (5.8-15ubuntu2~focal) ...
Preparing to unpack .../12-linux-image-lowlatency_5.4.0.52.55_amd64.deb ...
Unpacking linux-image-lowlatency (5.4.0.52.55) over (5.4.0.51.54) ...
Preparing to unpack .../13-linux-libc-dev_5.4.0-52.57_amd64.deb ...
Unpacking linux-libc-dev:amd64 (5.4.0-52.57) over (5.4.0-51.56) ...
Preparing to unpack .../14-linux-headers-liquorix-amd64_5.8-15ubuntu2~focal_amd64.deb ...
Unpacking linux-headers-liquorix-amd64 (5.8-15ubuntu2~focal) over (5.8-14ubuntu1~focal) ...
Preparing to unpack .../15-linux-image-liquorix-amd64_5.8-15ubuntu2~focal_amd64.deb ...
Unpacking linux-image-liquorix-amd64 (5.8-15ubuntu2~focal) over (5.8-14ubuntu1~focal) ...
Setting up linux-headers-5.8.0-16.1-liquorix-amd64 (5.8-15ubuntu2~focal) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.8.0-16.1-liquorix-amd64

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
KERNELDIR=/lib/modules/5.8.0-16.1-liquorix-amd64/build make driver....
cleaning build area...

DKMS: build completed.

razerkbd.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.8.0-16.1-liquorix-amd64/updates/dkms/

razermouse.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.8.0-16.1-liquorix-amd64/updates/dkms/

razermousemat.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.8.0-16.1-liquorix-amd64/updates/dkms/

razerkraken.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.8.0-16.1-liquorix-amd64/updates/dkms/

razeraccessory.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.8.0-16.1-liquorix-amd64/updates/dkms/

razercore.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.8.0-16.1-liquorix-amd64/updates/dkms/

depmod...

DKMS: install completed.
   ...done.
Setting up linux-headers-5.4.0-52 (5.4.0-52.57) ...
Setting up linux-image-5.8.0-16.1-liquorix-amd64 (5.8-15ubuntu2~focal) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.4.0-51-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-5.4.0-51-generic
I: /boot/vmlinuz is now a symlink to vmlinuz-5.8.0-16.1-liquorix-amd64
I: /boot/initrd.img is now a symlink to initrd.img-5.8.0-16.1-liquorix-amd64
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.8.0-16.1-liquorix-amd64
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.8.0-16.1-liquorix-amd64
I: The initramfs will attempt to resume from /dev/nvme0n1p5
I: (UUID=fd26a387-6008-4802-b2a8-301b44be7e81)
I: Set the RESUME variable to override this.
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-52-lowlatency
Found linux image: /boot/vmlinuz-5.4.0-52-generic
Found linux image: /boot/vmlinuz-5.4.0-52-lowlatency
Found linux image: /boot/vmlinuz-5.4.0-52-generic
Found linux image: /boot/vmlinuz-5.4.0-51-lowlatency
Found initrd image: /boot/initrd.img-5.4.0-51-lowlatency
Found linux image: /boot/vmlinuz-5.4.0-51-generic
Found initrd image: /boot/initrd.img-5.4.0-51-generic
Found linux image: /boot/vmlinuz-5.4.0-48-lowlatency
Found initrd image: /boot/initrd.img-5.4.0-48-lowlatency
Found linux image: /boot/vmlinuz-5.4.0-48-generic
Found initrd image: /boot/initrd.img-5.4.0-48-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 on /dev/sda1
done
Setting up linux-libc-dev:amd64 (5.4.0-52.57) ...
Setting up linux-headers-liquorix-amd64 (5.8-15ubuntu2~focal) ...
Setting up linux-headers-5.4.0-52-generic (5.4.0-52.57) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.4.0-52-generic

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
KERNELDIR=/lib/modules/5.4.0-52-generic/build make driver....
cleaning build area...

DKMS: build completed.

razerkbd.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.4.0-52-generic/updates/dkms/

razermouse.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.4.0-52-generic/updates/dkms/

razermousemat.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.4.0-52-generic/updates/dkms/

razerkraken.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.4.0-52-generic/updates/dkms/

razeraccessory.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.4.0-52-generic/updates/dkms/

razercore.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.4.0-52-generic/updates/dkms/

depmod...

DKMS: install completed.
   ...done.
Setting up linux-modules-5.4.0-52-generic (5.4.0-52.57) ...
Setting up linux-image-5.4.0-52-generic (5.4.0-52.57) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.8.0-16.1-liquorix-amd64
I: /boot/initrd.img.old is now a symlink to initrd.img-5.8.0-16.1-liquorix-amd64
I: /boot/vmlinuz is now a symlink to vmlinuz-5.4.0-52-generic
I: /boot/initrd.img is now a symlink to initrd.img-5.4.0-52-generic
Setting up linux-modules-5.4.0-52-lowlatency (5.4.0-52.57) ...
Setting up linux-image-liquorix-amd64 (5.8-15ubuntu2~focal) ...
Setting up linux-modules-extra-5.4.0-52-generic (5.4.0-52.57) ...
Setting up linux-headers-generic (5.4.0.52.55) ...
Setting up linux-image-5.4.0-52-lowlatency (5.4.0-52.57) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.4.0-52-generic
I: /boot/vmlinuz is now a symlink to vmlinuz-5.4.0-52-lowlatency
I: /boot/initrd.img is now a symlink to initrd.img-5.4.0-52-lowlatency
Setting up linux-image-lowlatency (5.4.0.52.55) ...
Setting up linux-image-generic (5.4.0.52.55) ...
Setting up linux-generic (5.4.0.52.55) ...
Processing triggers for linux-image-5.4.0-52-generic (5.4.0-52.57) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.4.0-52-generic
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.4.0-52-generic
I: The initramfs will attempt to resume from /dev/nvme0n1p5
I: (UUID=fd26a387-6008-4802-b2a8-301b44be7e81)
I: Set the RESUME variable to override this.
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-52-lowlatency
Found linux image: /boot/vmlinuz-5.4.0-52-generic
Found initrd image: /boot/initrd.img-5.4.0-52-generic
Found linux image: /boot/vmlinuz-5.4.0-52-lowlatency
Found linux image: /boot/vmlinuz-5.4.0-52-generic
Found initrd image: /boot/initrd.img-5.4.0-52-generic
Found linux image: /boot/vmlinuz-5.4.0-51-lowlatency
Found initrd image: /boot/initrd.img-5.4.0-51-lowlatency
Found linux image: /boot/vmlinuz-5.4.0-51-generic
Found initrd image: /boot/initrd.img-5.4.0-51-generic
Found linux image: /boot/vmlinuz-5.4.0-48-lowlatency
Found initrd image: /boot/initrd.img-5.4.0-48-lowlatency
Found linux image: /boot/vmlinuz-5.4.0-48-generic
Found initrd image: /boot/initrd.img-5.4.0-48-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 on /dev/sda1
done
Processing triggers for linux-image-5.4.0-52-lowlatency (5.4.0-52.57) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.4.0-52-lowlatency
Error! Your kernel headers for kernel 5.4.0-52-lowlatency cannot be found.
Please install the linux-headers-5.4.0-52-lowlatency package,
or use the --kernelsourcedir option to tell DKMS where it's located
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.4.0-52-lowlatency
I: The initramfs will attempt to resume from /dev/nvme0n1p5
I: (UUID=fd26a387-6008-4802-b2a8-301b44be7e81)
I: Set the RESUME variable to override this.
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-52-lowlatency
Found initrd image: /boot/initrd.img-5.4.0-52-lowlatency
Found linux image: /boot/vmlinuz-5.4.0-52-generic
Found initrd image: /boot/initrd.img-5.4.0-52-generic
Found linux image: /boot/vmlinuz-5.4.0-52-lowlatency
Found initrd image: /boot/initrd.img-5.4.0-52-lowlatency
Found linux image: /boot/vmlinuz-5.4.0-52-generic
Found initrd image: /boot/initrd.img-5.4.0-52-generic
Found linux image: /boot/vmlinuz-5.4.0-51-lowlatency
Found initrd image: /boot/initrd.img-5.4.0-51-lowlatency
Found linux image: /boot/vmlinuz-5.4.0-51-generic
Found initrd image: /boot/initrd.img-5.4.0-51-generic
Found linux image: /boot/vmlinuz-5.4.0-48-lowlatency
Found initrd image: /boot/initrd.img-5.4.0-48-lowlatency
Found linux image: /boot/vmlinuz-5.4.0-48-generic
Found initrd image: /boot/initrd.img-5.4.0-48-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 on /dev/sda1
done


Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1143
Reply Quote
It appears that the 09_lowlatency file in /etc/grub.d is the problem. Try the following:

:: Code ::
sudo chmod -x /etc/grub.d/09_lowlatency
sudo chmod +x /etc/grub.d/10_linux
sudo update-grub


Per the header of the file, here's its rationale.
:: Code ::
# Ubuntustudio customization that keeps the latest lowlatency kernel
# as the first menu item and default boot even if there is a newer
# generic or other kernel. Often the updated generic kernel is
# released a few days earlier than the lowlatency kernel


The joke about forking the 10_linux file is if you're using Ubuntu Studio, you can just purge the generic kernels. Creating this giant workaround that is worth 354 lines of a patch just to put lowlatency on top is overkill. Even worse is it has bugs that make Liquorix not appear at all, probably because it performs a type of whitelist of Ubuntu kernels.
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1143
Reply Quote
Marked thread as resolved, following the instructions above and liquorix will show up in your grub menu.
Back to top
Taika-Kim
Status: New User - Welcome
Joined: 05 Oct 2020
Posts: 3
Reply Quote
I did that, now I don't have any kernels available in Grub, just commandline and Memtest. Oooh sh#t :/ I'll have to try to fix this... I'm not a Linux expert, I should have probably been alarmed when update-grub passed without explicitly mentioning a single kernel.

I have been unable to boot by hand from the grub command prompt since /dev/sda1 does not exist in my /dev, or neither do any other hds for that matter. /boot/grub does exist.
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1143
Reply Quote
Hmm, it sounds like you probably left both 09_lowlatency and 10_linux as not executable. Following an update-grub, grub will skip both files and no kernels will be found.

You can recover your system by using a liveusb and using chroot to mark 10_linux executable and run update-grub again. And as usual, Arch has the best documentation to help you: wiki.archlinux.org/index.php/Chroot#Using_chroot
Back to top
Display posts from previous:   

All times are GMT - 8 Hours