LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 04-05-2006, 03:18 PM   #1
livewire98801
Member
 
Registered: Jun 2004
Location: Seattle, WA
Distribution: Fedora 3/5, Mdk 10, FlavorOfTheWeek
Posts: 77

Rep: Reputation: 15
rhgb options and Grub


Okay, this is purely cosmetic, and shouldn't really matter, but it's driving me mad. I'm using Fedora Core 5 on my notebook, and defaulting to runlevel 5. Everything works great, but I want to see the details as I boot.

I want to use rhgb because it looks good, I just want to see the details without having to click on 'show details'. I've searched high and low on Google, and found the same question, but can't seem to find the answer, everyone just gives up and quits using rhgb.

This must be a simple option. I noticed in grub/menu.lst that the default is "rhgb quiet", implying that there is an option besides 'quiet', but I can't find any documentation that might tell me what it is.

Does anyone have any information on the options for rhgb in grub, or can point me in the right direction?

Thanks much,

Tim

 
Old 04-05-2006, 04:23 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,154

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
You can "experiment" with the GRUB settings by using the "e" option when the boot menu is displayed. Changes made at that point are only made in memory, not in your grub.conf file.

As to the "quiet" option, the other option is to just remove it.

You can also change settings in /etc/rc.d/rc.sysinit to get more output, and in the service startup files in /etc/init.d.

And, if you want lots of detail, you can change the /init script (written in nash) loaded into the initial ram disk (by the initrd load parameter) to display a lot of messages.

Personally, I find very little of interest in the verbose output, and would not even look at it unless I had a problem, and I couldn't find the error reported in the logs. But the choice is yours to make.

A suggestion: If you do modify the rc.sysinit and/or the init.d scripts, do it so that any additional output goes to a log file you can review later. Trying to read it on the screen is problematic, even using the flow control keys.
 
Old 04-05-2006, 06:30 PM   #3
livewire98801
Member
 
Registered: Jun 2004
Location: Seattle, WA
Distribution: Fedora 3/5, Mdk 10, FlavorOfTheWeek
Posts: 77

Original Poster
Rep: Reputation: 15
Meh, editing the grub.conf file means I can keep track of what I've done, and these changes don't seem to put me in any danger of breaking anything, they just don't seem to accomplish anything either :-/ and since I have to reboot to see what happens anyway. . .

Removing the "quiet" seems to have no effect whatsoever. It still requires me to click on details (I already did this).

I looked in rc.sysinit, and it scared me, lol. I can only see two references to rhgb that doesn't seem to be a selinux command (wonder why selinux cares about rhgb. . .):

Code:
# Start the graphical boot, if necessary; /usr may not be mounted yet, so we
# may have to do this again after mounting
RHGB_STARTED=0
mount -n /dev/pts >/dev/null 2>&1
[ -n "$SELINUX_STATE" ] && restorecon /dev/pts >/dev/null 2>&1

if strstr "$cmdline" rhgb && ! strstr "$cmdline" early-login && [ "$BOOTUP" = "color" -a "$GRAPHICAL" = "yes" -a -x /usr/bin/rhgb ]; then
   LC_MESSAGES= /usr/bin/rhgb
   RHGB_STARTED=1
fi
and:

Code:
# Start the graphical boot, if necessary and not done yet.
if strstr "$cmdline" rhgb && ! strstr "$cmdline" early-login && [ "$RHGB_STARTED" -eq 0 -a "$BOOTUP" $   LC_MESSAGES= /usr/bin/rhgb
   RHGB_STARTED=1
fi
I'm not sure how to tell these sections to show details. To clarify, I'm not trying to change the level of detail, but just see the messages at boot that would normally show up if one was booting into runlevel 3.

I guess this isn't 100% cosmetic, but more like 90%. Occasionally, I have noticed errors in this output that weren't immediatley apparent when the system was running, letting me get a jump on fixing it. Still, it's pretty minor, but still bugging the hell out of me.

Thanks for looking into it for me, I was afraid that this message would fade into oblivion, lol.

Tim

Last edited by livewire98801; 04-05-2006 at 06:49 PM.
 
Old 04-05-2006, 11:46 PM   #4
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 48
Quote:
Originally Posted by livewire98801
Okay, this is purely cosmetic, and shouldn't really matter, but it's driving me mad. I'm using Fedora Core 5 on my notebook, and defaulting to runlevel 5. Everything works great, but I want to see the details as I boot.

I want to use rhgb because it looks good, I just want to see the details without having to click on 'show details'. I've searched high and low on Google, and found the same question, but can't seem to find the answer, everyone just gives up and quits using rhgb.

This must be a simple option. I noticed in grub/menu.lst that the default is "rhgb quiet", implying that there is an option besides 'quiet', but I can't find any documentation that might tell me what it is.

Does anyone have any information on the options for rhgb in grub, or can point me in the right direction?

Thanks much,

Tim

"rhgb" and "quiet" are separate kernel options that have nothing to do with each other. "rhgb" is for the graphical boot thing after the kernel loads, and "quiet" is for the kernel to not print out messages (you will notice that if you remove "quiet" that lots of stuff will scroll by when the kernel loads); this affects stuff way before where RHGB loads.
 
1 members found this post helpful.
Old 04-05-2006, 11:55 PM   #5
livewire98801
Member
 
Registered: Jun 2004
Location: Seattle, WA
Distribution: Fedora 3/5, Mdk 10, FlavorOfTheWeek
Posts: 77

Original Poster
Rep: Reputation: 15
Hmm. . . so what did I do when I removed "quiet"?
 
Old 04-06-2006, 12:08 AM   #6
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 48
Quote:
Originally Posted by livewire98801
Hmm. . . so what did I do when I removed "quiet"?
You know all that text that comes up before RHGB loads? You made it print a lot more of those.
 
Old 04-06-2006, 01:10 AM   #7
livewire98801
Member
 
Registered: Jun 2004
Location: Seattle, WA
Distribution: Fedora 3/5, Mdk 10, FlavorOfTheWeek
Posts: 77

Original Poster
Rep: Reputation: 15
Aha! Thought something looked different, but couldn't place it. Thanks.

Still doesn't get me closer to figuing out my details problem tho. . . wonder who at redhat knows, think it would be fesable to ask them?
 
  


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
GRUB boot options. enyawix Linux - Software 2 12-08-2004 02:49 PM
Grub Options for different IP configurations AlbaWolf Linux - Networking 2 10-07-2004 02:01 PM
GRUB options Rizla Fedora - Installation 1 03-23-2004 03:19 PM
Booting Options with lilo or grub RancidWannaRiot Mandriva 2 12-05-2003 10:37 AM
RH 8.0 Grub bootloader options VioLaToR Linux - Distributions 1 11-21-2002 05:32 PM


All times are GMT -5. The time now is 08:50 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration