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

gmspro gmspro at yahoo.com
Wed Apr 4 05:02:05 PDT 2012



Done, Thanks.


________________________________
 From: Andrew Benton <andy at benton.eu.com>
To: lfs-support at linuxfromscratch.org 
Cc: gmspro <gmspro at yahoo.com>; LFS Support List <lfs-support at linuxfromscratch.org> 
Sent: Wednesday, April 4, 2012 12:43 AM
Subject: Re: [lfs-support] Can't login after kernel loading, some configuration problem with kernel loading
 
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
chroot.

Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20120404/60aabbf6/attachment.html>


More information about the lfs-support mailing list