One of these days, RedHat might actually run me off!!!! AAAARGH!!!!
Can anyone tell me how to get CentOS 4 to simply boot to the console in text mode? If I wanted a stinkin' GUI I would have installed winders! Now, my KVM and 25 foot cord is just too long to send a GUI signal across the room and I'm missing 50% of the screen.. striped vertically.. at about 1/8th inch spacing. Not really good enough to see what I'm in nor what the crap I'm doing. I do see I guess an Xterm window.. so I guess I can issue commands.. or... maybe I'll have to drag over a derned monitor. Shew!!
Thanks, John Hinton
Am Mi, den 20.04.2005 schrieb John Hinton um 0:27:
One of these days, RedHat might actually run me off!!!! AAAARGH!!!!
Can anyone tell me how to get CentOS 4 to simply boot to the console in text mode? If I wanted a stinkin' GUI I would have installed winders!
John Hinton
Remove "rhgb" from kernel boot parameter line in grub.conf.
Alexader
P.S. You should rethink the way you express yourself. Whom do you blame?
----- Original Message ----- From: "John Hinton" webmaster@ew3d.com Sent: Tuesday, April 19, 2005 3:27 PM Subject: [CentOS] Rid me of this boot GUI
One of these days, RedHat might actually run me off!!!! AAAARGH!!!!
Can anyone tell me how to get CentOS 4 to simply boot to the console in text mode?
Same as on every other *nix system.... edit /etc/inittab and replace this:
id:5:initdefault:
with this:
id:3:initdefault:
Chris
Edit your /etc/inittab file and change your default runlevel to 3 from 5.
You can also just hit ctrl-alt-f1 to get to a text console.
jrw
John Hinton wrote:
One of these days, RedHat might actually run me off!!!! AAAARGH!!!!
Can anyone tell me how to get CentOS 4 to simply boot to the console in text mode? If I wanted a stinkin' GUI I would have installed winders! Now, my KVM and 25 foot cord is just too long to send a GUI signal across the room and I'm missing 50% of the screen.. striped vertically.. at about 1/8th inch spacing. Not really good enough to see what I'm in nor what the crap I'm doing. I do see I guess an Xterm window.. so I guess I can issue commands.. or... maybe I'll have to drag over a derned monitor. Shew!!
Thanks, John Hinton _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Alexander Dalloz wrote:
Am Mi, den 20.04.2005 schrieb John Hinton um 0:27:
One of these days, RedHat might actually run me off!!!! AAAARGH!!!!
Can anyone tell me how to get CentOS 4 to simply boot to the console in text mode? If I wanted a stinkin' GUI I would have installed winders!
John Hinton
Remove "rhgb" from kernel boot parameter line in grub.conf.
If using kickstart to install, and grub to boot, add something like this to %postinst to avoid frustration in the future.
There are some long lines that might be wrapped around by my mail reader, or your mail reader, so use a bit of common sense on what should be single line ;-)
%postinst #! /bin/sh
if [ -f /boot/grub/grub.conf ] then cp /boot/grub/grub.conf /boot/grub/grub.conf.dist sed -r 's/^([[:space:]]*kernel[[:space:]].*)[[:space:]]rhgb([[:space:]]?)/\1\2/' < grub.conf.dist > grub.conf fi
if [ -f /etc/lilo.conf ] then cp /etc/lilo.conf /etc/lilo.conf.dist sed -r -e 's/^([[:space:]]*append[[:space:]]*=[[:space:]]*"?.*)rhgb/\1/' -e 's/"[[:space:]]*/"/' -e 's/[[:space:]]*"/"/' < /etc/lilo.conf.dist > /etc/lilo.conf # does this file exist prior to posinst script? it should. should it? if grep -q '^bootloader.*useLilo' /root/anaconda-ks.cfg then /sbin/lilo fi fi
if grep -q '^id:5:initdefault:' /etc/inittab then cp /etc/inittab /etc/inittab.dist sed 's/^id:5:initdefault:/id:3:initdefault:/' < /etc/inittab.dist > /etc/inittab fi