LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-31-2013, 07:57 AM   #1
ceantuco
Member
 
Registered: Mar 2008
Location: New York
Distribution: Debian
Posts: 809

Rep: Reputation: 88
Question CentOS 6.5 booting


Hi guys,

I have a quick question. How do I configure CentOS so while booting it shows boot steps instead of the CentOS logo? When the CentOS logo comes up I hit the up arrow key and it shows me what's loading. I want this to happen automatically without having to press the up arrow key.
I tried googling this but the only thing that comes up is how to modify the boot loader.

thank you and happy new year!!!
 
Old 12-31-2013, 08:46 AM   #2
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
edit: I hope whoever knows more of this answer will still post, despite my attempt at answering. I just checked one of my Centos6.5 systems and the kernel command line change only got rid of the initial switch from text to splash screen. It switches to a splash screen anyway at some point later (but still before X starts), when I would prefer to stay in text.

It would be easier to answer with specifics, if you post your kernel line from the file
/boot/grub/grub.conf

To get most of the behavior you want in my Centos 6.5, I removed a couple items from that line. But at the moment I don't recall what they were.

You might google search each of the parameters given on that line and decide which you don't want. One I didn't want was quiet, but I think that controls how much info is there, rather than whether it is hidden by a splash screen.

I also added vga=ask to that line so that on next boot it would let me see a list of VESA display resolutions in my display card. I picked a decent resolution for my monitor (because that determines the Linux console resolution) and on next boot changed the ask to 0x307 (I think) the one I had selected from the list provided by ask.

BTW, on both systems where I installed Centos 6.5 it installed legacy grub, not the current more common grub. I have been told that Centos 6.5 defaults to the newer grub. If that is correct, I don't know why it gave me legacy grub. For your topic, if you have the newer grub you are not supposed to directly edit grub.conf. Instead you are supposed to edit the files it is derived from and then rerun the program that sets it up. If you have legacy grub installed, directly editing grub.conf is correct.

Last edited by johnsfine; 12-31-2013 at 11:00 AM.
 
Old 12-31-2013, 09:18 AM   #3
ceantuco
Member
 
Registered: Mar 2008
Location: New York
Distribution: Debian
Posts: 809

Original Poster
Rep: Reputation: 88
Thanks for your response. I will post /boot/grub/grub.conf as soon as I get a chance. Also, I will google each line.

Thank you
 
Old 12-31-2013, 09:35 AM   #4
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by ceantuco View Post
I will google each line.
It is individual parameters on the kernel line that matter for this question, not other lines in the file.
 
Old 12-31-2013, 12:32 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,635

Rep: Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652
remove this from the boot line in the grub.conf
"rhgb quiet"

BUT !!!
when a kernel is updated you will have to re remove "rhgb quiet" from the boot line
UNLESS you edit the config file that is used TO MAKE the /boot/gurb/grub.conf


and that is /etc/grub.conf
MAKE A BACK UP BEFORE EDITING THIS FILE !!!!!!!!!!!!!!!!!!!!!
 
Old 12-31-2013, 12:46 PM   #6
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by John VV View Post
remove this from the boot line in the grub.conf
"rhgb quiet"
When I did that, on one of my Centos 6.5 systems it just delayed the start of the splash screen. The splash screen still started long before X started and the splash screen covered console output I prefer to see.

So I think somewhere early in the sequence of init 5 scripts something else turns on the splash screen if it wasn't already on from boot. I might have even fixed that already in my other Centos 6.5 but forgot what I fixed. I'm not sure (the startup on the one that might have that fixed is ripped up at the moment as I experiment to improve some display issues).

Quote:
UNLESS you edit the config file that is used TO MAKE the /boot/gurb/grub.conf

and that is /etc/grub.conf
As mentioned earlier in this thread, the Centos 6.5 installer installed legacy grub on my systems not the current grub. I don't know which the OP has.
In legacy grub, /etc/grub.conf is just a symlink to /boot/grub/grub.conf. It is not the config file used to make /boot/gurb/grub.conf

In legacy grub, I don't know a way to avoid needing to re edit the kernel line in grub.conf after each update of the kernel.

Last edited by johnsfine; 12-31-2013 at 12:56 PM.
 
Old 12-31-2013, 02:54 PM   #7
Madhu Desai
Member
 
Registered: Mar 2013
Distribution: Rocky, Fedora, Ubuntu
Posts: 541

Rep: Reputation: 153Reputation: 153
Quote:
Originally Posted by ceantuco View Post
How do I configure CentOS so while booting it shows boot steps instead of the CentOS logo? When the CentOS logo comes up I hit the up arrow key and it shows me what's loading. I want this to happen automatically without having to press the up arrow key.
You can just remove rhgb from kernel parameter in /boot/grub/grub.conf file. Its same as you press up-arrow or escape key while booting. Removing also quiet shows a-lot of messages, which i feel is too much information and kinda unnecessary.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] CentOS not booting from LiveCD Sirnot1 Linux - Newbie 19 06-25-2011 11:24 PM
centos is not booting mcs_o8_01 Linux - Newbie 1 08-19-2010 12:26 AM
Booting Centos 5.4 Issue: "CentOS CD Not found in any of the media drives. Please i g.navink Red Hat 1 04-07-2010 04:12 PM
Booting problem with Centos SBN Linux - General 1 05-08-2007 03:49 AM
CentOS Booting issue praveen_repelle Linux - Distributions 2 02-03-2007 02:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration