Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Dec 2011 23:03:15 +1000
From:      Da Rock <freebsd-questions@herveybayaustralia.com.au>
To:        freebsd-questions@freebsd.org
Subject:   Re: chroot error: /bin/csh: No such file or directory; trying to create customized livecd/dvd
Message-ID:  <4EF5CD93.6040802@herveybayaustralia.com.au>
In-Reply-To: <CAJ5UdcOEQgMrw9LJ4ioo5-SpGeObBx-itYJJHodZYUbeH0Cpbw@mail.gmail.com>
References:  <CAJ5UdcNRph5ZsAp8MH-uUutHSx_zJT27qSWEYtX-GmFSYJSvZw@mail.gmail.com> <4EF56022.2030307@herveybayaustralia.com.au> <CAJ5UdcOEQgMrw9LJ4ioo5-SpGeObBx-itYJJHodZYUbeH0Cpbw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/24/11 22:57, Antonio Olivares wrote:
>> I'll ask a stupid question, and you're more than welcome to give a stupid
>> answer: Is /bin/csh actually _in_ your chroot?
>>
>> So csh should be this path: /usr/home/olivares/tmp/tmp/R/bin/csh
>>
>> HTH
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> tricorehome# pwd
> /usr/home/olivares/tmp/tmp/R
> tricorehome# ls -l /bin/csh
> -r-xr-xr-x  2 root  wheel  369288 Apr  2  2011 /bin/csh
>
> I am not sure if it is there now :(
I think you may have missed something there- you do realise that even 
though you've changed directory, you haven't chrooted. So when you run 
ls -l /bin/csh it is still checking your system root- not the chroot. 
Sometimes a single typo can cause huge hassles, eh? :)

Try:

cd /usr/home/olivares/tmp/tmp/R && ls -l bin/csh

Watch the "bin/csh"- don't make it an absolute path by adding the root 
(/) at the beginning.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EF5CD93.6040802>