The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 21,502     Votes:  5 
Tag : grub2  
Link: 🔍 See Original Answer on Ask Ubuntu ⧉ 🔗

URL: https://askubuntu.com/q/1062304
Title: Grub: reboot to specific kernel
ID: /2018/08/04/Grub_-reboot-to-specific-kernel
Created: August 4, 2018    Edited:  June 12, 2020
Upload: April 8, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


Display Grub Menu Entries from Command Line

I created a script grub-menu.sh to make it easy to find the menu entry number:

grub menu.png


Booting with Grub Menu Entry Number

If you wanted to reboot into Kernel 4.4.0-131 you would use:

sudo grub-reboot "1>6"

Getting the bash script grub-menu.sh

You can find the bash script in this Q&A: Display grub menu and options without rebooting?

⇧ Which temperature belongs to which sensor? How to change the Ubuntu 18.04 default greeter?  ⇩