This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Unable to boot with new kernel updates

Tags: None
(comma "," separated)
thelastwilson
Registered Member
Posts
2
Karma
0
Hi

I originally installed KDE Neon a couple months ago and it came with 4.4.0-21-generic. I configured an encrypted root partition on the installer and everything worked perfectly until a kernel update was pushed.

I have since had 4.4.0-22-generic, 4.4.0-24-generic and today 4.4.0-28-generic. I can't see any difference in the grub entries but whenever I boot anything other than the original kernel I get dumped into an intramfs prompt.

Code: Select all
submenu 'Advanced options for GNU/Linux' $menuentry_id_option 'gnulinux-advanced-bf07e6d3-bb77-4472-ae72-ba21cb2794a8' {
   menuentry 'GNU/Linux, with Linux 4.4.0-28-generic' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-28-generic-advanced-bf07e6d3-bb77-4472-ae72-ba21cb2794a8' {
      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
      set root='hd1,msdos1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  fa3e7dbf-093b-4acf-b668-b688de2f07dd
      else
        search --no-floppy --fs-uuid --set=root fa3e7dbf-093b-4acf-b668-b688de2f07dd
      fi
      echo   'Loading Linux 4.4.0-28-generic ...'
      linux   /vmlinuz-4.4.0-28-generic root=/dev/mapper/neon--vg-root ro  quiet splash $vt_handoff
      echo   'Loading initial ramdisk ...'
      initrd   /initrd.img-4.4.0-28-generic
   }
   menuentry 'GNU/Linux, with Linux 4.4.0-28-generic (recovery mode)' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-28-generic-recovery-bf07e6d3-bb77-4472-ae72-ba21cb2794a8' {
      recordfail
      load_video
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd1,msdos1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  fa3e7dbf-093b-4acf-b668-b688de2f07dd
      else
        search --no-floppy --fs-uuid --set=root fa3e7dbf-093b-4acf-b668-b688de2f07dd
      fi
      echo   'Loading Linux 4.4.0-28-generic ...'
      linux   /vmlinuz-4.4.0-28-generic root=/dev/mapper/neon--vg-root ro recovery nomodeset
      echo   'Loading initial ramdisk ...'
      initrd   /initrd.img-4.4.0-28-generic
   }
   menuentry 'GNU/Linux, with Linux 4.4.0-24-generic' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-24-generic-advanced-bf07e6d3-bb77-4472-ae72-ba21cb2794a8' {
      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
      set root='hd1,msdos1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  fa3e7dbf-093b-4acf-b668-b688de2f07dd
      else
        search --no-floppy --fs-uuid --set=root fa3e7dbf-093b-4acf-b668-b688de2f07dd
      fi
      echo   'Loading Linux 4.4.0-24-generic ...'
      linux   /vmlinuz-4.4.0-24-generic root=/dev/mapper/neon--vg-root ro  quiet splash $vt_handoff
      echo   'Loading initial ramdisk ...'
      initrd   /initrd.img-4.4.0-24-generic
   }
   menuentry 'GNU/Linux, with Linux 4.4.0-24-generic (recovery mode)' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-24-generic-recovery-bf07e6d3-bb77-4472-ae72-ba21cb2794a8' {
      recordfail
      load_video
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd1,msdos1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  fa3e7dbf-093b-4acf-b668-b688de2f07dd
      else
        search --no-floppy --fs-uuid --set=root fa3e7dbf-093b-4acf-b668-b688de2f07dd
      fi
      echo   'Loading Linux 4.4.0-24-generic ...'
      linux   /vmlinuz-4.4.0-24-generic root=/dev/mapper/neon--vg-root ro recovery nomodeset
      echo   'Loading initial ramdisk ...'
      initrd   /initrd.img-4.4.0-24-generic
   }
   menuentry 'GNU/Linux, with Linux 4.4.0-22-generic' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-22-generic-advanced-bf07e6d3-bb77-4472-ae72-ba21cb2794a8' {
      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
      set root='hd1,msdos1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  fa3e7dbf-093b-4acf-b668-b688de2f07dd
      else
        search --no-floppy --fs-uuid --set=root fa3e7dbf-093b-4acf-b668-b688de2f07dd
      fi
      echo   'Loading Linux 4.4.0-22-generic ...'
      linux   /vmlinuz-4.4.0-22-generic root=/dev/mapper/neon--vg-root ro  quiet splash $vt_handoff
      echo   'Loading initial ramdisk ...'
      initrd   /initrd.img-4.4.0-22-generic
   }
   menuentry 'GNU/Linux, with Linux 4.4.0-22-generic (recovery mode)' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-22-generic-recovery-bf07e6d3-bb77-4472-ae72-ba21cb2794a8' {
      recordfail
      load_video
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd1,msdos1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  fa3e7dbf-093b-4acf-b668-b688de2f07dd
      else
        search --no-floppy --fs-uuid --set=root fa3e7dbf-093b-4acf-b668-b688de2f07dd
      fi
      echo   'Loading Linux 4.4.0-22-generic ...'
      linux   /vmlinuz-4.4.0-22-generic root=/dev/mapper/neon--vg-root ro recovery nomodeset
      echo   'Loading initial ramdisk ...'
      initrd   /initrd.img-4.4.0-22-generic
   }
   menuentry 'GNU/Linux, with Linux 4.4.0-21-generic' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-advanced-bf07e6d3-bb77-4472-ae72-ba21cb2794a8' {
      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
      set root='hd1,msdos1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  fa3e7dbf-093b-4acf-b668-b688de2f07dd
      else
        search --no-floppy --fs-uuid --set=root fa3e7dbf-093b-4acf-b668-b688de2f07dd
      fi
      echo   'Loading Linux 4.4.0-21-generic ...'
      linux   /vmlinuz-4.4.0-21-generic root=/dev/mapper/neon--vg-root ro  quiet splash $vt_handoff
      echo   'Loading initial ramdisk ...'
      initrd   /initrd.img-4.4.0-21-generic
   }
   menuentry 'GNU/Linux, with Linux 4.4.0-21-generic (recovery mode)' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-recovery-bf07e6d3-bb77-4472-ae72-ba21cb2794a8' {
      recordfail
      load_video
      insmod gzio
      if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
      insmod part_msdos
      insmod ext2
      set root='hd1,msdos1'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  fa3e7dbf-093b-4acf-b668-b688de2f07dd
      else
        search --no-floppy --fs-uuid --set=root fa3e7dbf-093b-4acf-b668-b688de2f07dd
      fi
      echo   'Loading Linux 4.4.0-21-generic ...'
      linux   /vmlinuz-4.4.0-21-generic root=/dev/mapper/neon--vg-root ro recovery nomodeset
      echo   'Loading initial ramdisk ...'
      initrd   /initrd.img-4.4.0-21-generic
   }
}
User avatar
apachelogger
KDE Developer
Posts
525
Karma
5
OS
You'll probably want to report a bug to Ubuntu on launchpad.net.


Annoyed with bbcode since 1999.
User avatar
Cymaphore
Registered Member
Posts
28
Karma
1
thelastwilson wrote:I have since had 4.4.0-22-generic, 4.4.0-24-generic and today 4.4.0-28-generic. I can't see any difference in the grub entries but whenever I boot anything other than the original kernel I get dumped into an intramfs prompt.


Did you try running:

Code: Select all
sudo update-initramfs -u


by yourself? Are there any error messages?

(sounds like a faulty initramfs, so indeed apachelogger is probably right, it seems not to be a problem specific to neon but to the ubuntu beneath...)


thelastwilson
Registered Member
Posts
2
Karma
0
Cymaphore wrote:Did you try running:

Code: Select all
sudo update-initramfs -u


by yourself? Are there any error messages?

(sounds like a faulty initramfs, so indeed apachelogger is probably right, it seems not to be a problem specific to neon but to the ubuntu beneath...)


unfortunately no error messages, even with -v, and it still doesn't boot.
ccaillet
Registered Member
Posts
4
Karma
0
It's strange, I'm actually with the 4.4.0-28 kernel with encrypted device except /boot like Neon installed the system and all is working well here with UEFI but without SB.

My host :

totof@mithrandir:~$ uname -a
Linux mithrandir 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
totof@mithrandir:~$
User avatar
Cymaphore
Registered Member
Posts
28
Karma
1
thelastwilson wrote:unfortunately no error messages, even with -v, and it still doesn't boot.


If you want, you could try the mainline-kernel to find out if it is about the (newer) kernel or the system.

The mainline-packages contain the newest available kernels but without automatic update capabilities. Also, they are not officially supported by ubuntu (or neon). Nevertheless in my experience they are usually quite stable (I use them in several production environments).

If the current mainline kernel works, It's most definitely an ubuntu problem with the latest kernel version.

To install mainline kernel 4.6.2 (latest I have tested to work well with current neon, the one I'm using on my notebook at work), run this in shell:

Code: Select all
cd /tmp
wget "http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6.2-yakkety/linux-headers-4.6.2-040602-generic_4.6.2-040602.201606100516_amd64.deb" "http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6.2-yakkety/linux-headers-4.6.2-040602_4.6.2-040602.201606100516_all.deb" "http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6.2-yakkety/linux-image-4.6.2-040602-generic_4.6.2-040602.201606100516_amd64.deb"
sudo dpkg -i "linux-headers-4.6.2-040602-generic_4.6.2-040602.201606100516_amd64.deb" "linux-headers-4.6.2-040602_4.6.2-040602.201606100516_all.deb" "linux-image-4.6.2-040602-generic_4.6.2-040602.201606100516_amd64.deb"
sudo apt -f install


In case dpkg reports missing dependencies for the mainline kernel, apt -f install will take care of these dependencies and also finishes the configuration of the kernel.

If it works well, you better file a bugreport at launchpad as apachelogger suggested.

After you finished your tests, if you don't want to continue to use this mainline kernel, run:

Code: Select all
sudo apt purge "linux-image-4.6.2-040602-generic" "linux-headers-4.6.2-040602" "linux-headers-4.6.2-040602-generic"


To remove the kernel again.

(Btw, I use this kernel in production use on my notebook because it contains some up to date drivers needed for my DELL PRECISION M2800 to work properly)

Best regards,
Martin




Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Sogou [Bot]