[Solved] System hangs on grub menu, can't boot

I’m not sure if that today’s kernel upgrade 4.9.67 -> 4.14.8 on cl-update did this, but grub hangs on that first screen after choosing kernel

Calculate Linux (...) 4.14.8
Loading initial ramdisk/initframs/whatever

even safemode is not working.

Kernel is not getting kernel panic I think because I can still control num/capslock buttons etc.

I don’t know where to look for any logs.

i have been getting same thing hangs after grub on

Loading initial ramdisk

happens after i update reinstalled twice to to make sure its not something i installed and on last install all i did was update and reboot same thing.

on fresh install now will hold off on updating until we get confirmation on this being solved.

Hi Tomasz,
You can start the system with a new kernel if you remove the ‘elevator=…’ parameter in the Grub. An update has already been prepared that eliminates this problem. Sorry for the inconvenience.

Alexander Tratsevskiy wrote:

Hi Tomasz,
You can start the system with a new kernel if you remove the 'elevator=…’ parameter in the Grub. An update has already been prepared that eliminates this problem. Sorry for the inconvenience.

It worked! Santa claus was merciful for me

It’s much better situation than being attacked by such huuge bug as this in intel uefi driver that hitted *buntu 17.10

Tomasz Kaczmarczyk wrote:

Alexander Tratsevskiy wrote:

Hi Tomasz,
You can start the system with a new kernel if you remove the 'elevator=…’ parameter in the Grub. An update has already been prepared that eliminates this problem. Sorry for the inconvenience.

how do you remove it and from where? from the grub.cfg before boot?

Brad Heffernan wrote:

Tomasz Kaczmarczyk wrote:

Alexander Tratsevskiy wrote:

Hi Tomasz,
You can start the system with a new kernel if you remove the 'elevator=…’ parameter in the Grub. An update has already been prepared that eliminates this problem. Sorry for the inconvenience.

how do you remove it and from where? from the grub.cfg before boot?

On grub menu
# cancel timer
# press e on boot entry
# on line that begins with “linux” find elevator=bfq and remove it (backspace)
# f10 or ctrl+x to boot with that options, settings are not saved

You can also set it in grub.cfg

i went into advanced menu entry and booted on the 4.9.23 kernel and that boots fine with no editing needed :slight_smile:

Tomasz Kaczmarczyk wrote:

Brad Heffernan wrote:

Tomasz Kaczmarczyk wrote:

Alexander Tratsevskiy wrote:

Hi Tomasz,
You can start the system with a new kernel if you remove the 'elevator=…’ parameter in the Grub. An update has already been prepared that eliminates this problem. Sorry for the inconvenience.

how do you remove it and from where? from the grub.cfg before boot?

On grub menu
# cancel timer
# press e on boot entry
# on line that begins with “linux” find elevator=bfq and remove it (backspace)
# f10 or ctrl+x to boot with that options, settings are not saved

You can also set it in grub.cfg

i dont have that parameter on the line that starts with linux, and that kernel still doesnt boot but the 4.9.23 kernel still boots.

If you still have this problem, recent update (cl-update) is fixing grub config for 4.14.8.

ran the updater and no updates available and still not booting 4.14.8 looks like its going to boot then freezes. here is my grub.cfg

#
 # 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
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="${saved_entry}"
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 load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    for vm in efi_gop efi_uga ieee1275_fb vbe vga video_bochs video_cirrus
    do
      if [ -f ${prefix}/${vm}.mod ]
      then
        insmod $vm
      fi
    done
  fi
}

insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2'  619419da-1705-440b-8ee2-62be80886fb6
else
  search --no-floppy --fs-uuid --set=root 619419da-1705-440b-8ee2-62be80886fb6
fi
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=1920x1080
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_AU
  insmod gettext
fi
terminal_output gfxterm
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2'  619419da-1705-440b-8ee2-62be80886fb6
else
  search --no-floppy --fs-uuid --set=root 619419da-1705-440b-8ee2-62be80886fb6
fi
insmod png
background_image -m stretch /boot/grub/grub-calculate.png
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=2
 # Fallback normal timeout code in case the timeout_style feature is
 # unavailable.
else
  set timeout=2
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_theme ###
set color_normal=black/black
set color_highlight=light-green/black
### END /etc/grub.d/05_theme ###

### BEGIN /etc/grub.d/07_passwd ###
set superusers="root"
password_pbkdf2 root grub.pbkdf2.sha512.25000.588B51CA79CF99D31A636C0D414849891162CCF95FEBFD1F4388D19AF33E87D01A2384903286903286B0B616C2B81762CC19E3FC1F038050AA15C21803C078EF.6C5D6FCABB53B8DCFA74F2F8B0F8061CE9F60E3C109C430B801EA966D193BEC91911297A56E8B933BEDC58D187082605D71C89432AF6231A876162B9AEB538FD
export superusers
### END /etc/grub.d/07_passwd ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Calculate Linux Desktop Xfce' --unrestricted --class calculate --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-619419da-1705-440b-8ee2-62be80886fb6' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt2'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2'  619419da-1705-440b-8ee2-62be80886fb6
    else
      search --no-floppy --fs-uuid --set=root 619419da-1705-440b-8ee2-62be80886fb6
    fi
    echo    'Loading Linux 4.14.8-calculate ...'
    linux   /boot/vmlinuz-4.14.8-calculate root=UUID=619419da-1705-440b-8ee2-62be80886fb6 ro zswap.enabled=1 zswap.compressor=lz4 zswap.max_pool_percent=30 video=1920x1080 real_resume=UUID=36304004-dbbf-452e-bc0b-46c084497377  calculate=video:amdgpu splash=silent,theme:calculate console=tty1 quiet 
    echo    'Loading initial ramdisk ...'
    initrd  /boot/initramfs-4.14.8-calculate.img
}
submenu 'Advanced options for Calculate Linux Desktop Xfce ...' --unrestricted $menuentry_id_option 'gnulinux-advanced-619419da-1705-440b-8ee2-62be80886fb6' {
    menuentry 'Calculate Linux Desktop Xfce, with Linux 4.14.8-calculate' --unrestricted --class calculate --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.14.8-calculate-advanced-619419da-1705-440b-8ee2-62be80886fb6' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_gpt
        insmod ext2
        set root='hd0,gpt2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2'  619419da-1705-440b-8ee2-62be80886fb6
        else
          search --no-floppy --fs-uuid --set=root 619419da-1705-440b-8ee2-62be80886fb6
        fi
        echo    'Loading Linux 4.14.8-calculate ...'
        linux   /boot/vmlinuz-4.14.8-calculate root=UUID=619419da-1705-440b-8ee2-62be80886fb6 ro zswap.enabled=1 zswap.compressor=lz4 zswap.max_pool_percent=30 video=1920x1080 real_resume=UUID=36304004-dbbf-452e-bc0b-46c084497377  calculate=video:amdgpu splash=silent,theme:calculate console=tty1 quiet 
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initramfs-4.14.8-calculate.img
    }
    menuentry 'Calculate Linux Desktop Xfce, with Linux 4.14.8-SafeMode-calculate' --unrestricted --class calculate --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.14.8-SafeMode-calculate-advanced-619419da-1705-440b-8ee2-62be80886fb6' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_gpt
        insmod ext2
        set root='hd0,gpt2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2'  619419da-1705-440b-8ee2-62be80886fb6
        else
          search --no-floppy --fs-uuid --set=root 619419da-1705-440b-8ee2-62be80886fb6
        fi
        echo    'Loading Linux 4.14.8-SafeMode-calculate ...'
        linux   /boot/vmlinuz-4.14.8-SafeMode-calculate root=UUID=619419da-1705-440b-8ee2-62be80886fb6 ro zswap.enabled=1 zswap.compressor=lz4 zswap.max_pool_percent=30 video=1920x1080 real_resume=UUID=36304004-dbbf-452e-bc0b-46c084497377  calculate=video:amdgpu splash=silent,theme:calculate console=tty1 quiet 
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initramfs-4.14.8-SafeMode-calculate.img
    }
    menuentry 'Calculate Linux Desktop Xfce, with Linux 4.9.34-calculate' --unrestricted --class calculate --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.34-calculate-advanced-619419da-1705-440b-8ee2-62be80886fb6' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_gpt
        insmod ext2
        set root='hd0,gpt2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2'  619419da-1705-440b-8ee2-62be80886fb6
        else
          search --no-floppy --fs-uuid --set=root 619419da-1705-440b-8ee2-62be80886fb6
        fi
        echo    'Loading Linux 4.9.34-calculate ...'
        linux   /boot/vmlinuz-4.9.34-calculate root=UUID=619419da-1705-440b-8ee2-62be80886fb6 ro zswap.enabled=1 zswap.compressor=lz4 zswap.max_pool_percent=30 video=1920x1080 real_resume=UUID=36304004-dbbf-452e-bc0b-46c084497377  calculate=video:amdgpu splash=silent,theme:calculate console=tty1 quiet 
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initramfs-4.9.34-calculate.img
    }
    menuentry 'Calculate Linux Desktop Xfce, with Linux 4.9.34-SafeMode-calculate' --unrestricted --class calculate --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.34-SafeMode-calculate-advanced-619419da-1705-440b-8ee2-62be80886fb6' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_gpt
        insmod ext2
        set root='hd0,gpt2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2'  619419da-1705-440b-8ee2-62be80886fb6
        else
          search --no-floppy --fs-uuid --set=root 619419da-1705-440b-8ee2-62be80886fb6
        fi
        echo    'Loading Linux 4.9.34-SafeMode-calculate ...'
        linux   /boot/vmlinuz-4.9.34-SafeMode-calculate root=UUID=619419da-1705-440b-8ee2-62be80886fb6 ro zswap.enabled=1 zswap.compressor=lz4 zswap.max_pool_percent=30 video=1920x1080 real_resume=UUID=36304004-dbbf-452e-bc0b-46c084497377  calculate=video:amdgpu splash=silent,theme:calculate console=tty1 quiet 
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initramfs-4.9.34-SafeMode-calculate.img
    }
}

### END /etc/grub.d/10_linux ###

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

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/39_memtest86+ ###
menuentry 'Memtest86+' --unrestricted {
        insmod part_gpt
        insmod ext2
        set root='hd0,gpt2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2'  619419da-1705-440b-8ee2-62be80886fb6
        else
          search --no-floppy --fs-uuid --set=root 619419da-1705-440b-8ee2-62be80886fb6
        fi
    linux16 "/boot/memtest86plus/memtest"
}
### END /etc/grub.d/39_memtest86+ ###

### 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 ###

here is a image of what happens