Date: Thu, 30 Nov 2000 22:46:17 -0800 From: "Crist J . Clark" <cjclark@reflexnet.net> 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> In-Reply-To: <20001130213521.98577.qmail@cube.gelatinous.com>; from danh@gelatinous.com on Thu, Nov 30, 2000 at 09:35:21PM -0000 References: <20001130213521.98577.qmail@cube.gelatinous.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001130224617.G99903>