Syntax errors are detected in generated grub-btrfs.cfg 2022-06-17file

Hello Garuda users.

At the end of garuda-update I have found this:

Found snapshot: 2022-06-09 21:43:04 | @/.snapshots/711/snapshot | pre    | pacman --sync -u -y -- atom-editor-beta-bin                              |
Found 50 snapshot(s)
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 38
Syntax errors are detected in generated grub-btrfs.cfg file.
If you think an error has occurred , please file a bug report at " https://github.com/Antynea/grub-btrfs "
Unmount /tmp/grub-btrfs.Rr02zFeyl9 .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
(19/19) Syncing all file systems...

Any suggestion?

My garuda-inxi

System:
Kernel: 5.18.3-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=e1b87af6-67e0-4350-97cb-8bdfe430d209 rw [email protected]
quiet
cryptdevice=UUID=735c2a29-e901-4fc7-893a-52a88bf43878:luks-735c2a29-e901-4fc7-893a-52a88bf43878
root=/dev/mapper/luks-735c2a29-e901-4fc7-893a-52a88bf43878 splash
rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1
resume=/dev/mapper/luks-23c04b79-4698-461f-ade3-f485919f86ca loglevel=3
Desktop: KDE Plasma v: 5.25.0 tk: Qt v: 5.15.4 info: latte-dock
wm: kwin_wayland vt: 2 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: FUJITSU product: LIFEBOOK A544 v: N/A
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: FUJITSU model: FJNBB35 serial: <superuser required>
UEFI: FUJITSU // Phoenix v: Version 1.13 date: 11/18/2013
Battery:
ID-1: BAT0 charge: 0.9 Wh (100.0%) condition: 0.9/4.5 Wh (19.9%)
volts: 12.2 min: 10.8 model: PTL CP651527-01 type: Li-ion serial: <filter>
status: N/A cycles: 274
CPU:
Info: model: Intel Core i7-4702MQ bits: 64 type: MT MCP arch: Haswell
gen: core 4 built: 2013-15 process: Intel 22nm family: 6
model-id: 0x3C (60) stepping: 3 microcode: 0x28
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
L3: 6 MiB desc: 1x6 MiB
Speed (MHz): avg: 2194 high: 2197 min/max: 800/3200 scaling:
driver: intel_cpufreq governor: performance cores: 1: 2183 2: 2197 3: 2196
4: 2196 5: 2196 6: 2197 7: 2195 8: 2196 bogomips: 35120
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Fujitsu
driver: i915 v: kernel arch: Gen5.75 process: Intel 45nm built: 2010 ports:
active: HDMI-A-1 off: eDP-1 empty: VGA-1 bus-ID: 00:02.0
chip-ID: 8086:0416 class-ID: 0300
Device-2: Importek FJ Camera type: USB driver: uvcvideo bus-ID: 1-7:5
chip-ID: 10f1:1a58 class-ID: 0e02
Display: wayland server: X.org v: 1.21.1.3 with: Xwayland v: 22.1.2
compositor: kwin_wayland driver: X: loaded: modesetting
alternate: fbdev,intel,vesa gpu: i915 display-ID: 0
Monitor-1: HDMI-A-1 res: 1920x1080 size: N/A modes: N/A
OpenGL: renderer: Mesa Intel HD Graphics 4600 (HSW GT2)
v: 4.6 Mesa 22.1.1 direct render: Yes
Audio:
Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio
vendor: Fujitsu driver: snd_hda_intel v: kernel bus-ID: 00:03.0
chip-ID: 8086:0c0c class-ID: 0403
Device-2: Intel 8 Series/C220 Series High Definition Audio
vendor: Fujitsu driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
chip-ID: 8086:8c20 class-ID: 0403
Sound Server-1: ALSA v: k5.18.3-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 16.0 running: no
Sound Server-3: PipeWire v: 0.3.52 running: yes
Network:
Device-1: Intel Wireless 7260 driver: iwlwifi v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:08b1 class-ID: 0280
IF: wlp3s0 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Fujitsu driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: 3000 bus-ID: 04:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
IF-ID-1: virbr0 state: down mac: <filter>
IF-ID-2: virbr1 state: down mac: <filter>
Bluetooth:
Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
bus-ID: 1-8:7 chip-ID: 8087:07dc class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 17 state: down
bt-service: enabled,running rfk-block: hardware: no software: yes
address: <filter>
Drives:
Local Storage: total: 931.51 GiB used: 96.64 GiB (10.4%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 QVO 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 1B6Q scheme: GPT
Partition:
ID-1: / raw-size: 922.45 GiB size: 922.45 GiB (100.00%)
used: 96.64 GiB (10.5%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-735c2a29-e901-4fc7-893a-52a88bf43878
ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.45%)
used: 682 KiB (0.3%) fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 922.45 GiB size: 922.45 GiB (100.00%)
used: 96.64 GiB (10.5%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-735c2a29-e901-4fc7-893a-52a88bf43878
ID-4: /var/log raw-size: 922.45 GiB size: 922.45 GiB (100.00%)
used: 96.64 GiB (10.5%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-735c2a29-e901-4fc7-893a-52a88bf43878
ID-5: /var/tmp raw-size: 922.45 GiB size: 922.45 GiB (100.00%)
used: 96.64 GiB (10.5%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-735c2a29-e901-4fc7-893a-52a88bf43878
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 7.67 GiB used: 1009 MiB (12.8%)
priority: 100 dev: /dev/zram0
ID-2: swap-2 type: partition size: 8.8 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/dm-1 maj-min: 254:1
mapped: luks-23c04b79-4698-461f-ade3-f485919f86ca
Sensors:
System Temperatures: cpu: 75.0 C pch: 66.5 C mobo: 27.8 C
Fan Speeds (RPM): N/A
Info:
Processes: 296 Uptime: 3d 23h 4m wakeups: 46 Memory: 7.67 GiB
used: 3.61 GiB (47.0%) Init: systemd v: 251 default: graphical
tool: systemctl Compilers: gcc: 12.1.0 clang: 13.0.1 Packages: pacman: 1753
lib: 392 Shell: fish v: 3.4.1 running-in: konsole inxi: 3.3.18
Garuda (2.6.3-2):
System install date:     2021-03-13
Last full system update: 2022-06-17 ↻
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       No/Undetected
Snapshots:               Snapper
Failed units:            pacman-files.service

Thanks.

Try deleting a snapshot or two and running update-grub again.

2 Likes

Hi,
I deleted more than 2 or 3 snapshots.
I launched again update-grub. No error found.
The output is

Some weeks ago I had the same problem. It is sporadic.

╭─[email protected] in ~ on ☁️  [email protected] took 12s
╰─λ sudo update-grub
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/garuda/theme.txt
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot:  intel-ucode.img initramfs-linux-zen-fallback.img
Found linux image: /boot/vmlinuz-linux-lts
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-lts.img
Found fallback initrd image(s) in /boot:  intel-ucode.img initramfs-linux-lts-fallback.img
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...
Found snapshot: 2022-06-17 22:01:02 | @/.snapshots/788/snapshot | single | timeline                           |
Found snapshot: 2022-06-17 21:33:34 | @/.snapshots/787/snapshot | post   | aisleriot alacritty-git ffmpeg ffmpeg4.4 garuda-assistant-git garuda-dr4 |
Found snapshot: 2022-06-17 21:32:17 | @/.snapshots/786/snapshot | pre    | pacman -Su                         |
Found snapshot: 2022-06-16 21:01:01 | @/.snapshots/785/snapshot | single | timeline                           |
Found snapshot: 2022-06-16 20:54:35 | @/.snapshots/784/snapshot | post   | aha aisleriot alacritty-git android-udev bluedevil breeze breeze-gtk cod |
Found snapshot: 2022-06-16 20:54:18 | @/.snapshots/783/snapshot | pre    | pacman -Su -y                      |
Found snapshot: 2022-06-15 22:01:01 | @/.snapshots/782/snapshot | single | timeline                           |
Found snapshot: 2022-06-15 21:48:07 | @/.snapshots/781/snapshot | post   | alsa-card-profiles boost-libs ceph-libs flameshot-git gst-plugin-pipewir |
Found snapshot: 2022-06-15 21:47:04 | @/.snapshots/780/snapshot | pre    | pacman -Su                         |
Found snapshot: 2022-06-15 21:01:02 | @/.snapshots/779/snapshot | single | timeline                           |
Found snapshot: 2022-06-15 20:01:01 | @/.snapshots/778/snapshot | single | timeline                           |
Found snapshot: 2022-06-15 19:01:02 | @/.snapshots/777/snapshot | single | timeline                           |
Found snapshot: 2022-06-15 18:01:01 | @/.snapshots/776/snapshot | single | timeline                           |
Found snapshot: 2022-06-15 17:01:01 | @/.snapshots/775/snapshot | single | timeline                           |
Found snapshot: 2022-06-15 16:01:01 | @/.snapshots/774/snapshot | single | timeline                           |
Found snapshot: 2022-06-14 18:01:01 | @/.snapshots/773/snapshot | single | timeline                           |
Found snapshot: 2022-06-14 17:47:52 | @/.snapshots/772/snapshot | post   | vulkan-headers                     |
Found snapshot: 2022-06-14 17:47:50 | @/.snapshots/771/snapshot | pre    | pacman -Su                         |
Found snapshot: 2022-06-14 14:28:18 | @/.snapshots/769/snapshot | post   | starship-git                       |
Found snapshot: 2022-06-14 14:28:16 | @/.snapshots/768/snapshot | pre    | pacman -Su                         |
Found snapshot: 2022-06-14 04:09:07 | @/.snapshots/764/snapshot | post   | file latte-dock-git mhwd-db-garuda-git                                   |
Found snapshot: 2022-06-14 04:09:04 | @/.snapshots/763/snapshot | pre    | pacman -Su                         |
Found snapshot: 2022-06-14 04:01:01 | @/.snapshots/762/snapshot | single | timeline                           |
Found snapshot: 2022-06-13 22:49:10 | @/.snapshots/760/snapshot | post   | attica baloo bluez-qt breeze-icons frameworkintegration kactivities kact |
Found snapshot: 2022-06-13 22:48:59 | @/.snapshots/759/snapshot | pre    | pacman -Su                         |
Found snapshot: 2022-06-13 22:21:20 | @/.snapshots/758/snapshot | post   | avogadrolibs avogadrolibs-qt5 containerd downgrade fftw flameshot-git gi |
Found snapshot: 2022-06-13 22:21:06 | @/.snapshots/757/snapshot | pre    | pacman -Su -y                      |
Found snapshot: 2022-06-13 09:01:01 | @/.snapshots/743/snapshot | single | timeline                           |
Found snapshot: 2022-06-12 18:25:10 | @/.snapshots/741/snapshot | post   | android-tools librewolf protobuf protobuf-c starship-git strawberry      |
Found snapshot: 2022-06-12 18:25:06 | @/.snapshots/740/snapshot | pre    | pacman -Su                         |
Found snapshot: 2022-06-12 11:29:47 | @/.snapshots/739/snapshot | post   | alacritty-git candy-icons-git docker ffmpeg ffmpeg4.4 kbd latte-dock-git |
Found snapshot: 2022-06-12 11:29:39 | @/.snapshots/738/snapshot | pre    | pacman -Su                         |
Found snapshot: 2022-06-12 11:01:01 | @/.snapshots/737/snapshot | single | timeline                           |
Found snapshot: 2022-06-11 18:03:00 | @/.snapshots/736/snapshot | post   | code inxi pcsclite                 |
Found snapshot: 2022-06-11 18:02:57 | @/.snapshots/735/snapshot | pre    | pacman -Su                         |
Found snapshot: 2022-06-11 13:53:34 | @/.snapshots/732/snapshot | post   | firedragon hwinfo lib32-libx11 lib32-mesa-demos libbytesize librewolf-ex |
Found snapshot: 2022-06-11 13:53:29 | @/.snapshots/731/snapshot | pre    | pacman -Su -y                      |
Found snapshot: 2022-06-11 09:01:01 | @/.snapshots/730/snapshot | single | timeline                           |
Found snapshot: 2022-06-11 08:27:25 | @/.snapshots/729/snapshot | post   | flameshot-git                      |
Found snapshot: 2022-06-11 08:27:23 | @/.snapshots/728/snapshot | pre    | pacman -Su                         |
Found snapshot: 2022-06-10 21:16:24 | @/.snapshots/725/snapshot | post   | apm electron11 electron14          |
Found snapshot: 2022-06-10 21:16:20 | @/.snapshots/724/snapshot | pre    | pacman -Rs -                       |
Found snapshot: 2022-06-10 21:14:32 | @/.snapshots/723/snapshot | post   | brave-bin                          |
Found snapshot: 2022-06-10 21:14:28 | @/.snapshots/722/snapshot | pre    | pacman -Su                         |
Found snapshot: 2022-06-10 21:07:53 | @/.snapshots/721/snapshot | post   | alsa-card-profiles alsa-lib alsa-ucm-conf auto-cpufreq chromium cups fir |
Found snapshot: 2022-06-10 21:06:25 | @/.snapshots/720/snapshot | pre    | pacman -Su                         |
Found snapshot: 2022-06-10 16:01:01 | @/.snapshots/714/snapshot | single | timeline                           |
Found 47 snapshot(s)
Unmount /tmp/grub-btrfs.ecuHzfiA9m .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

Then you are fine.

When/if it happens again, read the message and do as it suggests:

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.