Your Ad Here
Follow jechemuy on Twitter

Thursday, January 20, 2011

New GRUB and BURG Customizer For Ubuntu

If you are like me who wants to do things the easy way then you may want to use this program to configure your Grub. Thanks to Daniel Richter who has made a GUI to let you customize your Grub settings without going into the command line. This is just a copy of the tutorial located here: 


http://ubuntuforums.org/showthread.php?t=1664134


I just copied it because I don't want to mess up your Grub in case I accidentally omit or misspell something in his instructions. 


1. Installation
  1. Synaptic:
    • Start Synaptic
      System > Administration > Synaptic Package Manager
    • Add the repository
      Settings tab > Repositories > Other Software > Add
      Type: ppa:danielrichter2007/grub-customizer > Add Source > Close
      Reload
    • Install Grub Customizer
      'Quick-search' > type "grub-customizer" > Select "grub-customizer" in lower panel.
      Apply.
  2. Software Center:
    • Start Software Center
      Applications > Ubuntu Software Center
    • Add the repository
      Edit > Software Sources > Other Software > Add
      Type: ppa:danielrichter2007/grub-customizer > Add Source > Close
      Reload
    • Install Grub Customizer
      Highlight "Get Software" in the left panel.
      In the upper right search window, type "Grub Customizer".
      Double-click "Grub Customizer" and click the 'Install' icon.
  3. Terminal:
    Add the repository to your system. The following commands will add the repository, import the security key, update the list of available packages and install Grub Customizer.
    • Open a terminal
      Applications > Accessories > Terminal
    • Install Grub Customizer
      Code:
      sudo add-apt-repository ppa:danielrichter2007/grub-customizer
      sudo apt-get update
      sudo apt-get install grub-customizer


2. Starting Grub-Customizer
Since this application modifies system files you will be asked to enter your password to gain access.

GUI: Applications > System Tools > Grub Customizer


Terminal: gksu grub-customizer


3. Main Menu Interface
Click image for larger version

Name: Grub.Customizer.main.png
Views: 54
Size: 29.6 KB
ID: 180683
Categories
Each Grub 2 script in the /etc/grub.d folder which finds operating systems is depicted in an expanded tree view: linux, memtest86+, os-prober, 40_custom, 41_custom, etc.
  • Main:
    • Scripts are displayed by their name (in numerical order) in the /etc/grub.d folder.
    • Only scripts which deal with operating systems are displayed in the tree. There are no entries for 00_header and 05_header in the tree view.
    • Scripts which are active are displayed with a filled orange tick box.
    • Scripts which are currently not executable are present but unticked.
    • If the main category title is unticked, the subsections are not included in the Grub menu, even if selected.
  • Sub Sections:
    • linux - The 10_linux script. Listings of your primary Ubuntu OS kernels.
    • memtest86+ - The 20_memtest86+ script.
    • os-prober - The 30_os-prober script. Finds and displays other operating systems, including Windows and linux systems installed on other partitions.
    • custom - In a default installation, the first 'custom' refers to 40_custom, and the second 'custom' refers to 41_custom.

4. Making Changes (from Main Page)
  • Removing / Hiding Entries
    • Hide An Entire Section: Untick the main header (linux, os-prober, etc)
      • Example: Unticking os-prober will disable the script and remove all entries normally found by it - Windows, other Ubuntu installations, etc. Even if the entries within the subsection are enabled, they will not be displayed.
      • Hide Specific Entries: Untick the entry
        • Example: Unticking Ubuntu, with 2.6.35-24-generic will remove that specific entry in the Grub 2 menu.
  • Freezing Entries (new Entries)
    • Unticking "new Entries" prevents the addition of any new Grub 2 menu entries for that section. New options found during updates may be included in the tree view but will not be selected by default.
      • If a new item is found by an enabled script, it will not be added to the Grub 2 menu.
    • Example: If 'new Entries' in 'linux' is deselected, when a new kernel is installed on the main system it will not appear in the menu.
  • Adding Entries
    • Tick the applicable entry.
    • Selecting a main category will enable the script.
    • Selecting an item within a main category will add it to the Grub 2 menu if it's parent is enabled.
  • Renaming Entries
    • Double-click a menu title to enable the editing mode. Type the new title and click elsewhere on the page to complete the edit.
  • Moving Entries
    • To move a main section, highlight the entry and use the Up/Dn arrows on the main menu to change the menu order. Moving a main category will move all its submenus.
      • Example: If you want Windows to appear before the main Ubuntu entries, move os-prober to the top of the list.
    • To move a title up or down within a subsection, highlight the entry and use the Up/Dn arrows on the main menu to change the menu order.
      • A titles can only be moved within its own subsection.

5. Preferences Tabs
  • General
    Click image for larger version

Name: Grub.Customizer.settings.General.png
Views: 30
Size: 25.5 KB
ID: 180691
    Intial display options such as whether the menu is shown, which menu entry is highlighted, and what kernel options to add to the instructions.
    • Default entry
    • visibility - Menu display, other OS selections, and timeout.
    • kernel parameters - Add options such as nomodeset, noapic, quiet, splash, etc
  • Appearance
    Click image for larger version

Name: Grub.Customizer.settings.Appearance.png
Views: 32
Size: 26.5 KB
ID: 180689
    Menu eye candy - resolutions, colors, background images.
    • custom resolution
    • menu colors
    • background image
  • Advanced
    Click image for larger version

Name: Grub.Customizer.settings.Appearance.png
Views: 32
Size: 26.5 KB
ID: 180689
    Selection of options normally found in the /etc/default/grub file. The user can enable/disable individual items and can modify the existing entries by double-clicking the 'value' column and entering the desired value.
    • The only items listed in this section are those which currently exist in /etc/default/grub. The user can enable items displayed here, but cannot add items which do not already exist in the file.
    • Ticked items are included in the Grub 2 configuration file.
    • Unticked items will not be included in the Grub 2 configuration file. Unticking an entry places a # (comment) symbol at the start of the line in /etc/default/grub


6. Returning to Grub 2 Defaults

Daniel Richter describes how to revert to the normal files in his Grub Customizer FAQ.
Note: Original files which Grub Customizer will modify are moved to the /etc/grub.d/proxifiedScripts folder, with the leading numeric designation removed.

7. Links 

Launchpad Grub-Customizer
Daniel Richter's Grub Customizer FAQ
Grub 2 (help.ubuntu.com)
Grub 2: Introduction
Grub 2: Title Tweaks
Grub 2: 5 Common Tasks
GNU Grub 2 Manual/Wiki

0 comments:

Click Here!

Post a Comment