From owner-freebsd-questions@FreeBSD.ORG Fri Jan 11 16:28:47 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 12B13240 for ; Fri, 11 Jan 2013 16:28:47 +0000 (UTC) (envelope-from peter@aboutsupport.com) Received: from mail-ea0-f175.google.com (mail-ea0-f175.google.com [209.85.215.175]) by mx1.freebsd.org (Postfix) with ESMTP id 73D233CB for ; Fri, 11 Jan 2013 16:28:45 +0000 (UTC) Received: by mail-ea0-f175.google.com with SMTP id h11so768926eaa.34 for ; Fri, 11 Jan 2013 08:28:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=DyuUXvwWBeG+AWtH4nDRJjYzS4KTEusNgKyWptIsCPM=; b=iNj4pUSYvt9Cc37pheNG7lAuXa5+jLHuJsBhPV6RpH1hhte1XjK5Zk2jUChrALTEo/ c+v8UFJptGRyuZ4Az/lMKzAnGY0/dRxSSFWd1vx6bm+OKN1jiyZkrqMGO/ycwq7x9GUH 0C2rCffY+rZ2FpPsX/FDx/CIDzHswWCRQ2KEtl3G7+PE2YC8Wj++/Nz06ufuvOm0WV7X gvxLAFrQYLII95TaFsaoUpLO4uhv/lun14ameQNt28KQFee6/3pcOX4PmrqOUcsGomOS 3+Ipu9QlcfoC388mY8B+Af+e2ZHGWwwAq89llMhPytNVDI5fSXGWfTiqyUkOh0vjwi5j MLFw== X-Received: by 10.14.223.135 with SMTP id v7mr203526212eep.41.1357921725009; Fri, 11 Jan 2013 08:28:45 -0800 (PST) Received: from [10.30.1.168] ([95.87.193.58]) by mx.google.com with ESMTPS id k4sm9051926eep.15.2013.01.11.08.28.43 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Jan 2013 08:28:44 -0800 (PST) Message-ID: <50F03DB9.4020209@aboutsupport.com> Date: Fri, 11 Jan 2013 18:28:41 +0200 From: "Zyumbilev, Peter" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: Re: Jails References: <50F0297B.3020604@aboutsupport.com> <20130111163129.47e44ce4@mr129166> In-Reply-To: <20130111163129.47e44ce4@mr129166> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQmiQ5x11OCnkY082+ICAQe2HMsrLBj68JFsvYC+ezGWQPzqNjrqfJZ3hzT3CiuAdAEYcHTo X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jan 2013 16:28:47 -0000 On 11/01/2013 17:31, Patrick Lamaiziere wrote: > Le Fri, 11 Jan 2013 17:02:19 +0200, > "Zyumbilev, Peter" a écrit : > >> Hi, >> >> I run FreeBSD 9.1 64 bit(Nas4free). I have no problem setting up >> FreeBSD jails inside. However, I wonder, is there any tutorial on how >> to make Debian Squeeze run inside a jail ? I know it is possible with >> PC-BSD, should be possible with FreeBSD, but I have not documentation >> on how to utilize this feature. > > Baptiste (bapt@) made a small doc for this in the past, but in french. > > http://blog.etoilebsd.net/post/Emprisonner_une_debian_dans_un_FreeBSD > > > Regards > For future reference: I've got it work, just 2 things: 1. Use http://download.openvz.org/template/precreated/debian-6.0-x86.tar.gz instead the file listed in the howto. 2. Run sysctl compat.linux.osrelease=2.6.32 in Freebsd shell before starting the jail, otherwise you will get error "kernel too old". Otherwise, so far so good :-) Peter