From owner-freebsd-hackers Thu May 3 14:35:55 2001 Delivered-To: freebsd-hackers@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 9414137B423; Thu, 3 May 2001 14:35:47 -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 f43LWtn17253; Fri, 4 May 2001 00:32:55 +0300 (EEST) Received: (from poku@localhost) by mursu.pesa.fi (8.11.2/8.11.1) id f43Laih54434; Fri, 4 May 2001 00:36:44 +0300 (EEST) (envelope-from poku@mursu.pesa.fi) To: Rick Duvall Cc: freebsd-questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: Bootable CD IV References: X-No-Archive: yes From: Jussi Reissell Date: 04 May 2001 00:36:44 +0300 In-Reply-To: Rick Duvall's message of "Tue, 1 May 2001 12:03:21 -0700 (PDT)" Message-ID: <87itjiw1w3.fsf@mursu.pesa.fi> Lines: 37 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-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Rick Duvall writes: > So, let me get this straight: To make a bootable CD, you need to: > > [ snipped ] /usr/src/release/Makefile has this nice picture of the setup: # +------------------------------------------------------------------------+ # |boot.flp | # +-----+-----+------------------------------------------------------------+ # |boot1|boot2|floppy filesystem "bootfd" | # +-----+-----+-+--------------------------------------------------------+-+ # |kernel | # +------------+-----------------------------------------+-+ # |mfs filesystem "mfsfd" | # +-----------------------------------------+ What you need is to make the kernel be able to both incorporate the mfs filesystem and then make it /. Grep LINT for MFS. Or MD or malloc disk ... Then craft the mfsfd - you already have some of the correct steps - and zot it into the kernel. There's a write_mfs_in_kernel.c in /usr/src/release for this purpose. Check also the .../release/scripts directory. You have to go through the vnconfig routine twice: once for the boot.flp and then to create the mfsfd. What you put in your "mfsfd" and how you link that with the contents of the rest of your CD is up to you. There's probably several approaches you can take ... I chose to craft links from the "mfsfd" to the rest of the ISO at /etc/rc-time. I'll do some experimenting with this some time ... Sorry, can't be much more specific than that, I have the stuff on a SCSI disk and my controller has been on it's way to the manufacturer for quite some time now :( To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message