[lfs-support] lfs-support Digest, Vol 2825, Issue 1

Mohamad Audhil smdaudhilbe at gmail.com
Sat Mar 23 01:37:54 PDT 2013


On 23 March 2013 11:30, <lfs-support-request at linuxfromscratch.org> wrote:

> Send lfs-support mailing list submissions to
>         lfs-support at linuxfromscratch.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://linuxfromscratch.org/mailman/listinfo/lfs-support
> or, via email, send a message with subject or body 'help' to
>         lfs-support-request at linuxfromscratch.org
>
> You can reach the person managing the list at
>         lfs-support-owner at linuxfromscratch.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of lfs-support digest..."
>
>
> Today's Topics:
>
>    1. Re:  cannot execute /bin/bash : No such file or Directory
>       exists (Ken Moffat)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 22 Mar 2013 19:53:19 +0000
> From: Ken Moffat <zarniwhoop at ntlworld.com>
> Subject: Re: [lfs-support] cannot execute /bin/bash : No such file or
>         Directory exists
> To: LFS Support List <lfs-support at linuxfromscratch.org>
> Message-ID: <20130322195319.GA988 at milliways>
> Content-Type: text/plain; charset=utf-8
>
> On Fri, Mar 22, 2013 at 12:01:50PM +0530, Mohamad Audhil wrote:
> > Hi,
> >
> > For the first time I builded my own LFS, everything is fine but when I
> boot
> > my LFS, it prompts me to give user name and password.
> >
> > But after issuing user name and password, it throws some error like
> this...
> >
> >
> > Cannot execute /bin/bash : No such file or directory
> >
> > I saw this similar thread at
> >
> http://www.mail-archive.com/lfs-support@linuxfromscratch.org/msg05738.html
> >
> > I tried according to the link above, but all my efforts failed...
> >
> > Kindly suggest me a direction to get rid of this problem...
>
>  I assume that you did indeed install bash in chapter 6 ?  In that
> case, _at_least_ /bin/bash is linked to a library not in the new
> system (i.e. something in /tools).  From the host, mount /mnt/lfs
> and then run 'ldd /mnt/lfs/bin/bash'.  After that you probably want
> to look at compiled programs from other packages in case any of
> those other packages are linked to something in /tools.
>
>  If most packages are linked to /tools then your best bet is to
> start again (and check the steps for readjusting the toolchain).  If
> only a few packages (or only bash) are wrong, chroot /mnt/lfs and
> rebuild it/them.
>
> ?en
> --
> das eine Mal als Trag?die, das andere Mal als Farce
>
>
> ------------------------------
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
>
> End of lfs-support Digest, Vol 2825, Issue 1
> ********************************************
>

Hi, Friends

Atlast I found solution for my problem

I wrongly entered "root:x:0:0:root:/root:/bin/bash " instead of
"root:x:0:0:root:/root:/bin/bash" inside /etc/passwd of my LFS, that single
space made all this problem.....

I feel happy now...

My lfs works fine now...

-- 
thanks and regards,

Mohammed Audhil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20130323/f7954d71/attachment.html>


More information about the lfs-support mailing list