cannot find bash?

2009-08-23 Thread 黄剑
when i finished building LFS and want to login as root, it promted
following:

Last login 

 No mail.

 Cannot execute /bin/bash : No such file or directory

then the screen stopped at login.

what's the proble? May i have your help?

thanks a lot!!
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: cannot find bash?

2009-08-23 Thread 黄剑
but there does exists /bin/bash and sh. Is there any config files bash need
to?

i have reinstalled bash-3.2, but no use either.

On Sun, Aug 23, 2009 at 14:44, Justin P. Mattock justinmatt...@gmail.comwrote:

 黄剑 wrote:
 
  when i finished building LFS and want to login as root, it promted
  following:
 
  Last login 
 
  No mail.
 
  Cannot execute /bin/bash : No such file or directory
 
  then the screen stopped at login.
 
  what's the proble? May i have your help?
 
  thanks a lot!!
 
 Not sure what tutorial your using,
 but in 6.28.2 at the bottom
 it says there's a symlink to the bash program.
 maybe this didn't get created, or something
 went wrong during your build.
 try creating the symlink and see if this works.


 Justin P. Mattock



 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: cannot find bash?

2009-08-23 Thread Justin P. Mattock
hmmm.
maybe /etc/grouppasswd isn't correct.
normal this type of error, from what I've experienced
is from not having the symlink.
(other than that not sure).

Justin P. Mattock
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: bash build error 5.15

2009-08-23 Thread Ken Moffat
2009/8/23 Bruce Dubbs bruce.du...@gmail.com:
 Ken Moffat wrote:

 I can't point you to the correct page for 6.4 because
 yet again we don't have it in the museum,

 Ken,
   http://www.linuxfromscratch.org/lfs/view/6.4/
   http://www.linuxfromscratch.org/lfs/downloads/6.4/

 But I updated the museum too.

   -- Bruce

Many thanks.

ĸen
-- 
After tragedy, and farce, OMG poneys!
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: cannot find bash?

2009-08-23 Thread Ken Moffat
2009/8/23 黄剑 hj1...@gmail.com:

 when i finished building LFS and want to login as root, it promted
 following:

 Last login 

  No mail.

  Cannot execute /bin/bash : No such file or directory

 then the screen stopped at login.

 what's the proble? May i have your help?

 thanks a lot!!


 Go back into the host system, mount the new system at /mnt/lfs,
then run 'ldd /mnt/lfs/bin/bash' to find out what libraries it is using.

 I wonder if you somehow failed to install bash in chapter6 ?

ĸen
-- 
After tragedy, and farce, OMG poneys!
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: bash build error 5.15

2009-08-23 Thread Ken Moffat
2009/8/23  justinsolar...@gmail.com:

 by reinstalling i mean removing the old directory, unpacking reconfiguring
 and trying to make again

 OK, that was the right thing to do.  To me, reinstall implies that you
repeated the install of something where imake install had already
*succeeded*, or where it already existed on the host system, so I
misunderstood.

 the weird thing is i do have bison on the host system, but it did not
 recognize it for some reason after removing and reinstalling the package it
 compiled fine
 who knows it might have been a broken package on the host system

 thanks for pointing me in the right direction it seems to have fixed the
 issue

 Glad it's working now.  In the future, if you think a tarball is corrupt,
it's easier (and usually quicker) to use 'md5sum' to check if it matches
the expected value in section 3.2 Packages and patches than to repeat
the download.

ĸen
-- 
After tragedy, and farce, OMG poneys!
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page