From owner-freebsd-questions Sun Apr 15 15:59: 2 2001 Delivered-To: freebsd-questions@freebsd.org Received: from no-spam.it.helsinki.fi (NO-SPAM.it.helsinki.fi [128.214.205.34]) by hub.freebsd.org (Postfix) with ESMTP id 2DCE837B446 for ; Sun, 15 Apr 2001 15:58:58 -0700 (PDT) (envelope-from reissell@cc.helsinki.fi) Received: from mursu.pesa.fi (root@sirppi.helsinki.fi [128.214.205.27]) by no-spam.it.helsinki.fi (8.11.3/8.11.3-SPAMmers-sod-off) with ESMTP id f3FMua119235; Mon, 16 Apr 2001 01:56:36 +0300 (EEST) Received: (from poku@localhost) by mursu.pesa.fi (8.11.2/8.11.1) id f3FMres63374; Mon, 16 Apr 2001 01:53:40 +0300 (EEST) (envelope-from poku@mursu.pesa.fi) To: Ugen Cc: questions@FreeBSD.ORG Subject: Re: boot floppy: trying again References: <3AD763F9.DB3B25C9@xonix.com> From: Jussi Reissell Date: 16 Apr 2001 01:53:40 +0300 In-Reply-To: Ugen's message of "Fri, 13 Apr 2001 16:39:21 -0400" Message-ID: <878zl1ojuz.fsf@mursu.pesa.fi> Lines: 23 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ugen writes: > And again - i have boot floppies made out of images boot.flp and > mfsroot.flp. I am compiling a new kernel (on some other FreeBSD box), > gzipping it and replacing the kernel on boot floppy with this new kernel. > This new kernel panicks as soon as it begins to load. This same new kernel > does not panick when booted from the harddrive. > Question - what if anything should i configure so that kernel will boot from > the floppy (and in particular from the modified boot.flp) For starters, you have to compile a built in malloc disk into the kernel, make the kernel recognize that disk as a root partition, have devices md and vn configured into the kernel, ... That's just from memory. You can find the details in /usr/src/release/Makefile. And even if you do all this by the book, will you still have a working boot floppy? You might or you might not, if the kernel, the crunched binaries in mfsroot.flp and whatnot are from different source trees. The easiest way to customize the boot floppies is to get the cvs repository and do a make release. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message