Results 1 to 3 of 3

Thread: How to customize grub entries

  1. #1
    Join Date
    Jan 2012
    Beans
    33

    How to customize grub entries

    Hello,

    I installed lubuntu 12.10, ubuntu 12.10 and kubuntu 12.10
    Usually I use lubuntu but I want to practice the other flavors as well

    Now grub lists them all as Ubuntu 12.10
    How can I edit grub in order to distinguish the flavor?

    Thanks

  2. #2
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    2,996

    Re: How to customize grub entries

    This documentation explains how to make a custom menu:

    https://help.ubuntu.com/community/Grub2/CustomMenus

    Note: I used this guide, and it works well.

    Good luck.

  3. #3
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How to customize grub entries

    You can use grub customizer.
    New Grub Customizer works with 12.10
    http://www.webupd8.org/2012/09/grub-...-released.html

    But with normal grub2's os-prober and multi-booting you have to boot into any second install and update it, then boot in current install that is in MBR and update it to find the updates in the second installs.
    I prefer to just add default entries which I can name anything I want and boot those.
    Documented here, but details are about halfway down.

    How to: Create a Customized GRUB2 Screen that is Maintenance Free.- Cavsfan
    https://help.ubuntu.com/community/Ma...tomGrub2Screen
    Older thread
    http://ubuntuforums.org/showthread.php?t=1542338

    An entry like this in 40_custom works.


    #Add menu entry to 40_custom, change example from sda13 to your partition.
    gksudo gedit /etc/grub.d/40_custom
    #Turn off prober
    gksudo gedit /etc/default/grub
    #Add this line
    GRUB_DISABLE_OS_PROBER=true
    #update grub menu
    sudo update-grub
    sudo dpkg-reconfigure grub-pc

    I first saw this from Ranch hand
    Note that this does not define the kernel. It defines the partition. It boots the newest bootable kernel that it finds at that partition. example based on sda13 change all 13's to your partition number.
    At least for Ubuntu family OS's, they all place symlinks in /, called vmlinuz and initrd.img These point to the most recent versions of the kernel in the /boot folder.
    More info:
    http://ubuntuforums.org/showthread.php?t=1542338

    menuentry "Daily on sda13" {
    set root=(hd0,13)
    linux /vmlinuz root=/dev/sda13 ro quiet splash
    initrd /initrd.img
    }
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •