0

How can I create a simple menu entry in GRUB to start the GRUB console?

menuentry "GRUB CLI" {
   #command
}

I have already tried the following options, but they do not work at all or only through complicated workarounds.

menuentry "GRUB CLI" {
terminal_input console
terminal_output console
}
menuentry "GRUB" {
}
menuentry "GRUB" {
    insmod normal
    normal
}
menuentry "GRUB Terminal" {
    cli
}
menuentry "GRUB Terminal" {
    configfile
}
menuentry "GRUB Kommandozeile" {
    exit
}
menuentry "GRUB" {
    commandline
}
menuentry "GRUB" {
    console
}

I know that I can open it by pressing the c key, but I would like to create an additional menu entry.

Is there a direct command for this in a menuentry?

3
  • Manual says if it has an incorrect entry, it reverts to grub> or command line in terminal. So have you tried a boot entry that is invalid? gnu.org/software/grub/manual Commented 7 hours ago
  • @oldfred Yes, that doesn’t work. I get can't find command 'xxx'' and then it jumps back to the entry if i try with e. Commented 7 hours ago
  • cli is actually an invalid command. Commented 7 hours ago

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.