How to change the boot messages in Ubuntu Linux Grub Boot loader

When you install Linux, such as Ubuntu on a machine with preinstalled operating system, you will have an option to install and boot Linux alongside other operating systems such as another Linux distribution or Windows installation. But when you start your computer, you will be presented with a startup dialog box, and its annoying to see the extremely long operating system description and the memory test options which for me is not so important nowadays. To customize your boot messages, it only takes one configuration file and you’re off to go to a cleaner boot menu.

How to customize the Grub startup menu?

1. You will need to use the terminal for this step. It is usually found at “Applications” > “Accessories” > “Terminal”.
2. Youll need an administrator privilege to modify system-level options. If youre not logged in as root, you can try the command with “sudo”.

sudo gedit /boot/grub/grub.cfg

3. The Gedit text editor will pop up with the boot configuration file. You can then inspect the contents and edit the descriptions accordingly. You can also omit other boot selection by putting hashkey “#” as a remark.

Example 1. Changed the menuentry into “Ubuntu 10.10”

menuentry ‘Ubuntu 10.10’ –class ubuntu –class gnu-linux –class gnu –class os {

Example 2. Other boot block commented out

###menuentry "Memory test (memtest86+, serial console 115200)" {
### insmod part_msdos
### insmod ext2
### set root='(hd0,msdos5)’
### search –no-floppy –fs-uuid –set 1c58352f-0d87-4b1c-9b54-334ea559e106
### linux16 /boot/memtest86+.bin console=ttyS0,115200n8
### END /etc/grub.d/20_memtest86+ ###

4. Save and restart!

Note: This is just a simple tutorial on how to edit the boot descriptions only. I am not responsible for errors if you edit other commands on the configuration file.

Leave a Reply

Your email address will not be published. Required fields are marked *