From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 16:39:32 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6506D16A400 for ; Fri, 9 Mar 2007 16:39:32 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.239]) by mx1.freebsd.org (Postfix) with ESMTP id 0EE2D13C441 for ; Fri, 9 Mar 2007 16:39:31 +0000 (UTC) (envelope-from david.robillard@gmail.com) Received: by wr-out-0506.google.com with SMTP id i30so1344441wra for ; Fri, 09 Mar 2007 08:39:31 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HNW0LEhgkJ5ClxwHdFQ4VsaHGrZx/O7jDetIkUrFfNRHcNxoba+xDZ+8laDG4A1IhParcVc+nQCkHM9mnmq9k2afEZ7inTdn2siBQN0RVrZRfIMEx/peCvfVut6VpCcVq1yc9c2FzXyAJ7hugLX+4E2dNh5X0XoOP5Klg8p5G7w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Pll8/L62u/ROcKfR2MExj5Ud/Mm04IkxNufXf76QHuhcJnz55EEZaXrGRXFFD+tNOAXps8B6ZRkALOdM0aPFReWPEnFckR9rmj8gY7n9ZaxFdE3Q0mLWNA2VEYiw/teGG+KuZovXE0nKQXWzQ3CN8VvOSKwHejuq3ym7Sksl2y4= Received: by 10.65.219.1 with SMTP id w1mr3068389qbq.1173458371347; Fri, 09 Mar 2007 08:39:31 -0800 (PST) Received: by 10.64.210.7 with HTTP; Fri, 9 Mar 2007 08:39:31 -0800 (PST) Message-ID: <226ae0c60703090839v60895fa2q4e3787e061d6ada5@mail.gmail.com> Date: Fri, 9 Mar 2007 11:39:31 -0500 From: "David Robillard" To: "Jerry McAllister" In-Reply-To: <20070309161951.GD31408@gizmo.acns.msu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <226ae0c60703090730n12678b0cwfb5cf4e80f2dbeb3@mail.gmail.com> <20070309161951.GD31408@gizmo.acns.msu.edu> Cc: FreeBSD Questions Subject: Re: remote install of 6.2 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, 09 Mar 2007 16:39:32 -0000 > OK. First, it was someone else who posted. I was one of the responders. My mistake! Sorry about this. > That can be a good way of doing it. I have posted a list of steps > for doing essentially that (slightly different circumstances) a > couple of times in the past. > > But there is one disadvantage in this particular case. Since the OP > is running 4.xx and wants to move to 6.xx, he would probably also want > to take advantage of the new UFS2 filesystem improvements. But, if > he builds the file system using the 4.xx fdisk and disklabel (before > bsdlabel replaced it) then it will use the older file system missing > some performance and feature improvements. So, he will want to find > a way to fdisk and bsdlabel using a 6.xx system if at all possible. > > Of course, it is not the end of the world to be stuck with the older > file system, but is less than optimal. > > It would be possible for the person to sort of double up on your > suggestion and do a first build with the existing fdisk and bsdlabel > and then restore 6.2 dumps. Then build a 6.2 system that can run from > memory that includes the essentials such as fdisk, bsdlabel and newfs > and tink with booting to boot to that memory system, which would > then allow that second disk to remain unmounted or accessed anywhere > -- essential for building the file systems. Then use that memory > mounted system to build the file systems and finally do the restores > from dumps. It should work, but will take some figuring out. > > The last time I built anything resembling that was back in > about FreeBSD 4.9 and I made a file of it and burned it to CD and > did the boots from CD. But it should be possible to get it to > run from a memory file system. Indeed, you're absolutely right. An easy way to circumvent this filesystem issue would be to mount the ISO image of a 6.2 install CD as a virtual filesystem and use the binaries from there. This shows you how to proceed: http://www.freebsddiary.org/iso-mount.php Of course, you'll need a fair bit of RAM to do this. There's also this from Colin Percival that can be usefull: http://www.daemonology.net/depenguinator/ HTH, David -- David Robillard UNIX systems administrator & Oracle DBA CISSP, RHCE & Sun Certified Security Administrator Montreal: +1 514 966 0122