I recently decided to upgrade LM 18 -> LM 18.2 (MATE 64-bit). In addition to that I also upgraded all packages suggested by the update manager, including the kernel.
However after reboot the system still boots the old kernel. How do I configure it to boot the latest one. I only have ssh or x2go connection to the machine so I cannot manipulate grub menu directly.
I found a ton of instructions on how to do this both on the forums and the Internet, but they seem to contradict each other or are relevant to other systems or other grub version, which is very confusing. And I do not want to end up with an unbootable system. It seems, that there are submenus introduced as well as an upstart and a non-upstart menu entry? That is all very confusing.
Code: Select all
$ uname -a
Linux backup 4.8.0-53-generic #56~16.04.1-Ubuntu SMP Tue May 16 01:18:56 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Code: Select all
$ grep "menuentry" /boot/grub/grub.cfg
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
menuentry_id_option=""
export menuentry_id_option
menuentry 'Linux Mint 18.2 MATE 64-bit' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c148cfa2-daee-4e40-ba21-e3fda03ad442' {
submenu 'Advanced options for Linux Mint 18.2 MATE 64-bit' $menuentry_id_option 'gnulinux-advanced-c148cfa2-daee-4e40-ba21-e3fda03ad442' {
menuentry 'Linux Mint 18.2 MATE 64-bit, with Linux 4.8.0-53-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-53-generic-advanced-c148cfa2-daee-4e40-ba21-e3fda03ad442' {
menuentry 'Linux Mint 18.2 MATE 64-bit, with Linux 4.8.0-53-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-53-generic-init-upstart-c148cfa2-daee-4e40-ba21-e3fda03ad442' {
menuentry 'Linux Mint 18.2 MATE 64-bit, with Linux 4.8.0-53-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-53-generic-recovery-c148cfa2-daee-4e40-ba21-e3fda03ad442' {
menuentry 'Linux Mint 18.2 MATE 64-bit, with Linux 4.4.0-87-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-87-generic-advanced-c148cfa2-daee-4e40-ba21-e3fda03ad442' {
menuentry 'Linux Mint 18.2 MATE 64-bit, with Linux 4.4.0-87-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-87-generic-init-upstart-c148cfa2-daee-4e40-ba21-e3fda03ad442' {
menuentry 'Linux Mint 18.2 MATE 64-bit, with Linux 4.4.0-87-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-87-generic-recovery-c148cfa2-daee-4e40-ba21-e3fda03ad442' {
menuentry 'Linux Mint 18.2 MATE 64-bit, with Linux 4.4.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-advanced-c148cfa2-daee-4e40-ba21-e3fda03ad442' {
menuentry 'Linux Mint 18.2 MATE 64-bit, with Linux 4.4.0-21-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-init-upstart-c148cfa2-daee-4e40-ba21-e3fda03ad442' {
menuentry 'Linux Mint 18.2 MATE 64-bit, with Linux 4.4.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-recovery-c148cfa2-daee-4e40-ba21-e3fda03ad442' {
menuentry 'Memory test (memtest86+)' {
menuentry 'Memory test (memtest86+, serial console 115200)' {