LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 06-09-2004, 02:50 PM   #1
mullog
Member
 
Registered: May 2004
Posts: 61

Rep: Reputation: 15
/bin/sh: bad interpreter


Hi,

After i did a frustated attemp to install bash in chapter 6(one of the partitions i made was too small), i tried to recompile, but found that now it was looking for the interpreter in /bin/sh instead of the interpreter in /tools/bin.

How do i return this to the normal value?
 
Old 06-09-2004, 03:30 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Which book are you following? I think there was a bug in in book 5, which didn't have the +h in the first chroot command. The last line of it should be

/tools/bin/bash --login +h

The +h stops the shell remembering where things are so it just searches the $PATH for the meaning of commands.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/usr/bin/env: bad interpreter: Permission denied Master Fox Linux - Software 8 02-09-2012 09:25 AM
/bin/sh: bad interpreter: Permission denied itsaso Linux - Newbie 6 05-18-2005 11:00 AM
Selinux, ./INSTALL: /bin/sh: bad interpreter: Permission denied TomF Linux - Security 2 12-08-2004 12:36 PM
/bin/sh: bad interpreter: Permission denied linmix Linux - Software 12 08-16-2004 07:40 AM
/bin/csh: bad interpreter KDel Linux - Newbie 5 04-28-2004 05:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration