Announcement

Collapse
No announcement yet.

grub not updating win11 + Kubuntu dual boot system (Solved)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] grub not updating win11 + Kubuntu dual boot system (Solved)

    Hello All,


    I have a notebook 2sdd 1 win11 and one kubuntu.
    Once I tried Danielrichter grub customizer get an error .
    Click image for larger version  Name:	image.png Views:	38 Size:	298.9 KB ID:	686842

    Now I have error while upgrading linux image.
    Error is like the error shown below.

    Any suggestion to fix this??
    Thanks



    attila@attila-omen:~$ sudo apt upgrade
    Not upgrading yet due to phasing:
    libinput-bin libinput10

    Summary:
    Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 2
    1 not fully installed or removed.
    Space needed: 0 B / 452 GB available

    Continue? [Y/n] y
    Setting up linux-image-6.14.0-15-generic (6.14.0-15.15) ...
    Processing triggers for linux-image-6.14.0-15-generic (6.14.0-15.15) ...
    /etc/kernel/postinst.d/initramfs-tools:
    update-initramfs: Generating /boot/initrd.img-6.14.0-15-generic
    /etc/kernel/postinst.d/zz-update-grub:
    Sourcing file `/etc/default/grub'
    Generating grub configuration file ...
    Found linux image: /boot/vmlinuz-6.14.0-15-generic
    Found initrd image: /boot/initrd.img-6.14.0-15-generic
    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/nvme1n1p1@/efi/Microsoft/Boot/bootmgfw.efi
    Found linux image: /boot/vmlinuz-6.14.0-15-generic
    Found initrd image: /boot/initrd.img-6.14.0-15-generic
    Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
    Found memtest86+ 32bit EFI image: /boot/memtest86+ia32.efi
    Found memtest86+ 64bit image: /boot/memtest86+x64.bin
    Found memtest86+ 32bit image: /boot/memtest86+ia32.bin
    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/nvme1n1p1@/efi/Microsoft/Boot/bootmgfw.efi
    Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
    Found memtest86+ 32bit EFI image: /boot/memtest86+ia32.efi
    Found memtest86+ 64bit image: /boot/memtest86+x64.bin
    Found memtest86+ 32bit image: /boot/memtest86+ia32.bin
    Adding boot menu entry for UEFI Firmware Settings ...
    error: syntax error.
    error: Incorrect command.
    error: syntax error.
    Syntax error at line 231
    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.
    run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
    dpkg: error processing package linux-image-6.14.0-15-generic (--configure):
    installed linux-image-6.14.0-15-generic package post-installation script subprocess returned error exit status 1
    Errors were encountered while processing:
    linux-image-6.14.0-15-generic
    Error: Sub-process /usr/bin/dpkg returned an error code (1)
    attila@attila-omen:~$

    Last edited by attila_66; Jun 02, 2025, 11:57 AM.

    #2
    Grub-customizer makes a backup of things in /etc/grub.d/backup/ with instructions to manually replace the modified files with the originals.

    Also, isn't there a "revert" button?
    Last edited by claydoh; May 29, 2025, 03:58 AM.

    Comment


      #3
      Originally posted by claydoh View Post
      Grub-customizer makes a backup of things in /etc/grub.d/backup/ with instructions to manually replace the modified files with the originals.

      Also, isn't there a "revert" button?
      Thank you for reply

      While trying to fix the problem I reinstalled Kubuntu. I think that deleted all backups. But problem is still same.

      Comment


        #4
        Originally posted by claydoh View Post
        Grub-customizer makes a backup of things in /etc/grub.d/backup/ with instructions to manually replace the modified files with the originals.

        Also, isn't there a "revert" button?
        While cheking once again used revert button and all worked ok.

        Thank you so much for helping.

        Comment

        Users Viewing This Topic

        Collapse

        There are 0 users viewing this topic.

        Working...
        X