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: 1,725     Votes:  0     ✅ Solution
Tags: ubuntu   grub2  
Link: 🔍 See Original Answer on Unix & Linux ⧉ 🔗

URL: https://unix.stackexchange.com/q/523914
Title: GRUB error: syntax error. error: Incorrect command
ID: /2019/06/10/GRUB-error_-syntax-error.-error_-Incorrect-command
Created: June 10, 2019    Edited:  June 11, 2020
Upload: April 8, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


After booting the hard way, open a terminal with Ctrl+Alt+T and install boot-repair:

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair

Then type boot-repair and a menu will appear:

boot-repair menu.png

Select the recommended option.

If your system boots normally after recommended repair great. If not post the link to the problems reported.


Caveats

On some systems this annoyance can occur:

If this happens to you, visit the link for a solution.

⇧ Laptop not shutting down on low power Nvidia card on an ASUS ZenBook Flip 14 sometimes boots to a purple screen  ⇩