GRUB default, how to change?

Bruce Pieterse octoquadza at gmail.com
Tue Oct 18 20:40:10 UTC 2011


On Tue 18 Oct 2011 13:40:37 SAST, PM wrote:
> I don't know would there be any harm in installing grub customizer 
> from launchpad after adding PPA? As it says that PPA addition could 
> not be a trusted one as it is not from the Ubuntu repositories. It 
> depicts as follows:
>
> "*Important:* The contents of Personal Package Archives are not 
> checked or monitored. You install software from them at your own risk."
>
> https://launchpad.net/%7Edanielrichter2007/+archive/grub-customizer
>
> So should this be used?
>
>
>

Hi,

You can easily change it by running gksudo gedit /etc/default/grub and 
change GRUB_DEFAULT=0 to GRUB_DEFAULT=6. Below is how we got the entry 
number 6:

Ubuntu, with Linux 2.6.32-34-generic = 0
Ubuntu, with Linux 2.6.32-34 (recovery mode) = 1
Ubuntu, with Linux 2.6.32-33 = 2
Ubuntu, with Linux 2.6.32-33 (recovery mode) = 3
Memory test (memtest86+) = 4
Memory test (memtest86+,serial console 115200) = 5
Microsoft Windows XP Professional (on /dev/sbd1)  = 6

Save the file, open a terminal (or reuse the existing terminal) and run 
sudo update-grub and your done. If a new kernel is added or a older 
kernel gets removed, you will need to update /etc/default/grub again.
-- 
Best of luck,

Bruce




More information about the ubuntu-users mailing list