From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 13:06:26 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4147B106564A for ; Sat, 24 Dec 2011 13:06:26 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id E50948FC0A for ; Sat, 24 Dec 2011 13:06:25 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 19C965C24 for ; Sat, 24 Dec 2011 23:18:51 +1000 (EST) Message-ID: <4EF5CD93.6040802@herveybayaustralia.com.au> Date: Sat, 24 Dec 2011 23:03:15 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EF56022.2030307@herveybayaustralia.com.au> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: chroot error: /bin/csh: No such file or directory; trying to create customized livecd/dvd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 13:06:26 -0000 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.