Announcement

Collapse
No announcement yet.

Grub is missing Kubuntu?

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

    Grub is missing Kubuntu?

    So, after fixing my display problems, I've come to my last problem: For whatever reason, my regular grub does not recognize Kubuntu. My (current) main OS is Bazzite, which shows normally in GRUB, as well as another Linux OS and Windows. Kubuntu however is missing. To start it, I need to go into the UEFI to specifically boot the drive containing Kubuntu (all OS are installed on different drives). Which opens a slightly different looking GRUB version (apparently my Bazzite/other OS use Grub 2.12 while Kubuntu uses something more current?) which contains Kubuntu, but is missing Bazzite.

    I've tried to update my GRUB, but ran into the problem that the command
    Code:
    sudo update-grub
    doesn't work. The advanced command
    Code:
    sudo grub-mkconfig -o /boot/grub/grub.cfg​
    also doesn't work and throws the same error that the command doesn't exist. I've then found this thread: https://askubuntu.com/questions/4186...mand-not-found, but that solution doesn't work for me, as on Bazzite that folder is not alterable, so I cannot add that specific .sh script. Any ideas for this?


    Edit: If I use the
    Code:
    sudo update-grub
    command on Kubuntu it doesn't throw the error about missing command and instead throws the following result:
    Code:
    error: syntax error.
    error: Incorrect command.
    error: syntax error.
    Syntax error at line 243
    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.
    ​
    Last edited by Wobbelblob; Yesterday, 12:28 PM.

    #2
    lets 1st fix Kubuntu's grub error: run this in Kubuntu and post output please
    Code:
    sudo nano /boot/grub/grub.cfg.new

    Comment


      #3
      Note that Bazzite (fedora based) won't have the update-grub command found in Debian/Ubuntu, but uses grub-mkconfig or somethiong else..

      As this is Bazzite's grub, you might also want to seek advice or documentation from them.

      Basically, the thing to try here is to use Kubuntu as the first boot choice in your BIOS, and get it's grub to see Bazzite, as die.boer is leading you to.

      I would suggest giving us your drive layout, or layouts so we can see where your EFI partition(s) and others are located, just in case this is a factor here.
      Self-built: Asus PRIME B550M-K/Ryzen 5600GT/32Gb/Intel ARC B580 12Gb/KDE neon
      HP Elitedesk 800 G3 Mini: i5-7500T(35w)/32Gb/Kubuntu LTS
      HP Chromebook 14: i5-1135G7/8Gb/512Gb SSD/KDE Linux

      Comment


        #4
        Okay, it took me a while to actually find how to copy all the results in there, but this is the result of the
        Code:
        sudo nano /boot/grub/grub.cfg.new
        command:


        Code:
        #
        # DO NOT EDIT THIS FILE
        #
        # It is automatically generated by grub-mkconfig using templates
        # from /etc/grub.d and settings from /etc/default/grub
        #
        
        ### BEGIN /etc/grub.d/00_header ###
        if [ -s $prefix/grubenv ]; then
          set have_grubenv=true
          load_env
        fi
        if [ "${initrdfail}" = 2 ]; then
           set initrdfail=
        elif [ "${initrdfail}" = 1 ]; then
           set next_entry="${prev_entry}"
           set prev_entry=
           save_env prev_entry
           if [ "${next_entry}" ]; then
              set initrdfail=2
           fi
        fi
        if [ "${next_entry}" ] ; then
           set default="${next_entry}"
           set next_entry=
           save_env next_entry
           set boot_once=true
        else
           set default="0"
        fi
        
        if [ x"${feature_menuentry_id}" = xy ]; then
          menuentry_id_option="--id"
        else
          menuentry_id_option=""
        fi
        
        export menuentry_id_option
        
        if [ "${prev_saved_entry}" ]; then
          set saved_entry="${prev_saved_entry}"
          save_env saved_entry
          set prev_saved_entry=
          save_env prev_saved_entry
          set boot_once=true
        fi
        
        function savedefault {
          if [ -z "${boot_once}" ]; then
            saved_entry="${chosen}"
            save_env saved_entry
          fi
        }
        function initrdfail {
            if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
              if [ -z "${initrdfail}" ]; then
                set initrdfail=1
                if [ -n "${boot_once}" ]; then
                  set prev_entry="${default}"
                  save_env prev_entry
                fi
              fi
              save_env initrdfail
            fi; fi
        }
        function recordfail {
          set recordfail=1
          if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
        }
        function load_video {
          if [ x$feature_all_video_module = xy ]; then
            insmod all_video
          else
            insmod efi_gop
            insmod efi_uga
            insmod ieee1275_fb
            insmod vbe
            insmod vga
            insmod video_bochs
            insmod video_cirrus
          fi
        }
        
        if [ x$feature_default_font_path = xy ] ; then
           font=unicode
        else
        insmod part_gpt
        insmod ext2
        search --no-floppy --fs-uuid --set=root aed89f8a-fe96-4b85-a14c-50e60108e461
            font="/usr/share/grub/unicode.pf2"
        fi
        
        if loadfont $font ; then
          set gfxmode=auto
          load_video
          insmod gfxterm
          set locale_dir=$prefix/locale
          set lang=en_US
          insmod gettext
        fi
        terminal_output gfxterm
        if [ "${recordfail}" = 1 ] ; then
          set timeout=30
        else
          if [ x$feature_timeout_style = xy ] ; then
            set timeout_style=hidden
            set timeout=0
          # Fallback hidden-timeout code in case the timeout_style feature is
          # unavailable.
          elif sleep --interruptible 0 ; then
            set timeout=0
          fi
        fi
        ### END /etc/grub.d/00_header ###
        
        ### BEGIN /etc/grub.d/05_debian_theme ###
        set menu_color_normal=white/black
        set menu_color_highlight=black/light-gray
        if background_color 0,0,0; then
          clear
        fi
        
        color_normal=white/black
        
        if [ -e ${prefix}/themes/kubuntu-logo/theme.txt ]; then
          insmod png
          theme=${prefix}/themes/kubuntu-logo/theme.txt
        fi
        ### END /etc/grub.d/05_debian_theme ###
        
        ### BEGIN /etc/grub.d/10_linux ###
        function gfxmode {
            set gfxpayload="${1}"
            if [ "${1}" = "keep" ]; then
                set vt_handoff=vt.handoff=7
            else
                set vt_handoff=
            fi
        }
        if [ "${recordfail}" != 1 ]; then
          if [ -e ${prefix}/gfxblacklist.txt ]; then
            if [ ${grub_platform} != pc ]; then
              set linux_gfx_mode=keep
            elif hwmatch ${prefix}/gfxblacklist.txt 3; then
              if [ ${match} = 0 ]; then
                set linux_gfx_mode=keep
              else
                set linux_gfx_mode=text
              fi
            else
              set linux_gfx_mode=text
            fi
          else
            set linux_gfx_mode=keep
          fi
        else
          set linux_gfx_mode=text
        fi
        export linux_gfx_mode
        menuentry 'Kubuntu GNU/Linux' --class kubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-aed89f8a-fe96-4b85-a14c-50e60108e461' {
            recordfail
            load_video
            gfxmode $linux_gfx_mode
            insmod gzio
            if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
            insmod part_gpt
            insmod ext2
            search --no-floppy --fs-uuid --set=root aed89f8a-fe96-4b85-a14c-50e60108e461
            linux    /boot/vmlinuz-6.17.0-14-generic root=UUID=aed89f8a-fe96-4b85-a14c-50e60108e461 ro  quiet splash $vt_handoff
            initrd    /boot/initrd.img-6.17.0-14-generic
        }
        submenu 'Advanced options for Kubuntu GNU/Linux' $menuentry_id_option 'gnulinux-advanced-aed89f8a-fe96-4b85-a14c-50e60108e461' {
            menuentry 'Kubuntu GNU/Linux, with Linux 6.17.0-14-generic' --class kubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.17.0-14-generic-advanced-aed89f8a-fe96-4b85-a14c-50e60108e461' {
                recordfail
                load_video
                gfxmode $linux_gfx_mode
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root aed89f8a-fe96-4b85-a14c-50e60108e461
                echo    'Loading Linux 6.17.0-14-generic ...'
                linux    /boot/vmlinuz-6.17.0-14-generic root=UUID=aed89f8a-fe96-4b85-a14c-50e60108e461 ro  quiet splash $vt_handoff
                echo    'Loading initial ramdisk ...'
                initrd    /boot/initrd.img-6.17.0-14-generic
            }
            menuentry 'Kubuntu GNU/Linux, with Linux 6.17.0-14-generic (recovery mode)' --class kubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.17.0-14-generic-recovery-aed89f8a-fe96-4b85-a14c-50e60108e461' {
                recordfail
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root aed89f8a-fe96-4b85-a14c-50e60108e461
                echo    'Loading Linux 6.17.0-14-generic ...'
                linux    /boot/vmlinuz-6.17.0-14-generic root=UUID=aed89f8a-fe96-4b85-a14c-50e60108e461 ro recovery nomodeset dis_ucode_ldr
                echo    'Loading initial ramdisk ...'
                initrd    /boot/initrd.img-6.17.0-14-generic
            }
            menuentry 'Kubuntu GNU/Linux, with Linux 6.17.0-5-generic' --class kubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.17.0-5-generic-advanced-aed89f8a-fe96-4b85-a14c-50e60108e461' {
                recordfail
                load_video
                gfxmode $linux_gfx_mode
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root aed89f8a-fe96-4b85-a14c-50e60108e461
                echo    'Loading Linux 6.17.0-5-generic ...'
                linux    /boot/vmlinuz-6.17.0-5-generic root=UUID=aed89f8a-fe96-4b85-a14c-50e60108e461 ro  quiet splash $vt_handoff
                echo    'Loading initial ramdisk ...'
                initrd    /boot/initrd.img-6.17.0-5-generic
            }
            menuentry 'Kubuntu GNU/Linux, with Linux 6.17.0-5-generic (recovery mode)' --class kubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.17.0-5-generic-recovery-aed89f8a-fe96-4b85-a14c-50e60108e461' {
                recordfail
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root aed89f8a-fe96-4b85-a14c-50e60108e461
                echo    'Loading Linux 6.17.0-5-generic ...'
                linux    /boot/vmlinuz-6.17.0-5-generic root=UUID=aed89f8a-fe96-4b85-a14c-50e60108e461 ro recovery nomodeset dis_ucode_ldr
                echo    'Loading initial ramdisk ...'
                initrd    /boot/initrd.img-6.17.0-5-generic
            }
        }
        
        ### END /etc/grub.d/10_linux ###
        
        ### BEGIN /etc/grub.d/10_linux_zfs ###
        ### END /etc/grub.d/10_linux_zfs ###
        
        ### BEGIN /etc/grub.d/20_linux_xen ###
        
        ### END /etc/grub.d/20_linux_xen ###
        
        ### BEGIN /etc/grub.d/20_memtest86+_proxy ###
        
        if [ "$grub_platform" = efi -a "$grub_cpu" = i386 ]; then
        
        
        fi
        if [ "$grub_platform" = pc ]; then if cpuid -l ; then
        
        
        fi ; fi
        if [ "$grub_platform" = pc ]; then if ! cpuid -l ; then
        
        
        fi ; fi
        ### END /etc/grub.d/20_memtest86+_proxy ###
        
        ### BEGIN /etc/grub.d/30_os-prober_proxy ###
        
        # This menu entry is supported only on EFI platforms.
        
        
        
        set timeout_style=menu
        if [ "${timeout}" = 0 ]; then
          set timeout=10
        fi
        menuentry "Windows Boot Manager (on /dev/sda2)" --class windows --class os $menuentry_id_option 'osprober-efi-B62D-F95A' {
            insmod part_gpt
            insmod fat
            set root='hd0,gpt2'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  B62D-F95A
            else
              search --no-floppy --fs-uuid --set=root B62D-F95A
            fi
            chainloader /efi/Microsoft/Boot/bootmgfw.efi
        }
        ### END /etc/grub.d/30_os-prober_proxy ###
        
        ### BEGIN /etc/grub.d/30_uefi-firmware ###
        if [ "$grub_platform" = "efi" ]; then
            fwsetup --is-supported
            if [ "$?" = 0 ]; then
                menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
                    fwsetup
                }
            fi
        fi
        ### END /etc/grub.d/30_uefi-firmware ###
        
        ### BEGIN /etc/grub.d/35_fwupd ###
        ### END /etc/grub.d/35_fwupd ###
        
        ### BEGIN /etc/grub.d/40_custom ###
        # This file provides an easy way to add custom menu entries.  Simply type the
        # menu entries you want to add after this comment.  Be careful not to change
        # the 'exec tail' line above.
        ### END /etc/grub.d/40_custom ###
        
        ### BEGIN /etc/grub.d/41_custom ###
        if [ -f  ${config_directory}/custom.cfg ]; then
          source ${config_directory}/custom.cfg
        elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
          source $prefix/custom.cfg
        fi
        ### END /etc/grub.d/41_custom ###
        
        ​

        I would suggest giving us your drive layout, or layouts so we can see where your EFI partition(s) and others are located, just in case this is a factor here.
        How do I do that?

        Comment


          #5
          Originally posted by Wobbelblob View Post
          How do I do that?
          You could screenshot what Partition Manager shows for each drive, or copy the info you get from the command sudo fdisk -l.

          The only reason for this info is to see where the EFI partitions are, in case that is a factor. Usually these are at the beginning of a drive, but if one isn't (unlikely), some systems don't like it. So this is just a check, just in case.
          Self-built: Asus PRIME B550M-K/Ryzen 5600GT/32Gb/Intel ARC B580 12Gb/KDE neon
          HP Elitedesk 800 G3 Mini: i5-7500T(35w)/32Gb/Kubuntu LTS
          HP Chromebook 14: i5-1135G7/8Gb/512Gb SSD/KDE Linux

          Comment


            #6
            ok there's no syntax error there . Now please post output of these 2 commands (in Kubuntu)
            Code:
            sudo grub-script-check /boot/grub/grub.cfg.new
            Code:
            wc -l /boot/grub/grub.cfg.new

            Comment


              #7
              Code:
              sudo fdisk -l
              Code:
              Disk /dev/loop0: 73,95 MiB, 77545472 bytes, 151456 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop1: 242,61 MiB, 254390272 bytes, 496856 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop2: 247,56 MiB, 259588096 bytes, 507008 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop3: 73,92 MiB, 77512704 bytes, 151392 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop4: 48,09 MiB, 50421760 bytes, 98480 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop5: 66,85 MiB, 70098944 bytes, 136912 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop6: 460,59 MiB, 482959360 bytes, 943280 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop7: 50,77 MiB, 53235712 bytes, 103976 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/nvme1n1: 931,51 GiB, 1000204886016 bytes, 1953525168 sectors
              Disk model: WD Blue SN580 1TB                      
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              Disklabel type: gpt
              Disk identifier: EC27C33F-556C-46D2-B4B4-426555A6726D
              
              Device           Start        End    Sectors   Size Type
              /dev/nvme1n1p1    2048    1230847    1228800   600M EFI System
              /dev/nvme1n1p2 1230848    3327999    2097152     1G Linux extended boot
              /dev/nvme1n1p3 3328000 1953523711 1950195712 929,9G Linux filesystem
              
              
              Disk /dev/nvme0n1: 931,51 GiB, 1000204886016 bytes, 1953525168 sectors
              Disk model: Samsung SSD 980 1TB                    
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 16384 bytes / 131072 bytes
              Disklabel type: gpt
              Disk identifier: 54D6C4A7-EAE6-4217-9949-84D80486E791
              
              Device          Start        End    Sectors   Size Type
              /dev/nvme0n1p1   4096     618495     614400   300M EFI System
              /dev/nvme0n1p2 618496 1953525101 1952906606 931,2G Linux filesystem
              
              
              Disk /dev/sda: 232,89 GiB, 250059350016 bytes, 488397168 sectors
              Disk model: Samsung SSD 850
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              Disklabel type: gpt
              Disk identifier: F6E62E14-40F3-4720-9C01-7BDFADE8DF76
              
              Device         Start       End   Sectors   Size Type
              /dev/sda1       2048    923647    921600   450M Windows recovery environment
              /dev/sda2     923648   1126399    202752    99M EFI System
              /dev/sda3    1126400   1159167     32768    16M Microsoft reserved
              /dev/sda4    1159168 487304804 486145637 231,8G Microsoft basic data
              /dev/sda5  487305216 488394751   1089536   532M Windows recovery environment
              
              
              Disk /dev/sdb: 3,64 TiB, 4000787030016 bytes, 7814037168 sectors
              Disk model: ST4000DM004-2CV1
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 4096 bytes
              I/O size (minimum/optimal): 4096 bytes / 4096 bytes
              Disklabel type: gpt
              Disk identifier: BC15155B-630D-11E8-A2E9-309C230A7BC3
              
              Device          Start        End    Sectors   Size Type
              /dev/sdb1          34      32767      32734    16M Microsoft reserved
              /dev/sdb2       32768 5766768639 5766735872   2,7T Microsoft basic data
              /dev/sdb3  5766768640 7814035455 2047266816 976,2G Linux filesystem
              
              Partition 1 does not start on physical sector boundary.
              
              
              Disk /dev/sdc: 223,57 GiB, 240057409536 bytes, 468862128 sectors
              Disk model: Intenso SSD Sata
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              Disklabel type: gpt
              Disk identifier: 0C6746EC-469F-49F3-8BD6-112D3AF13B78
              
              Device     Start       End   Sectors   Size Type
              /dev/sdc1   2048 468860927 468858880 223,6G Linux filesystem
              
              
              Disk /dev/loop8: 227,04 MiB, 238063616 bytes, 464968 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop12: 254,57 MiB, 266940416 bytes, 521368 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop9: 226,22 MiB, 237207552 bytes, 463296 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop10: 4 KiB, 4096 bytes, 8 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop16: 264 KiB, 270336 bytes, 528 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop14: 278,43 MiB, 291958784 bytes, 570232 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop17: 531,38 MiB, 557187072 bytes, 1088256 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop15: 576,13 MiB, 604119040 bytes, 1179920 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop13: 91,69 MiB, 96141312 bytes, 187776 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop11: 516,2 MiB, 541278208 bytes, 1057184 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop18: 13,17 MiB, 13807616 bytes, 26968 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              henry@henry-ms7a32:~$ sudo fdisk -l
              Disk /dev/loop0: 73,95 MiB, 77545472 bytes, 151456 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop1: 242,61 MiB, 254390272 bytes, 496856 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop2: 247,56 MiB, 259588096 bytes, 507008 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop3: 73,92 MiB, 77512704 bytes, 151392 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop4: 48,09 MiB, 50421760 bytes, 98480 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop5: 66,85 MiB, 70098944 bytes, 136912 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop6: 460,59 MiB, 482959360 bytes, 943280 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop7: 50,77 MiB, 53235712 bytes, 103976 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/nvme1n1: 931,51 GiB, 1000204886016 bytes, 1953525168 sectors
              Disk model: WD Blue SN580 1TB                      
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              Disklabel type: gpt
              Disk identifier: EC27C33F-556C-46D2-B4B4-426555A6726D
              
              Device           Start        End    Sectors   Size Type
              /dev/nvme1n1p1    2048    1230847    1228800   600M EFI System
              /dev/nvme1n1p2 1230848    3327999    2097152     1G Linux extended boot
              /dev/nvme1n1p3 3328000 1953523711 1950195712 929,9G Linux filesystem
              
              
              Disk /dev/nvme0n1: 931,51 GiB, 1000204886016 bytes, 1953525168 sectors
              Disk model: Samsung SSD 980 1TB                    
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 16384 bytes / 131072 bytes
              Disklabel type: gpt
              Disk identifier: 54D6C4A7-EAE6-4217-9949-84D80486E791
              
              Device          Start        End    Sectors   Size Type
              /dev/nvme0n1p1   4096     618495     614400   300M EFI System
              /dev/nvme0n1p2 618496 1953525101 1952906606 931,2G Linux filesystem
              
              
              Disk /dev/sda: 232,89 GiB, 250059350016 bytes, 488397168 sectors
              Disk model: Samsung SSD 850
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              Disklabel type: gpt
              Disk identifier: F6E62E14-40F3-4720-9C01-7BDFADE8DF76
              
              Device         Start       End   Sectors   Size Type
              /dev/sda1       2048    923647    921600   450M Windows recovery environment
              /dev/sda2     923648   1126399    202752    99M EFI System
              /dev/sda3    1126400   1159167     32768    16M Microsoft reserved
              /dev/sda4    1159168 487304804 486145637 231,8G Microsoft basic data
              /dev/sda5  487305216 488394751   1089536   532M Windows recovery environment
              
              
              Disk /dev/sdb: 3,64 TiB, 4000787030016 bytes, 7814037168 sectors
              Disk model: ST4000DM004-2CV1
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 4096 bytes
              I/O size (minimum/optimal): 4096 bytes / 4096 bytes
              Disklabel type: gpt
              Disk identifier: BC15155B-630D-11E8-A2E9-309C230A7BC3
              
              Device          Start        End    Sectors   Size Type
              /dev/sdb1          34      32767      32734    16M Microsoft reserved
              /dev/sdb2       32768 5766768639 5766735872   2,7T Microsoft basic data
              /dev/sdb3  5766768640 7814035455 2047266816 976,2G Linux filesystem
              
              Partition 1 does not start on physical sector boundary.
              
              
              Disk /dev/sdc: 223,57 GiB, 240057409536 bytes, 468862128 sectors
              Disk model: Intenso SSD Sata
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              Disklabel type: gpt
              Disk identifier: 0C6746EC-469F-49F3-8BD6-112D3AF13B78
              
              Device     Start       End   Sectors   Size Type
              /dev/sdc1   2048 468860927 468858880 223,6G Linux filesystem
              
              
              Disk /dev/loop8: 227,04 MiB, 238063616 bytes, 464968 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop12: 254,57 MiB, 266940416 bytes, 521368 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop9: 226,22 MiB, 237207552 bytes, 463296 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop10: 4 KiB, 4096 bytes, 8 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop16: 264 KiB, 270336 bytes, 528 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop14: 278,43 MiB, 291958784 bytes, 570232 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop17: 531,38 MiB, 557187072 bytes, 1088256 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop15: 576,13 MiB, 604119040 bytes, 1179920 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop13: 91,69 MiB, 96141312 bytes, 187776 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop11: 516,2 MiB, 541278208 bytes, 1057184 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              
              
              Disk /dev/loop18: 13,17 MiB, 13807616 bytes, 26968 sectors
              Units: sectors of 1 * 512 = 512 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes​
              Result of
              Code:
              sudo grub-script-check /boot/grub/grub.cfg.new
              Code:
              error: syntax error.
              error: Incorrect command.
              error: syntax error.
              Syntax error at line 243
              Result of
              Code:
              wc -l /boot/grub/grub.cfg.new
              Code:
              wc: /boot/grub/grub.cfg.new: Permission denied
              
              ​

              Comment


                #8
                As there is a syntax error in the file, lets see what that line contains.

                In a Konsole type: sudo sed -n '243p' /boot/grub/grub.cfg.new

                Copy/paste the output.
                Windows no longer obstruct my view.
                Using Kubuntu Linux since March 23, 2007.
                "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                Comment


                  #9
                  Did that. The result is:

                  Code:
                  fi
                  And that is all. Feels like there should be more?

                  Comment


                    #10
                    Originally posted by Wobbelblob View Post
                    Did that. The result is:

                    Code:
                    fi
                    And that is all. Feels like there should be more?
                    please bear with us lol we'll get it fixed...
                    please post output of
                    Code:
                    sudo sed -n '220,260p' /boot/grub/grub.cfg.new

                    Comment

                    Users Viewing This Topic

                    Collapse

                    There is 1 user viewing this topic.

                    Working...
                    X