Results 1 to 3 of 3

Thread: How to customize grub entries

  1. #1
    Join Date
    Jan 2012

    How to customize grub entries


    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?


  2. #2
    Join Date
    Jun 2007
    Arizona U.S.A.

    Re: How to customize grub entries

    This documentation explains how to make a custom menu:

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

    Good luck.

  3. #3
    Join Date
    Jun 2009
    SW Forida
    Ubuntu 16.04 Xenial Xerus

    Re: How to customize grub entries

    You can use grub customizer.
    New Grub Customizer works with 12.10

    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
    Older thread

    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
    #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:

    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 :
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.


Posting Permissions

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