You are not logged in.

#1 2008-01-13 20:49:06

hungsonbk
Member
Registered: 2007-05-26
Posts: 105
Website

Can't login shell [SOLVED]

I have just installed Arch from FTP sites, everything was fine but when i reboot my PC and login as root in bash shell, after typing the password, it hangs and i can't get into the command line. I think there is a problem in the inittab file, with agetty, but can't fix it. Any Idea??

Last edited by hungsonbk (2008-01-13 22:15:46)

Offline

#2 2008-01-13 21:48:11

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

Re: Can't login shell [SOLVED]

You could boot from the install disc, mount your Arch install partition(s) and read the inittab to see if it looks right.

Offline

#3 2008-01-13 21:59:44

hungsonbk
Member
Registered: 2007-05-26
Posts: 105
Website

Re: Can't login shell [SOLVED]

I think my inittab is fine because this is a fresh installation. When I chroot into New installed Linux, I issued the command "su -" and it also hangs there. I am thinking about install my Linux again

## 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:/opt/kde/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >& /dev/null

Offline

#4 2008-01-13 22:25:32

hungsonbk
Member
Registered: 2007-05-26
Posts: 105
Website

Re: Can't login shell [SOLVED]

When I Installed, I modified the rc.conf file with "LOCALE="vi_VN.TCVN", I also modified the /etc/locale.gen file to use my vietnamese language instead of the default english, by default the vietnamese font is not installed so that i can't login bash shell

Cheers.

Offline

Board footer

Powered by FluxBB