Re: Kernel bootup

From: Lee Willis (lee@gbdirect.co.uk)
Date: Tue Mar 07 2000 - 04:19:39 EST


Android <android@abac.com> writes:

> I realize this question must get asked alot, but I need to know the answer.
> How can I boot up Linux wihout the kernel switching to graphics mode?
> I never did this is 2.0.x kernals. Do I need to recompile it with special
> settings?
> Maybe I can use an option with loadlin? Any help would be appreciated. Thanks.

Can you clarify the situation here ... how did you change kernels? Is
this an upgrade from say Redhat 5.2 to Redhat 6.0 or similar. If so then
I'd suggest that this has nothing to do with the kernel, but is a
run-level issue. When your distribution starts it first of all loads the
kernel, checks devices/memory etc. and then starts something called init
which can take you system into one of a set of "runlevels". Generally
runlevel 1 is "single user mode", runlevel 2 (or 3) is multi-user
without graphics (Or more properly without "X") ie you get a text based
login, and run level 4 or 5 is a graphical login which I think you may
be referring to. If this is the case then it is your system which has
changed not the kernels, to fix this edit the line in /etc/inittab to
change from:

id:5:initdefault:

to:

id:3:initdefault:

Note: These values are correct for a Redhat Linux system. Other systems
should have a description of each runlevel in the file /etc/inittab,
adjust accordingly. If this isn't your problem then apologies for being
patronising, but you didn't explain things too well ...

HTH
Lee

-- 
Technical Developer
GBdirect Ltd, 27 Park Drive, Heaton, Bradford, UK, BD9 4DS
Tel: +44 (0)1274 772277

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:22 EST