From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 1 00:18:10 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 AC18E16A4CE; Mon, 1 Dec 2003 00:18:10 -0800 (PST) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE69043FAF; Mon, 1 Dec 2003 00:18:09 -0800 (PST) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id D1B952ED464; Mon, 1 Dec 2003 00:18:09 -0800 (PST) Date: Mon, 1 Dec 2003 00:18:09 -0800 From: Alfred Perlstein To: doc@freebsd.org Message-ID: <20031201081809.GE75620@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i cc: hackers@freebsd.org Subject: HOWTO: install without floppy, cdrom, or pxe. 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: Mon, 01 Dec 2003 08:18:10 -0000 I have a mini-HOWTO here that possibly be automated. Basically we're going to install FreeBSD over FreeBSD without a floppy, cdrom or pxe. This depends on a loader that's compatible with your kernel so if really weird lockups happen, you might not be compatible. Anyhow, here we go: Download the boot.flp from the release you want to install. Mount it like so: mdconfig -a -t vnode -f boot.flp # should output something like 'md0' mkdir -p /mnt mount /dev/md0 /mnt Copy the yummy bits from the install image to your root: cp /mnt/kernel.gz /ikernel.gz cp /mnt/mfsroot.gz /mfsroot.gz Now reboot and interrupt the loader when it counts down the boot. Then type these commands into the loader: unload kernel load /ikernel load -t mfs_root /mfsroot set vfs.root.mountfrom boot Now cross your fingers once you wipe the partitions out to reinstall... It would be cool if this could be automated[1], perhaps by setting the boot partition to the swap partition and setting it up temporarily as a ufs filesystem and then... oh... well... [1] http://www.jerkcity.com/jerkcity1426.html -- - Alfred Perlstein - Research Engineering Development Inc. - email: bright@mu.org cell: 408-480-4684