Red Hat Bugzilla – Bug 108692
Graphical boot disabled after updating rhgb and kernel
Last modified: 2013-04-02 00:18:42 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.4.1) Gecko/20031027
Description of problem:
Installed Severn 0.94 and graphical boot was working. Used up2date and upgraded
rhgb and the kernel. Thereafter system only boots in text mode.
/etc/sysconfig/init has "BOOTUP=color" and "GRAPHICAL=yes".
/etc/rc.d/rc.sysinit contains the following code to start rhgb
if fgrep rhgb /proc/cmdline > /dev/null 2>&1 && [ "$BOOTUP" = "color" -a
"$GRAPHICAL" = "yes" -a -x /usr/bin/rhgb ]; then
I modified /etc/rc.d/rc.sysinit to echo the values of BOOTUP, GRAPHICAL, and
RHGB_STARTED. During boot BOOTUP and GRAPHICAL have the proper values; however,
RHGB_STARTED remains set at 0 after the rhgb if-block. /proc/cmdline does not
contain the string "rhgb". So the if-block will always fail.
I have reviewed the release notes regarding graphical boot but there is nothing
about having to add "rhgb" to GRUB. Why is "fgrep rhgb /proc/cmdline >
/dev/null 2>&1" required?
Version-Release number of selected component (if applicable):
Expected Results: Graphical boot should start if /etc/sysconfig/init contains
the strings "BOOTUP=color" and "GRAPHICAL=yes".
Adding "rhgb" as a kernel parameter in /boot/grub/menu.lst fixes the
problem. The modified section of menu.lst for my system is shown below:
title Fedora Core (2.4.22-1.2115.nptl)
kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/
Somewhere in rpm-land the scripts are not updating the various files
correctly. Additionally, the release notes do not mention that "rhgb"
needs to be added as a kernel parameter in menu.lst.
Anaconda adds that to the grub line.
Anaconda is not installed on my system. Therefore anaconda could not
have removed "rhgb" from the grub line. If anaconda is the vehicle
for setting this string then something subtracted "rhgb" from
grub.conf (aka menu.lst). Either the rpm script for rhgb or the
kernel stripped the string out. In either case its a bug. Usage of
up2date should not disable rhgb. I think the script writers for the
kernel and rhgb rpms should get together and figure this out.
anaconda is the installer, and it's supposed to add it to the grub
line. The release notes do mention that you explicitly need 'rhgb'
in the boot line in order for it to boot graphically.