Announcement

Collapse
No announcement yet.

Grub is missing Kubuntu?

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

    #16
    30_os-prober
    Does it make a difference if it is called 30_os-prober_proxy?

    if zorin or bazzite still don't show , there's further steps then
    Zorin shows in the konsole, Bazzite doesn't.

    Comment


      #17
      I have no idea what the "_proxy" version is about. I use Kubuntu and KDEneon and that entry does not exist for us. You should probably ask in a Zorin or Bazzite forum.

      Please Read Me

      Comment


        #18
        ok now add bazzite manually to grub: run
        Code:
        sudo find /boot/efi/EFI -name "*.efi"
        you should see either /boot/efi/EFI/bazzite/grubx64.efi or /boot/efi/EFI/fedora/grubx64.efi​
        make note which one
        now add custom grub entry with
        Code:
        sudo nano /etc/grub.d/40_custom
        and add this at the bottom
        menuentry "Bazzite" {
        insmod part_gpt
        insmod fat
        search --file --set=root /EFI/bazzite/grubx64.efi
        chainloader /EFI/bazzite/grubx64.efi
        }​

        (if the folder was fedora,replace bazzite with fedora)
        save and exit (ctrl+O - enter - ctrl+X)
        then again
        Code:
        sudo update-grub
        no errors should appear

        reboot

        Comment


          #19
          I have no idea what the "_proxy" version is about. I use Kubuntu and KDEneon and that entry does not exist for us. You should probably ask in a Zorin or Bazzite forum.
          The problem is that I see that version while being in Kubuntu. I haven't done any steps in Bazzite...


          you should see either
          Well, I am seeing neither. I see 8 entries, 3 of them being /ubuntu/, 2 being /BOOT/ and 3 being /kubuntu/

          Comment


            #20
            please post output of terminal of this
            Code:
            sudo efibootmgr -v

            Comment


              #21
              Code:
              BootCurrent: 0003
              Timeout: 1 seconds
              BootOrder: 0004,0003,0000,0006,0001,0005
              Boot0000* Windows Boot Manager  HD(2,GPT,300f4518-6fab-48ea-bb97-df2833bcea17,0xe1800,0x31800)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000068000100000010000000040000007fff0400
                    dp: 04 01 2a 00 02 00 00 00 00 18 0e 00 00 00 00 00 00 18 03 00 00 00 00 00 18 45 0f 30 ab 6f ea 48 bb 97 df 28 33 bc ea 17 02 02 / 04 04 46 00 5c 00 45 00 46 00 49 00 5c 00 4d 00 49 00 43 00 52 00 4f 00 53 00 4f 00 46 00 54 00 5c 00 42 00 4f 00 4f 00 54 00 5c 00 42 00 4f 00 4f 00 54 00 4d 00 47 00 46 00 57 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
                  data: 57 49 4e 44 4f 57 53 00 01 00 00 00 88 00 00 00 78 00 00 00 42 00 43 00 44 00 4f 00 42 00 4a 00 45 00 43 00 54 00 3d 00 7b 00 39 00 64 00 65 00 61 00 38 00 36 00 32 00 63 00 2d 00 35 00 63 00 64 00 64 00 2d 00 34 00 65 00 37 00 30 00 2d 00 61 00 63 00 63 00 31 00 2d 00 66 00 33 00 32 00 62 00 33 00 34 00 34 00 64 00 34 00 37 00 39 00 35 00 7d 00 00 00 68 00 01 00 00 00 10 00 00 00 04 00 00 00 7f ff 04 00
              Boot0001  Fedora        HD(1,GPT,b111ede1-109a-4f1d-8b1e-5fbc6981488a,0x800,0x12c000)/File(\EFI\FEDORA\SHIMX64.EFI)
                    dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 c0 12 00 00 00 00 00 e1 ed 11 b1 9a 10 1d 4f 8b 1e 5f bc 69 81 48 8a 02 02 / 04 04 34 00 5c 00 45 00 46 00 49 00 5c 00 46 00 45 00 44 00 4f 00 52 00 41 00 5c 00 53 00 48 00 49 00 4d 00 58 00 36 00 34 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
              Boot0003* Kubuntu       HD(1,GPT,bbad975a-3008-439e-a65d-f313718b6c62,0x1000,0x96000)/File(\EFI\KUBUNTU\SHIMX64.EFI)
                    dp: 04 01 2a 00 01 00 00 00 00 10 00 00 00 00 00 00 00 60 09 00 00 00 00 00 5a 97 ad bb 08 30 9e 43 a6 5d f3 13 71 8b 6c 62 02 02 / 04 04 36 00 5c 00 45 00 46 00 49 00 5c 00 4b 00 55 00 42 00 55 00 4e 00 54 00 55 00 5c 00 53 00 48 00 49 00 4d 00 58 00 36 00 34 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
              Boot0004* Fedora        HD(1,GPT,b111ede1-109a-4f1d-8b1e-5fbc6981488a,0x800,0x12c000)/File(\EFI\FEDORA\SHIM.EFI)0000424f
                    dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 c0 12 00 00 00 00 00 e1 ed 11 b1 9a 10 1d 4f 8b 1e 5f bc 69 81 48 8a 02 02 / 04 04 2e 00 5c 00 45 00 46 00 49 00 5c 00 46 00 45 00 44 00 4f 00 52 00 41 00 5c 00 53 00 48 00 49 00 4d 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
                  data: 00 00 42 4f
              Boot0005  ubuntu        HD(2,GPT,300f4518-6fab-48ea-bb97-df2833bcea17,0xe1800,0x31800)/File(\EFI\UBUNTU\SHIMX64.EFI)0000424f
                    dp: 04 01 2a 00 02 00 00 00 00 18 0e 00 00 00 00 00 00 18 03 00 00 00 00 00 18 45 0f 30 ab 6f ea 48 bb 97 df 28 33 bc ea 17 02 02 / 04 04 34 00 5c 00 45 00 46 00 49 00 5c 00 55 00 42 00 55 00 4e 00 54 00 55 00 5c 00 53 00 48 00 49 00 4d 00 58 00 36 00 34 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
                  data: 00 00 42 4f
              Boot0006* ubuntu        HD(1,GPT,bbad975a-3008-439e-a65d-f313718b6c62,0x1000,0x96000)/File(\EFI\UBUNTU\SHIMX64.EFI)0000424f
                    dp: 04 01 2a 00 01 00 00 00 00 10 00 00 00 00 00 00 00 60 09 00 00 00 00 00 5a 97 ad bb 08 30 9e 43 a6 5d f3 13 71 8b 6c 62 02 02 / 04 04 34 00 5c 00 45 00 46 00 49 00 5c 00 55 00 42 00 55 00 4e 00 54 00 55 00 5c 00 53 00 48 00 49 00 4d 00 58 00 36 00 34 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
                  data: 00 00 42 4f​

              Comment


                #22
                Code:
                sudo nano /etc/grub.d/40_custom
                delete the previous entry you made , and add this instead
                menuentry "Bazzite" {
                insmod part_gpt
                insmod fat
                search --no-floppy --set=root --file /EFI/FEDORA/SHIMX64.EFI
                chainloader /EFI/FEDORA/SHIMX64.EFI
                }​

                save and exit
                rebuild grub with
                Code:
                sudo update-grub
                then change boot order with
                Code:
                sudo efibootmgr -o 0003,0004,0000,0006,0001,0005
                reboot

                PS: if all that works ,we can clean up duplicate EFI entries (you currently have two Fedora and two Ubuntu entries​)
                Last edited by die.boer; Yesterday, 05:28 AM.

                Comment


                  #23
                  sudo update-grub
                  After adding said code, that produces the following result with a syntax error:

                  Code:
                  Sourcing file `/etc/default/grub'
                  Generating grub configuration file ...
                  Found linux image: /boot/vmlinuz-6.17.0-14-generic
                  Found initrd image: /boot/initrd.img-6.17.0-14-generic
                  Found linux image: /boot/vmlinuz-6.17.0-5-generic
                  Found initrd image: /boot/initrd.img-6.17.0-5-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/sda2@/efi/Microsoft/Boot/bootmgfw.efi
                  Found Zorin OS 17.3 (17) on /dev/sdc1
                  Adding boot menu entry for UEFI Firmware Settings ...
                  error: syntax error.
                  error: Incorrect command.
                  error: syntax error.
                  error: Incorrect command.
                  error: syntax error.
                  Syntax error at line 284
                  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.
                  
                  ​

                  Comment


                    #24
                    recheck the grub custom file you added
                    Code:
                    sudo nano /etc/grub.d/40_custom
                    make sure everything is exactly like this
                    menuentry "Bazzite" {
                    insmod part_gpt
                    insmod fat
                    search --no-floppy --file --set=root /EFI/FEDORA/SHIMX64.EFI
                    chainloader /EFI/FEDORA/SHIMX64.EFI
                    }


                    save and exit - then
                    Code:
                    sudo update-grub
                    and reboot

                    PS: after the last } sign,press enter,so there's a empty line
                    if it still doesn't work ,try replacing that entry with
                    menuentry "Bazzite" {
                    insmod part_gpt
                    insmod fat
                    chainloader /EFI/FEDORA/SHIMX64.EFI
                    }​

                    ​​
                    save and exit - then
                    Code:
                    sudo update-grub
                    and reboot
                    Last edited by die.boer; Today, 11:40 AM.

                    Comment

                    Users Viewing This Topic

                    Collapse

                    There are 0 users viewing this topic.

                    Working...
                    X