On 23 March 2013 11:30, <[email protected]> wrote:
> Send lfs-support mailing list submissions to > [email protected] > > 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 > [email protected] > > You can reach the person managing the list at > [email protected] > > 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 <[email protected]> > Subject: Re: [lfs-support] cannot execute /bin/bash : No such file or > Directory exists > To: LFS Support List <[email protected]> > Message-ID: <20130322195319.GA988@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/[email protected]/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
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
