Announcement

Collapse
No announcement yet.

Little customization of GRUB menu.

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

    Little customization of GRUB menu.

    Hi!
    With PC start, GRUB boot menu appears.
    It displays "Ubuntu".
    But I have Kubuntu!
    Is there some little trick in the grub config files to fix this?
    I dont want to install any graphical grub - customizer, looking for config - tricking only!
    I just want to see "Kubuntu" on the boot menu items...

    #2
    You can edit the 10_linux and 30_osprober files in /etc/grub.d to change the output. Do a

    lsb_release -a

    to see what grub will pick up. You might want to read this page: http://ubuntu-install.blogspot.com/2...le-tweaks.html

    Please Read Me

    Comment


      #3
      The older (pre Trusty) Kubuntus did install the /etc/default/grub.d/50_kubuntu.cfg:

      Code:
      #! /bin/sh
      set -e
      
      # Hijack distributor if it is Ubuntu (default on Ubuntu systems...)
      if [ "${GRUB_DISTRIBUTOR}" = "Ubuntu" ] ; then
        GRUB_DISTRIBUTOR="Kubuntu"
      fi


      After you have added the 50_kubuntu.cfg run the
      Code:
      sudo update-grub
      to update the grub configs.

      Seems to work with the Trusty - at here (*).


      (*) at here = non UEFI/SecureBoot system

      The reason why the 50_kubuntu.cfg was dropped - http://changelogs.ubuntu.com/changel...tu15/changelog :
      kubuntu-settings (1:14.04ubuntu15) trusty; urgency=medium

      * [desktop] Drop etc/default/grub.d/50_kubuntu.cfg which contained a
      GRUB_DISTRIBUTOR override to turn from Ubuntu into Kubuntu. This issue
      has caused a substantial amount of UEFI/SecureBoot issues, and once again
      is causing Kubuntu to not correctly install on such systems.
      The primary difference is that grub-install will base various attributes
      of the UEFI boot entry on the information set in the variable. However for
      signed UEFI loaders to work it must be locked to the signing name
      (i.e. ubuntu). Instead of continuing to patch compatibility mapping from
      kubuntu to ubuntu every once in a while and having broken UEFI in the
      meantime, we are now stopping to set this variable. While this slightly
      degrades branding (i.e. grub entries will show Ubuntu rather than Kubuntu)
      it is in everyone's best interest to not keep screwing up installation for
      no good reason.

      -- Harald Sitter <apachelogger@****> Thu, 10 Apr 2014 18:30:26 +0200
      Last edited by Rog132; May 03, 2014, 12:05 PM.
      A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
      Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

      Comment


        #4
        I do it even simpler, editing /etc/default/grub (as root) and changing:

        GRUB_DISTRIBUTOR='Ubuntu'

        to

        GRUB_DISTRIBUTOR='Kubuntu'

        Save and close and then in a console type:
        Code:
        sudo update-grub2
        I do recognize that if /etc/default/grub gets updated my change has to be redone. Rog132's method prevents that from happening.
        Last edited by Snowhog; May 03, 2014, 12:07 AM.
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          Thanks guys, now I get "Kubuntu"...

          Comment


            #6
            Hi. My file says GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
            It says Ubuntu on grub menu, but I would like to change it back to Kubuntu too, as it was before 14.04. How?

            Comment

            Working...
            X