From owner-freebsd-questions@FreeBSD.ORG Mon Jun 28 14:35:49 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7BE716A4CE for ; Mon, 28 Jun 2004 14:35:49 +0000 (GMT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BCF243D53 for ; Mon, 28 Jun 2004 14:35:49 +0000 (GMT) (envelope-from fbrier@multideck.com) Received: from [127.0.0.1] (c-24-98-143-250.atl.client2.attbi.com[24.98.143.250]) by comcast.net (rwcrmhc12) with ESMTP id <2004062814354401400l1rcqe>; Mon, 28 Jun 2004 14:35:44 +0000 Message-ID: <40E02CF8.9030806@multideck.com> Date: Mon, 28 Jun 2004 10:36:40 -0400 From: "Frederick N. Brier" Organization: Multideck Corporation User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <40DFA6CA.2000702@multideck.com> In-Reply-To: <40DFA6CA.2000702@multideck.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: sysinstall in a jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jun 2004 14:35:49 -0000 I do not know whether this is the proper way of doing it, but I mounted the CD using mount -v -t cd9660 /dev/acd0c /usr/jail/myjail/dist Then I went back into the jail'ed environment, started up sysinstall, selected Configure/Media, choosing File System, specifying /dist, then selecting Packages, and it worked. Fred. Frederick N. Brier wrote: > I am running into a problem installing packages via sysinstall within > a jail using the CD media. I did a minimal install, but added the > /usr/src directory. I followed the directions to setup a jail and > copied /stand/sysinstall into the jail subdirectory. As per the > directions, I then started up the jail and ran sysinstall. But when I > attempt to install off of the cdrom media, I get the following error: > "Error mounting /dev/acdoc on /dist: Operation not permitted (1)". > Now it makes sense that a jail might not be allowed to mount a system > device. My confusion is that these were the instructions and I have > not seen any posts saying this is a problem. Is there a way to give > the jail permission to access the CD device? Should I mount the CD > from the host (outside the jail) but to a subdirectory the jail has > access to? Such as /usr/jail/myjail/dist? Versus /dist? Thank you > for any suggestions. > > Frederick N. Brier > > _______________________________________________ > 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" >