From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 02:57:35 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1B6816A4BF for ; Wed, 27 Aug 2003 02:57:34 -0700 (PDT) Received: from bluejay.mail.pas.earthlink.net (bluejay.mail.pas.earthlink.net [207.217.120.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 424A544017 for ; Wed, 27 Aug 2003 02:57:34 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from user-2ivfmq8.dialup.mindspring.com ([165.247.219.72] helo=mindspring.com) by bluejay.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19rx3T-00063A-00; Wed, 27 Aug 2003 02:57:31 -0700 Message-ID: <3F4C804E.6FAE1D56@mindspring.com> Date: Wed, 27 Aug 2003 02:56:30 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Charles Howse References: <001c01c36a7f$7856a140$04fea8c0@moe> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a48caf0948dbbeb20ded37205ea7c51859667c3043c0873f7e350badd9bab72f9c350badd9bab72f9c cc: freebsd-hackers@freebsd.org Subject: Re: Looking for detailed documentation: Install to existing filesystem X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 09:57:35 -0000 Charles Howse wrote: > I'm a hobbyist, and for my personal education, I would like to learn how > to install FBSD from an existing filesystem, rather than from FTP or CD. > > My intention is to copy the files to a directory on the second HDD of my > present FBSD system, and point sysinstall to that partition/directory > during the install. This is fairly easy. What you do it copy the files to a directory on a second disk drive on the machine, and point sysinstall to that partition/directory during the install. 8-). > I can't seem to find any "detailed" instructions. The handbook just > glosses over it, saying follow the instructions on the screen in > sysinstall. I've Googled for days and can only find other people asking > the same question and talking about their failures. The easiest thing to do is follow the instructions in sysinstall. The reason the handbook says this is that the order of dialogs, etc., in sysinstall varies from version to version of FreeBSD. Here is an example of "detailed instructions" for a particular version of FreeBSD. If you have a different version, you will need to use instructions matching the version of sysinstall you happen to be using: C 13* 7* "7" (selects option 6 from "Choose Installation Media" dialog because sysinstall is stupid) Enter the pathname of the directory containing the installation files Q (Cancel) U (for "Upgrade") (disclaimer screen) (to begin upgrade) > I need to know: > > 1) What files do I need to have on the partition from which I will be > installing? Everything from the first CDROM, in the same directory hierarchy. It's easiest if you just mount a CDROM, or mount a vnconfig'ed CDROM ISO image as a cd9660 FS. > 2) ftp address and directory where I can find those files. ftp://ftp.freebsd.org/ The exact subdirectory depends on which particular version you are trying to upgrade to. > 3) Can FBSD install from the .iso files? Yes, if you vnconfig them and mount them up as FS's so that to the system they appear as CDROMs, instead of ISOs. > 4) A link to a tutorial or howto would really be nice. If none exists, I > might consider writing one once I figure out how to do it properly. It's at least slightly different for every version of the system (see above). That's also why you didn't find one. PS: You should also vnconfig the floppy image on the vnconfig'ed ISO image, and pull sysinstall off there, instead of using your local copy. The sysinstall program has some string lists which are hard-coded, and may also vary from version to version. As it is a "crunchgen"'ed file, you will need to name it "sysinstall" for it to work. I suggest copying it to /tmp, and running it from there. PPS: I've posted detailed instructions on doing this at least three times in the past three years, since I needed to upgrade over NFS to a machine without anything but a local copy of FreeBSD that could be booted; start looking around June of 2001 in the -current and -hackers archives. -- Terry