From owner-freebsd-questions Sat Apr 14 6:23:35 2001 Delivered-To: freebsd-questions@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 0491537B424 for ; Sat, 14 Apr 2001 06:23:31 -0700 (PDT) (envelope-from iedowse@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 14 Apr 2001 14:23:29 +0100 (BST) To: Ugen Cc: questions@FreeBSD.ORG, iedowse@maths.tcd.ie Subject: Re: boot floppy: trying again In-Reply-To: Your message of "Fri, 13 Apr 2001 16:39:21 EDT." <3AD763F9.DB3B25C9@xonix.com> Date: Sat, 14 Apr 2001 14:23:29 +0100 From: Ian Dowse Message-ID: <200104141423.aa03192@salmon.maths.tcd.ie> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <3AD763F9.DB3B25C9@xonix.com>, 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) It looks as if the config file for boot floppy kernels is generated as follows (this is based on a quick reading of /usr/src/release/Makefile, so it may be missing some steps): cd /usr/src/sys/i386/conf cat GENERIC | /usr/src/release/scripts/dokern.sh > BOOTMFS echo "options INTRO_USERCONFIG" >> BOOTMFS This may be a good starting point to create a modified kernel that could replace the kernel on the kern.flp disk. If that doesn't work, please try to write down some of the error/panic messages that you get when you boot the kernel. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message