You are not logged in.

#1 2025-04-14 22:00

josek
Member
Registered: 2025-02-23
Posts: 21

Syntax error Grub

I have a problem with my grub
usr/sbin/grub-mkconfig:4:/etc/default/grub: syntax : unterminated quoted string
How can I correct from the terminal?
As always, I appreciate the help

Offline

#2 Yesterday 07:18

hchiper
Member
From: Belgium
Registered: 2020-07-28
Posts: 604

Re: Syntax error Grub

Single or double quotes need to occur by pairs (opening / closing). Probably one element of a pair is missing (or duplicated).
Check for this in the file /etc/default/grub
For safety, before modifying a line, duplicate it, comment out the original with a # (as a backup) and modify the other line.
Save and run sudo update-grub


Q4OS machine: Samsung R519 - Pentium T4200 2.0 GHz - 4 GB RAM - 500 GB SSD

Offline

#3 Yesterday 10:51

josek
Member
Registered: 2025-02-23
Posts: 21

Re: Syntax error Grub

solving
It turns out I had a duplicate
Thx

Offline

Board footer

Powered by FluxBB