So, I guess my next questions is:
How do create the 2.88M boot floppy image with the MFS stuff on it? I
guess it merges somehow inside the kernel? Am I right? If so, how do i
compile my mfs into the kernel, and what do I put in the MFS?
Also, what files do I need to put on the boot floppy and what
configuration files do I need to edit? If I cannot mount the cd as /, and
only the MFS can be /, then can I at lease mount it as /usr? I am
assuming I would edit /etc/rc.local on the mfs root.
What I am wanting is a bootable cd that will take the user into an
automatic restore script, that will ask them to put the last tape in the
drive, and do a fdisk, disklabel, and newfs the hard drive, then restore
from tape. Basicly, it's a foolproof method for disaster recovery is what
i am trying to get at.
Thanks.
Sincerely,
Rick Duvall
On Tue, 1 May 2001, Jordan Hubbard wrote:
> From: Rick Duvall <[EMAIL PROTECTED]>
> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message