Friday 14 April 2017

How to display of boot messages in centOS6



A boot message shows us details information of booting OS, which helps us to get an idea about system activities prior login to machine. Prior to CentOS6 boot messages are by default displayed and provide us important information of booting OS. But in CentOS6 boot messages are by default.
Today we are working on CentOS6.3 machine, on this machine boot messages are not displaying by default.

But with some minor changes in /etc/grub.conf file, we can have these boot messages back during booting of machine.



All we have to do is just delete “rhgb quite”, which is mentioned at the end of main kernel line
After editing or deleting “rhgb quite”, File should look like this.


[root@QTS ~]# grep -v ^# /etc/grub.conf
default=0
timeout=5

splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-279.el6.x86_64)
        root (hd0,0)
        kernel /vmlinuz-2.6.32-279.el6.x86_64 ro root=/dev/mapper/vg_srv30-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_LVM_LV=vg_srv30/lv_root rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rd_LVM_LV=vg_srv30/lv_swap
        initrd /initramfs-2.6.32-279.el6.x86_64.img
Now reboot your machine, you will able to display all boot messages like pervious Linux machines.


No comments: