[lfs-support] Can't login after kernel loading, some configuration problem with kernel loading
gmspro at yahoo.com
Tue Apr 3 21:55:58 PDT 2012
Removing /etc/console works, Now i can type all characters from keyboards.
But i still can't login, if i type root and password, it's not login successfully.
root:/# cat /etc/passwd
root:/# cat /etc/group
root:/# cat /etc/shadow
root:/# passwd root
Changing password for root
Enter the new password (minimum of 5 characters)
Please use a combination of upper and lower case letters and numbers.
Bad password: too short.
Warning: weak password (enter it again to use it anyway).
passwd: password changed.
Can't change root password.
What should i do?
From: Bruce Dubbs <bruce.dubbs at gmail.com>
To: gmspro <gmspro at yahoo.com>; LFS Support List <lfs-support at linuxfromscratch.org>
Sent: Tuesday, April 3, 2012 6:22 PM
Subject: Re: [lfs-support] Can't login after kernel loading, some configuration problem with kernel loading
> cat /var/log/boot.log
> Apr 04 02:01:00 +07:00 lfs Setting up Linux console... OK
> During boot at the last phase i see the first column is with some
> unreadable characters and in place of [ok] at the rightmost column
> also unreadable characters there.
> And at the last phase of the boot, i'm prompted to type root password
> to maintain or type CTRL+D to reboot or so. If is type CTRL+D nothing
> happens, it re-prompts me to type root password or CTRL+D.
You are getting through rcS.d ok, but somehow running sulogin when you shouldn't be. What are the contents of /etc/inittab?
> What should i do? Any hint to fix it? I think, there is some problem
> with configuration of keyboar characters or setup or some problem
> with other configuration for this chapter
What do you have in the file /etc/sysconfig/console?
I suggest just removing the file for now.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lfs-support