You are not logged in.

#1 2009-10-21 19:59:00

NeoXP
Member
From: MS Matrix
Registered: 2009-01-09
Posts: 206
Website

[SOLVED] Boot to runlevel 5 is no problem, can't boot into runlevel 3.

As the title says, I can boot into X11. But when I want to boot to the commandline (runlevel 3) the bootproces stops after loading the daemons from rc.conf.

Also, when I log out from X/OpenBox (and expect to enter runlevel 3), I get into the same situation as when I try to boot into runlevel 3 directly.

My inittab:

#
# /etc/inittab
#

#  Runlevels:
#    0    Halt
#    1(S)    Single-user
#    2    Not used
#    3    Multi-user
#    4    Not used
#    5    X11
#    6    Reboot

## Only one of the following two lines can be uncommented!
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault:

rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p

# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 38400 vc/1 linux
c2:2345:respawn:/sbin/agetty -8 38400 vc/2 linux
c3:2345:respawn:/sbin/agetty -8 38400 vc/3 linux
c4:2345:respawn:/sbin/agetty -8 38400 vc/4 linux
c5:2345:respawn:/sbin/agetty -8 38400 vc/5 linux
c6:2345:respawn:/sbin/agetty -8 38400 vc/6 linux

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >& /dev/null
x:5:once:/bin/su enne -l -c "/bin/bash --login -c startx >/dev/null 2>&1"

# End of file

Last edited by NeoXP (2009-10-22 17:40:00)


Arch x86_64 on HP 6820s and on HP nx9420. Registered Linux User 350155, since 24-03-2004
"Everyone said that it could not be done, until someone came along who didn't know that."

Offline

#2 2009-10-21 20:16:33

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: [SOLVED] Boot to runlevel 5 is no problem, can't boot into runlevel 3.

Can you run ps -ef when you are in runlevel 5 and see if the agetty processes are running?


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#3 2009-10-21 21:42:52

NeoXP
Member
From: MS Matrix
Registered: 2009-01-09
Posts: 206
Website

Re: [SOLVED] Boot to runlevel 5 is no problem, can't boot into runlevel 3.

grey wrote:

Can you run ps -ef when you are in runlevel 5 and see if the agetty processes are running?

┌─[~]
└─> ps -ef | grep agetty
root      5429     1  0 23:41 ?        00:00:00 /sbin/agetty -8 38400 vc/1 linux
root      5430     1  0 23:41 ?        00:00:00 /sbin/agetty -8 38400 vc/2 linux
root      5431     1  0 23:41 ?        00:00:00 /sbin/agetty -8 38400 vc/3 linux
root      5432     1  0 23:41 ?        00:00:00 /sbin/agetty -8 38400 vc/4 linux
root      5433     1  0 23:41 ?        00:00:00 /sbin/agetty -8 38400 vc/5 linux
root      5442     1  0 23:41 ?        00:00:00 /sbin/agetty -8 38400 vc/6 linux
enne      5470  5300  0 23:41 pts/1    00:00:00 grep agetty

Looks like it is running.

Edit: after a reboot it shows this:

┌─[~]
└─> ps -ef | grep agetty
enne      8675  8625  0 23:55 pts/1    00:00:00 grep agetty

Last edited by NeoXP (2009-10-21 21:55:55)


Arch x86_64 on HP 6820s and on HP nx9420. Registered Linux User 350155, since 24-03-2004
"Everyone said that it could not be done, until someone came along who didn't know that."

Offline

#4 2009-10-22 09:27:14

blasse
Member
From: Poland
Registered: 2008-04-24
Posts: 303

Re: [SOLVED] Boot to runlevel 5 is no problem, can't boot into runlevel 3.

You have not updated your inittab, this may be the problem.
http://www.archlinux.org/news/454/


Proud ex-maintainer of firefox-pgo

Offline

#5 2009-10-22 17:38:32

NeoXP
Member
From: MS Matrix
Registered: 2009-01-09
Posts: 206
Website

Re: [SOLVED] Boot to runlevel 5 is no problem, can't boot into runlevel 3.

blasse wrote:

You have not updated your inittab, this may be the problem.
http://www.archlinux.org/news/454/

Thxs blasse, problem solved.


Arch x86_64 on HP 6820s and on HP nx9420. Registered Linux User 350155, since 24-03-2004
"Everyone said that it could not be done, until someone came along who didn't know that."

Offline

Board footer

Powered by FluxBB