From owner-freebsd-questions Thu Nov 30 22:46:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id AFE2A37B401 for ; Thu, 30 Nov 2000 22:46:23 -0800 (PST) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Thu, 30 Nov 2000 22:44:47 -0800 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.11.0/8.11.0) id eB16kIF14200; Thu, 30 Nov 2000 22:46:18 -0800 (PST) (envelope-from cjc) Date: Thu, 30 Nov 2000 22:46:17 -0800 From: "Crist J . Clark" To: danh@gelatinous.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: how do i make a custom boot floppy? Message-ID: <20001130224617.G99903@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: <20001130213521.98577.qmail@cube.gelatinous.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20001130213521.98577.qmail@cube.gelatinous.com>; from danh@gelatinous.com on Thu, Nov 30, 2000 at 09:35:21PM -0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Nov 30, 2000 at 09:35:21PM -0000, danh@gelatinous.com wrote: [snip] > so, anyway what I would like to do is create a floppy disk > that will boot from a freebsd kernel sitting on the first > slice of the master IDE hard drive, nothing complicated, > I read how to create a floppy in /etc/disktab and read > the man pages on boot and ran disklabel but I must be > doing something wrong. I have found the easiest method to be to start with the kern.flp image rather than worry about formating, newfs'ing, and disklabel'ing. After the floppy is made, I nuke the kernel.gz and add a boot.config file. My machine boots fine, but I always keep my Tripwire floppy in the drive and so I've made it bootable by building it from kern.flp $ ls -l /twfloppy total 807 drwxr-xr-x 2 root wheel 512 Aug 8 00:41 boot -rw-r----- 1 root wheel 24 Aug 8 00:39 boot.config -rwxr-xr-x 1 root wheel 274836 Dec 21 1999 tripwire -rw-r----- 1 root wheel 5267 Jan 23 2000 tw.config -rw-r----- 1 root wheel 530402 Nov 23 03:25 tw.db_cjc-desktop.reflexcom.com.gz $ cat /twfloppy/boot.config 1:ad(1,1,a)/boot/loader Oh, yeah. I also do boot from the second HDD and this makes that easy too. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message