Date: 16 Apr 2001 01:53:40 +0300 From: Jussi Reissell <reissell@cc.helsinki.fi> To: Ugen <ugen@xonix.com> Cc: questions@FreeBSD.ORG Subject: Re: boot floppy: trying again Message-ID: <878zl1ojuz.fsf@mursu.pesa.fi> In-Reply-To: Ugen's message of "Fri, 13 Apr 2001 16:39:21 -0400" References: <Pine.SGI.4.31L.02.0104131614210.2769260-100000@irix1.gl.umbc.edu> <3AD763F9.DB3B25C9@xonix.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Ugen <ugen@xonix.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?878zl1ojuz.fsf>