mateosss / matter

Customizable GRUB theme inspired by Material Design
Boost Software License 1.0
865 stars 50 forks source link

Error during uninstall #49

Closed laubblaeser closed 3 years ago

laubblaeser commented 3 years ago

During installation something went wrong and my grub didn't show any of the icons I told the matter script to use.

So I tried to uninstall it and received this message:

[I] Begin Matter uninstall
[I] Request root access
[sudo] Passwort für laubblaeser: 
[I] Begin Matter uninstall
[I] Clean Matter Theme Overrides from /etc/default/grub
[I] Clean Matter Theme Overrides from /usr/bin/grub-mkconfig
[I] Clean install directory
[I] Update grub.cfg
[I] Remake grub.cfg with /usr/bin/update-grub -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.8-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-5.8-x86_64.img
Found initrd fallback image: /boot/initramfs-5.8-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.7-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-5.7-x86_64.img
Found initrd fallback image: /boot/initramfs-5.7-x86_64-fallback.img
Found Windows Boot Manager on /dev/sda3@/EFI/Microsoft/Boot/bootmgfw.efi
Found linux image: /boot/vmlinuz-5.8-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-5.8-x86_64.img
Found initrd fallback image: /boot/initramfs-5.8-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.7-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-5.7-x86_64.img
Found initrd fallback image: /boot/initramfs-5.7-x86_64-fallback.img
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: Warnung: Unbekannter Gerätetyp nvme0n1.
Adding boot menu entry for UEFI Firmware Settings ...
Adding boot menu entry for UEFI Firmware Settings ...
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: Warnung: Unbekannter Gerätetyp nvme0n1.
Fehler: syntax error.
Fehler: Incorrect command.
Fehler: syntax error.
Syntaxfehler in Zeile 272
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.
[I] Matter succesfully uninstalled

Sorry that parts are in German. I think you can still get the gist of it. I'm especially wondering about the errors Fehler: ... at the end. What could I do to fix this?

laubblaeser commented 3 years ago

OK, I thiiink this had to do with some kind of unsaved state from grub-customizer. I've fixed this by reverting grub to default and reorganising the changes in grub-customizer afterwards.

mateosss commented 3 years ago

Good that you solved it.

Just for the record, only the output that is preceded by [I], [W] or [E] is the one that Matter did itself, all the other ones are from external scripts/programs/etc. In your case the command /usr/bin/update-grub -o /boot/grub/grub.cfg was the one giving the error.