Done, Thanks.
________________________________
From: Andrew Benton <[email protected]>
To: [email protected]
Cc: gmspro <[email protected]>; LFS Support List
<[email protected]>
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 <[email protected]> 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
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page