From owner-freebsd-questions Tue May 1 17:19:35 2001 Delivered-To: freebsd-questions@freebsd.org Received: from winston.osd.bsdi.com (adsl-64-173-15-98.dsl.sntc01.pacbell.net [64.173.15.98]) by hub.freebsd.org (Postfix) with ESMTP id D8AA137B422; Tue, 1 May 2001 17:19:29 -0700 (PDT) (envelope-from jkh@osd.bsdi.com) Received: from localhost (jkh@localhost [127.0.0.1]) by winston.osd.bsdi.com (8.11.3/8.11.2) with ESMTP id f420JJ334064; Tue, 1 May 2001 17:19:20 -0700 (PDT) (envelope-from jkh@osd.bsdi.com) To: maillist@coastsight.com Cc: freebsd-questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: Bootable CD IV In-Reply-To: References: X-Mailer: Mew version 1.94.1 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010501171919L.jkh@osd.bsdi.com> Date: Tue, 01 May 2001 17:19:19 -0700 From: Jordan Hubbard X-Dispatcher: imput version 20000228(IM140) Lines: 25 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From: Rick Duvall Subject: Bootable CD IV Date: Tue, 1 May 2001 12:03:21 -0700 (PDT) > So, let me get this straight: To make a bootable CD, you need to: > [steps alided] That will essentially work, yes, though I've never seen someone use /usr directly as a scratch directory before. :-) > Okay, got that far. But, it will load the kernel, then hang and say that > it cannot mount root device /dev/fd0. This doesn't make any sense to me > becuase I specifically told fstab on the cd to use the cdrom as root. Am > I stupid or something? Not stupid, just not thinking this all the way through. The root mounting code runs well ahead of anything which looks into /etc/fstab; how indeed could it even find fstab if it didn't know where the root partition was? You need to change the kernel's mind about where to find its root partition, something which can be accomplished in a variety of ways. In the case of the boot floppy, we don't even try; we just use MFS for the root partition and mount the CD elsewhere. Of all the options, this is in fact the simplest. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message