LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   /bin/sh: bad interpreter (https://www.linuxquestions.org/questions/linux-from-scratch-13/bin-sh-bad-interpreter-191587/)

mullog 06-09-2004 01:50 PM

/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?

Andrew Benton 06-09-2004 02:30 PM

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.


All times are GMT -5. The time now is 09:43 AM.