Click to See Complete Forum and Search --> : quick and easy LILO question


nathaniel
05-02-2001, 01:01 AM
I need to get linux to run the command linux 4. Meaning I want to have linux go into the runtime level for 4. how would I do this I tried doing linux 4 as the label and it craps. Do I need to add something to the boot options?

thanx for any info
NB

figures I got it boot option= 4 runtime 4 :-)

[ 02 May 2001: Message edited by: nathaniel ]

Baron Flambe
05-02-2001, 02:10 AM
There are two ways of doing this, either you can boot your system normally then log in as root on a virtual console and do init 4 which will change to run level 4 but only until you reboot / shutdown. If you want this to be your default run level, you need to edit /etc/inittab and look for a line like this:
id:3:initdefault:
this sets your default runlevel. Just change the 3 to a 4!

Rastar
05-02-2001, 10:30 AM
Could someone please tell me what runlevel 4 is and why yur at it could you tell me the others too.
Or is there a NHF for RH that explains them?

Ras :D

Molecule Man
05-02-2001, 11:27 AM
Runlevels depend on distro.

for RH:
1 is single user, no networking, (effectively root with no login)
2 is single user networking (may not be defined)
3 is networked computer, no X
4 is same as 3 or 5 but left open for special user definition
5 is networked with X

6 is shut down
0 is reboot (I might have these last two switched)