Announcement

Collapse
No announcement yet.

GRUB is not seeing Kubuntu 16.04 only Ubuntu 16.04

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    GRUB is not seeing Kubuntu 16.04 only Ubuntu 16.04

    A month or so ago, I bought a Dell laptop with Ubuntu 16.04 pre-installed. I then installed Kubuntu 16.04.2 side-by-side and have been able to choose either OS via the GRUB screen: I could see the entry that would let me boot into Kubuntu by default, that is, by pressing enter or waiting for 10 sec or, if I wanted, I could arrow-down to Ubuntu.

    I keep both systems fully upgraded by running sudo apt-get update and sudo apt-get dist-upgrade.

    Today, when I started my laptop, there was no GRUB screen and the system booted directly into Ubuntu, not Kubuntu as it usually would via the GRUB screen.

    I thought that I could "fix" the issue by commenting out
    Code:
    GRUB_HIDDEN_TIMEOUT=0
    in /etc/default/grub, running sudo sudo update-grub, and restarting.

    However,on restart, although the GRUB screen appeared, there was no entry for Kubuntu.

    This what I see with
    Code:
    $ grep "menuentry " /boot/grub/grub.cfg
    menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-30e6bdd2-27bf-4ef2-8076-333d24f18336' {
    	menuentry 'Ubuntu, with Linux 4.12.0-041200-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.12.0-041200-generic-advanced-30e6bdd2-27bf-4ef2-8076-333d24f18336' {
    	menuentry 'Ubuntu, with Linux 4.12.0-041200-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.12.0-041200-generic-init-upstart-30e6bdd2-27bf-4ef2-8076-333d24f18336' {
    	menuentry 'Ubuntu, with Linux 4.12.0-041200-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.12.0-041200-generic-recovery-30e6bdd2-27bf-4ef2-8076-333d24f18336' {
    	menuentry 'Ubuntu, with Linux 4.4.0-87-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-87-generic-advanced-30e6bdd2-27bf-4ef2-8076-333d24f18336' {
    	menuentry 'Ubuntu, with Linux 4.4.0-87-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-87-generic-init-upstart-30e6bdd2-27bf-4ef2-8076-333d24f18336' {
    	menuentry 'Ubuntu, with Linux 4.4.0-87-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-87-generic-recovery-30e6bdd2-27bf-4ef2-8076-333d24f18336' {
    menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
    menuentry "Restore Ubuntu 16.04 to factory state" {
    $
    As far as I know, the kernel version for Kubuntu is 4.10. I think the 4.12 lines were from when I installed 4.12 to troubleshoot some wifi issue on Ubuntu.

    So it looks like entries for Kubuntu are missing entirely

    Can someone please help me? I guess you may need more information which I'll do my best to provide.

    Thanks!

    Edit:
    Also,
    Code:
    I'm seeing the version "'/etc/lsb-release' has bad syntax: version number does not start with digit" message as well on Kubuntu 16.04 today (August 1, 2017).
    
    The following packages will be upgraded:
    base-files unattended-upgrades
    2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 101 kB of archives.
    After this operation, 0 B of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 base-files amd64 9.4ubuntu4.5 [68.4 kB]
    Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 unattended-upgrades all 0.90ubuntu0.7 [32.7 kB]
    Fetched 101 kB in 1s (64.1 kB/s)
    Preconfiguring packages ...
    (Reading database ... 212942 files and directories currently installed.)
    Preparing to unpack .../base-files_9.4ubuntu4.5_amd64.deb ...
    Unpacking base-files (9.4ubuntu4.5) over (9.4ubuntu4.4) ...
    Processing triggers for man-db (2.7.5-1) ...
    Processing triggers for install-info (6.1.0.dfsg.1-5) ...
    Processing triggers for cracklib-runtime (2.9.2-1build2) ...
    Processing triggers for plymouth-theme-kubuntu-text (1:16.04ubuntu2) ...
    dpkg: warning: version '/etc/lsb-release' has bad syntax: version number does not start with digit
    rmdir: failed to remove '/lib/plymouth/': No such file or directory
    update-initramfs: deferring update (trigger activated)
    Processing triggers for plymouth-theme-ubuntu-text (0.9.2-3ubuntu13.1) ...
    update-initramfs: deferring update (trigger activated)
    Processing triggers for initramfs-tools (0.122ubuntu8.8) ...
    update-initramfs: Generating /boot/initrd.img-4.10.0-28-generic
    W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_01.bin for module i915
    Setting up base-files (9.4ubuntu4.5) ...
    Installing new version of config file /etc/issue ...
    Installing new version of config file /etc/issue.net ...
    Installing new version of config file /etc/lsb-release ...
    Processing triggers for plymouth-theme-kubuntu-text (1:16.04ubuntu2) ...
    dpkg: warning: version '/etc/lsb-release' has bad syntax: version number does not start with digit
    rmdir: failed to remove '/lib/plymouth/': No such file or directory
    update-initramfs: deferring update (trigger activated)
    Processing triggers for plymouth-theme-ubuntu-text (0.9.2-3ubuntu13.1) ...
    update-initramfs: deferring update (trigger activated)
    Processing triggers for initramfs-tools (0.122ubuntu8.8) ...
    update-initramfs: Generating /boot/initrd.img-4.10.0-28-generic
    W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_01.bin for module i915
    (Reading database ... 212942 files and directories currently installed.)
    Preparing to unpack .../unattended-upgrades_0.90ubuntu0.7_all.deb ...
    Unpacking unattended-upgrades (0.90ubuntu0.7) over (0.90ubuntu0.6) ...
    Processing triggers for systemd (229-4ubuntu19) ...
    Processing triggers for ureadahead (0.100.0-19) ...
    ureadahead will be reprofiled on next reboot
    Processing triggers for man-db (2.7.5-1) ...
    Setting up unattended-upgrades (0.90ubuntu0.7) ...
    
    ++++++++++++++
    
    $ uname -a
    Linux Dell-Inspiron-15-3567 4.10.0-28-generic #32~16.04.2-Ubuntu SMP Thu Jul 20 10:19:48 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
    $
    from https://bugs.launchpad.net/ubuntu/+s...717/comments/4 not sure it's related to the GRUB issue ::
    Last edited by chimak111; Aug 01, 2017, 10:44 PM.
    Kubuntu 20.04

    #2
    Try this: type sudo os-prober and press return, then type sudo update-grub
    If you think Education is expensive, try ignorance.

    The difference between genius and stupidity is genius has limits.

    Comment


      #3
      @SpecialEd, thanks and here's the output:
      Code:
      sudo os-prober
      /dev/sda5:Ubuntu 16.04.3 LTS (16.04):Ubuntu:linux
      $ sudo update-grub
      Generating grub configuration file ...
      Found linux image: /boot/vmlinuz-4.12.0-041200-generic
      Found initrd image: /boot/initrd.img-4.12.0-041200-generic
      Found linux image: /boot/vmlinuz-4.4.0-87-generic
      Found initrd image: /boot/initrd.img-4.4.0-87-generic
      Adding boot menu entry for EFI firmware configuration
      done
      $
      I'll reboot now and hope things are fixed.

      Meanwhile, I installed boot-repair and here is some preliminary information:
      Code:
      $ boot-repair -e
      cat: /sys/firmware/efi/vars/SecureBoot-8be4df61-93ca-11d2-aa0d-00e098032b8c/data: Permission denied
      
      efibootmgr -v
      BootCurrent: 0000
      Timeout: 0 seconds
      BootOrder: 0000,0001,0002,0003
      Boot0000* ubuntu	HD(1,GPT,920da6c6-f930-4b92-aa56-fb8e0760247e,0x800,0xfa000)/File(\EFI\ubuntu\shimx64.efi)
      Boot0001* UEFI:CD/DVD Drive	BBS(129,,0x0)
      Boot0002* UEFI:Removable Device	BBS(130,,0x0)
      Boot0003* UEFI:Network Device	BBS(131,,0x0)
      Boot0005* Onboard NIC	BBS(Network,Realtek PXE B02 D00,0x0)..BO
      Boot0006* UEFI: TOSHIBA MQ01ABD100, Partition 1	HD(1,GPT,920da6c6-f930-4b92-aa56-fb8e0760247e,0x800,0xfa000)/File(EFI\boot\bootx64.efi)..BO
      BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
      SecureBoot disabled. (maybe sec-boot, )
      
      $ boot-repair -i
      boot-repair version : 4ppa40
      boot-sav version : 4ppa40
      glade2script version : 3.2.3~ppa1
      boot-sav-extra version : 4ppa40
      boot-repair is executed in installed-session (Ubuntu 16.04.3 LTS, xenial, Ubuntu, x86_64)
      CPU op-mode(s):        32-bit, 64-bit
      BOOT_IMAGE=/boot/vmlinuz-4.12.0-041200-generic root=UUID=30e6bdd2-27bf-4ef2-8076-333d24f18336 ro quiet splash vt.handoff=7
      cat: /sys/firmware/efi/vars/SecureBoot-8be4df61-93ca-11d2-aa0d-00e098032b8c/data: Permission denied
      
      efibootmgr -v
      BootCurrent: 0000
      Timeout: 0 seconds
      BootOrder: 0000,0001,0002,0003
      Boot0000* ubuntu	HD(1,GPT,920da6c6-f930-4b92-aa56-fb8e0760247e,0x800,0xfa000)/File(\EFI\ubuntu\shimx64.efi)
      Boot0001* UEFI:CD/DVD Drive	BBS(129,,0x0)
      Boot0002* UEFI:Removable Device	BBS(130,,0x0)
      Boot0003* UEFI:Network Device	BBS(131,,0x0)
      Boot0005* Onboard NIC	BBS(Network,Realtek PXE B02 D00,0x0)..BO
      Boot0006* UEFI: TOSHIBA MQ01ABD100, Partition 1	HD(1,GPT,920da6c6-f930-4b92-aa56-fb8e0760247e,0x800,0xfa000)/File(EFI\boot\bootx64.efi)..BO
      BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
      SecureBoot disabled. (maybe sec-boot, )
      
      $ boot-repair -v
      boot-repair version : 4ppa40
      boot-sav version : 4ppa40
      glade2script version : 3.2.3~ppa1
      boot-sav-extra version : 4ppa40
      Kubuntu 20.04

      Comment


        #4
        I ran boot-repair and can see Kubuntu again. Posting from it. Yay!
        Kubuntu 20.04

        Comment


          #5
          Could be time to remove some kernels and trim your menu entries.


          Sent from my iPhone using Tapatalk
          "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
          – John F. Kennedy, February 26, 1962.

          Comment


            #6
            Originally posted by GreyGeek View Post
            Could be time to remove some kernels and trim your menu entries.
            ...
            Well, my Kubuntu is pretty clean:
            Code:
            $ ls
            abi-4.10.0-27-generic     grub                          memtest86+_multiboot.bin              vmlinuz-4.10.0-28-generic
            abi-4.10.0-28-generic     initrd.img-4.10.0-27-generic  System.map-4.10.0-27-generic          vmlinuz-4.10.0-28-generic.efi.signed
            config-4.10.0-27-generic  initrd.img-4.10.0-28-generic  System.map-4.10.0-28-generic
            config-4.10.0-28-generic  memtest86+.bin                vmlinuz-4.10.0-27-generic
            efi                       memtest86+.elf                vmlinuz-4.10.0-27-generic.efi.signed
            $
            The Ubuntu partition has, in addition to the current kernel and one backup kernel, a mainline kernel which someone on Launchpad asked me to install to check out something. So not much to worry about, in my opinion.
            Kubuntu 20.04

            Comment


              #7
              Why do you keep both of them? Why not just have one install and choose which dm (unity, KDE, etc) to use before you login? This is what I do. Save space and time. Want to go from one dm to another, simply logout and back in after changing dm. No need to reboot the system. I have KDE, Gnome-shell, Ubuntu studio, lxde, and xfce installed currently

              Comment


                #8
                Originally posted by vsreeser View Post
                Why do you keep both of them? Why not just have one install and choose which dm (unity, KDE, etc) to use before you login? This is what I do. Save space and time. Want to go from one dm to another, simply logout and back in after changing dm. No need to reboot the system. I have KDE, Gnome-shell, Ubuntu studio, lxde, and xfce installed currently
                This laptop came with Ubuntu (Unity) pre-installed. I have tried having more than one DE at a time on the same system back during Ubuntu 12.10 but now I'm quite happy with just one DE.

                The reason I'm keeping the original Ubuntu around (and just keeping it updated) is because there maybe some Dell-specific stuff on it although, by the time 18.04.2 comes around, I may switch to just having Kubuntu: from what I've seen, Dell doesn't immediately support the new LTS.
                Last edited by chimak111; Aug 04, 2017, 07:49 PM.
                Kubuntu 20.04

                Comment

                Working...
                X