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
> -----Original Message----- > From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On > Behalf Of John Hinton > Sent: Tuesday, April 19, 2005 5:27 PM > To: CentOS at caosity.org > 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 consolein> 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.. stripedvertically..> 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 aderned> monitor. Shew!!Edit /etc/inittab. Change your default runlevel from X11 to Full multiuser mode. (5 to 3). -- Marc
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 HintonRemove "rhgb" from kernel boot parameter line in grub.conf. Alexader P.S. You should rethink the way you express yourself. Whom do you blame? -- Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773 legal statement: http://www.uni-x.org/legal.html Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.14_FC2smp Serendipity 00:32:00 up 7 days, 21:12, load average: 0.20, 0.27, 0.26 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Dies ist ein digital signierter Nachrichtenteil URL: <http://lists.centos.org/pipermail/centos/attachments/20050420/ef1b7384/attachment-0001.sig>
----- Original Message ----- From: "John Hinton" <webmaster at 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 at 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 -- Aleksandar Milivojevic <amilivojevic at pbl.ca> Pollard Banknote Limited Systems Administrator 1499 Buffalo Place Tel: (204) 474-2323 ext 276 Winnipeg, MB R3T 1L7