[lfs-support] Can't login after kernel loading, some configuration problem with kernel loading

Andrew Benton andy at benton.eu.com
Wed Apr 4 02:43:54 PDT 2012

On Wed, 04 Apr 2012 04:55:06 +0100
gmspro <gmspro at yahoo.com> wrote:

> >From /etc/initab
> id:2:initdefault:
> It was id:1:initdefault: before ,
> Now i get the login prompt , i typed root and the password, that doesn't login successfully, it prompts me to login again and again, may be some problem setting root password.
> I also get this after doing 'chroot "$LFS" /usr/bin/env -i HOME=/root TERM="$TERM" PS1='\u:\w\$ ' PATH=/bin:/usr/bin:/sbin:/usr/sbin /bin/bash --login'
> root:/etc/sysconfig# 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.
> root:/etc/sysconfig#
> Can't set password ^

If you want to set the password you need to bind mount /dev before you


More information about the lfs-support mailing list