From owner-freebsd-questions@FreeBSD.ORG Fri Jul 21 13:40:11 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 A61A016A4DE for ; Fri, 21 Jul 2006 13:40:11 +0000 (UTC) (envelope-from daniel@copyleft.no) Received: from mail9.copyleft.no (mail9.copyleft.no [82.117.37.109]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0ACCF43D49 for ; Fri, 21 Jul 2006 13:40:10 +0000 (GMT) (envelope-from daniel@copyleft.no) Received: from [82.117.37.67] (helo=[10.0.0.170]) by mail9.copyleft.no with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.60 (FreeBSD)) (envelope-from ) id 1G3vEy-000MbW-TS; Fri, 21 Jul 2006 13:40:28 +0000 Message-ID: <44C0D933.7070606@copyleft.no> Date: Fri, 21 Jul 2006 15:40:03 +0200 From: "Hr. Daniel Mikkelsen" User-Agent: Thunderbird 1.5.0.2 (X11/20060522) MIME-Version: 1.0 To: Mikhail Vladimirov References: <1993258071.20060721173443@mail.ru> In-Reply-To: <1993258071.20060721173443@mail.ru> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Run existing FreeBSD installation inside jail 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: Fri, 21 Jul 2006 13:40:11 -0000 Mikhail Vladimirov wrote: > I want to try the following trick: > > 1. Install FreeBSD 6.x-STABLE on the separate HDD, while it is inside > my home PC. > 2. Place this HDD into server, make it bootable. > 3. Boot new system, and mount old HDD (with FreeBSD 4.x and all old > stuff) > 4. Setup jail inside new system, which will run old system. > 5. Now I have all services running, and I can transfer it to new > system one by one quietly. > > I believe, that FreeBSD is backward compatible, and all my stuff, > which successfully run on 4.x sill run inside jail on 6.x. I am > right? Did anybody tried to do something like this? What was the > results? Hi. It might work well enough for your services to run, depending on what they are. I'd insert two new steps in between 3 and 4: 3b: Tar down a copy of the old system. 3c: Upgrade the old system in place (mergemaster, installworld, etc.) to the same version your new system is running. This is usually straight forward. -- Daniel Mikkelsen Copyleft Software AS