From owner-freebsd-questions@FreeBSD.ORG Fri Jul 21 13:34:45 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 F005616A4DA for ; Fri, 21 Jul 2006 13:34:45 +0000 (UTC) (envelope-from vladimirow@mail.ru) Received: from celery.ispras.ru (celery.ispras.ru [83.149.199.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23CB143D45 for ; Fri, 21 Jul 2006 13:34:45 +0000 (GMT) (envelope-from vladimirow@mail.ru) Received: from celery.ispras.ru (localhost.localdomain [127.0.0.1]) by celery.ispras.ru (Postfix) with ESMTP id C877A2E6C3A for ; Fri, 21 Jul 2006 17:32:10 +0400 (MSD) X-Virus-Scanner: This message was checked by NOD32 Antivirus system for Linux Server. For more information on NOD32 Antivirus System, please, visit our website: http://www.nod32.com/. Received: from truba.ispras.ru (truba.ispras.ru [83.149.198.41]) by celery.ispras.ru (Postfix) with ESMTP id BBF532E6C32 for ; Fri, 21 Jul 2006 17:32:10 +0400 (MSD) Received: from truba.ispras.ru (root@localhost) by truba.ispras.ru (8.13.1/8.13.1) with SMTP id k6LDYgRg008625 for ; Fri, 21 Jul 2006 17:34:42 +0400 Received: from nord.kazbek.ispras.ru (nord.kazbek.ispras.ru [83.149.199.175]) by truba.ispras.ru (8.13.1/8.13.1) with ESMTP id k6LDYfLu008619 for ; Fri, 21 Jul 2006 17:34:42 +0400 Received: from strike.kazbek.ispras.ru (strike.kazbek.ispras.ru [83.149.199.176]) by nord.kazbek.ispras.ru (8.13.4/8.13.4) with ESMTP id k6LDYfgf016233 for ; Fri, 21 Jul 2006 17:34:41 +0400 Date: Fri, 21 Jul 2006 17:34:43 +0400 From: Mikhail Vladimirov X-Mailer: The Bat! (v3.71.04) Professional X-Priority: 3 (Normal) Message-ID: <1993258071.20060721173443@mail.ru> To: FreeBSD Questions MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SpamTest-Version: SMTP-Filter Version 2.0.0 [0125], KAS/Release X-Spamtest-Info: Pass through X-Anti-Virus: Kaspersky Anti-Virus for MailServers 5.5.2/RELEASE, bases: 14072006 #194846, status: clean Subject: Run existing FreeBSD installation inside jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mikhail Vladimirov List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jul 2006 13:34:46 -0000 Hello. I own server which runs FreeBSD 4.x-STABLE (last updated 27 March 2006). I want to update it to 6.x-STABLE. I known, that update via sources is not recommended in my situation, so I want to do clear installation. The problem is the following: there is many ports installed, many Internet sites hosted on old system and so on. It will take a lot of time to configure new system to do all things, which old system was doing. But I don't want that services do be not accessible for a long time. 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? -- Best regards Mikhail Vladimirov P.S. I already have jail inside my current installation of 4.x. So I actually plan to setup two jails inside new 6.x. One for original system and another for my current jailed system, which also run several useful services.