creating boot cd to install a ghost image

William Bierman wbierman at gmail.com
Thu Sep 16 17:48:27 PDT 2004


Howdy.  I am attempting to create a FreeBSD cluster.  My first step is
to come up with a bootable CD (which I have done) that will run a
script to create one giant partition (for simplicity, since not all
hard drives are the same size), run newfs on it, mount it, and copy
the desired tree to it.  I then unmount it and run boot0cfg -B -s 1
ad0 on it.

When I attempt to boot, it spits out:

F1   FreeBSD
Default: F1

When I hit F1, it spits out that message again.  Eventually the screen
is full of them.  I have heard a rumor that bsdlabel will finish the
job for me, but I am having some issues.  Every page on the web I have
found has told me that I need to run something simple, such as:

bsdlabel -w -B ad0

When I do that, I get the error:

bsdlabel: Geom not specified

Which is weird, since I see no switch defined in the manpage to
specify disk geometry.  Can anyone shed some light on this?  I am
concerned that I may creating the partition incorrectly, but that is
only a guess.

Best Regards,

Bill


More information about the freebsd-questions mailing list