From owner-freebsd-alpha Sat Mar 25 22:56:48 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from anomaly.stupid.net (hc6526ade.dhcp.vt.edu [198.82.106.222]) by hub.freebsd.org (Postfix) with ESMTP id C826037B921 for ; Sat, 25 Mar 2000 22:56:37 -0800 (PST) (envelope-from fb@anomaly.stupid.net) Received: (from fb@localhost) by anomaly.stupid.net (8.9.3/8.9.3) id BAA08218; Sun, 26 Mar 2000 01:56:30 -0500 (EST) (envelope-from fb) Date: Sun, 26 Mar 2000 01:56:30 -0500 From: Nick To: Andrew Gallatin Cc: freebsd-alpha@freebsd.org Subject: Re: catch22? Message-ID: <20000326015630.A7725@vt.edu> References: <3.0.32.20000325214523.0340c140@mail.vt.edu> <14557.36116.339772.170363@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <14557.36116.339772.170363@grasshopper.cs.duke.edu>; from gallatin@cs.duke.edu on Sat, Mar 25, 2000 at 11:08:49PM -0500 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, Mar 25, 2000 at 11:08:49PM -0500, Andrew Gallatin wrote: > > nm writes: > > > > The fs's gave me enough room, so now my top works, thanks again :) > > > > Nick > > Cool. Can you post your success story to the mailing list? It might > be good to have it in the archives. > Sure! Here is some info on booting your FreeBSD system with a boot disk. First, I dd'd kern.flp (from /floppies of the FreeBSD distribution) to a floppy. Then mounted it, and removed the stock kernel.gz. Next, I compiled my own kernel and left out some things such as the NFS support and MSDOS fs, and CD9660 support. This was in an effort to cut the size down so that it would fit on the floppy. Now, once the kernel is built, I DID NOT strip it (if you strip it you won't be able to use utils like top). gzip the kernel and place kernel.gz on the floppy (where the previous kernel.gz was located). Next, edit the loader.rc in the boot directory of the floppy. Here is what I used: load /kernel.gz set root=/dev/sd0a autoboot 10 root for me is /dev/sd0a. I am not sure if setting this variable is what tells the kernel where root is, or if it learns this from the -flags passed to the loader from SRM (someone want to correct me here?). umount the disk and you *should* now have a boot disk. Please contact me if you can't get this working. Nick Maniscalco nmanisca@vt.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message