How to Edit GRUB in Kubuntu the Easy Way

15 Dec 2008
Posted by Harlem

Listen, if you dual boot then you then you know how to edit your Grub menu.  Probably through a series of command line commands and then carefully editting the menu.lst that is buried in the /boot/grub/ directory of you filesystem.  Then it is just another large leap to figure out what you can edit and then proceding to do it.  Of course, if you have done it once it is easy enough to do it again because repitition is the key to understanding or so I am told.  It doesn't hurt to learn how to use the command line especially if you are wanting to know your Ubuntu Linux system.  Let's face it, there is nothing more powerful, convenient, speedy way to do something in Linux than the command line.  But, if you are new, unsure, or unfamiliar with the commands the whole process can be pretty nerve racking.  I have just recently switched to Kubuntu and by switched I mean I installed Ubuntu Ibex in a separate partition on my laptop that is also running Vista.  Then installed Kubuntu using the command line command:

apt-get install kubuntu-desktop

You can also do the same thing using synaptic by searching for the kubuntu-desktop and applying the install.  My decision to switch was promted by the release of KDE 4 which like so far.  Although, I can switch back to the Gnome desktop at every bootup if I chose to since I have both desktop environments installed.
 
So, back to the whole GRUB issue, I dual boot Vista and (K)Ubuntu on my laptop.  But, now the computer boots up to the default installation through GRUB, which just happens to be the (K)Ubuntu partition.  This is just fine for me, I mostly use (K)Ubuntu anyways so I am not out of luck.  And, if I occasionally want to boot into Vista to use a specific program then its as easy as using the up or down arrow keys on the keyboard to choose which operating system I want to boot into - piece of cake.  However, if you would like to boot into Vista and make that the default boot option then you must learn to edit your GRUB menu - easy enough, just a few command line commands and a text editor and you are on your way.  You can even follow along with this tutorial from howtoforge.com or here at the grumpymole site. 
Now, if you are using (K)Ubuntu, then there is an even easier way. First go into the KDE menu and select

system>system settings



 
Once the system settings window is opened you will notice it has two tabs beneath the menus, just click on the advanced tab and proced to click on the icon labeled GRUB Editor.

 The first screen you will encounter is the "Entry" screen and all you have to do is choose which operating system (OS) you want as the default OS by clicking on the radio button on the right hand side of the window and the next time you boot up the default OS you chose will be the one to boot up, in this case it will be Vista as indicated by the darkened radio button.
 
And as always with linux, you can change a number of things on the GRUB menu like the colors, or splash page.  There is also another tab with various other functions aptly named "tools" and this give you the abilty to backup/restore a GRUB menu among other things, but that is for a different tutorial. 

 
For now, I would just stick with changing the boot order and maybe changing the color of the menu and leave everything else well enough alone.  Oh, and by the way, if you should happen to switch back to the Gnome desktop environment the changes will stick in Ubuntu too.  Don't forget to rate this tutorial below. Cheers.

 
 
 

Poll

Should Debian include Mono in GNOME by default: