You are not logged in.

#1 2024-09-29 13:28:03

Mirli
Member
Registered: 2024-09-27
Posts: 2

update grub error

I can't update grub config because of
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot:  initramfs-linux-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
error: $.
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 161
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.

and my 161 line in config
###[BEGIN /etc/grub.d/30_os-prober###

Offline

#2 2024-09-29 13:55:47

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: update grub error

The error in question is in either /etc/default/grub or /etc/grub.d/*.

I'm gonna take a wild stab in the dark and blame grub-customizer.


Jin, Jîyan, Azadî

Offline

#3 2024-09-29 14:02:39

Mirli
Member
Registered: 2024-09-27
Posts: 2

Re: update grub error

Thank you, is it etc/grub.d

Offline

#4 2024-09-29 23:30:04

jeffm
Member
From: victoria, australia
Registered: 2019-04-06
Posts: 26

Re: update grub error

It might be usefull if you post :

1. content of /etc/default/grub

2. the result of ls -al /etc/grub.d

Offline

Board footer

Powered by FluxBB