On 8/3/06, Ryan Corder <[EMAIL PROTECTED]> wrote:
On Thu, 2006-08-03 at 18:40 +0200, openbsd misc wrote:
> Ok, that didn't work. You can create an image. But image will only work on
identical
> cf-cards (same C/H/S). Is that an openbsd specific problem (bootloader) or

no, it is a limitation of the software used to create the image, not
OpenBSD.  It collects C/H/S information as part of the build, therefore
will only work with a CF of that size.

maybe time to roll your own.


I understand this is a problem of target systems translating C/H/S
values differently. There is no problem in dynamicly using OpenBSD's
idea of C/H/S values at build time. However, OpenBSD on two different
machines can provide completely different C/H/S values on the exact
same card. Correct me if im wrong.

I don't think rolling your own would help in this way.

I've heavily modified flashdist.sh to work in a different manner... I
don't like the idea of building a "complete system" thats a mangled
version of OpenBSD that needs to be maintained and provided for you.
This is the common 'giving the people what they want' distrobution
format, and making those of us who want to modify it even the
slightest bit work that much harder.

I've changed the format of flashdist to accept an "overlay/"
directory, containing any /etc/, /bsd, /usr/local, etc. additions or
changes to overlay over the target CF card after a default install
(extracting basesets).

Also it uses an argument-provided 'settings.rc' file that sets CF card
sizes, with base sets, etc. etc... If anybody is interested in this,
let me know, I could use some testing.

The point is, instead of a giant script providing hand-tweaks to do
your pf anchor, wpa, etc... why not just set it up in this kind of
format? Make your own baseset along-side the other base sets and
provide it on a local FTP site. If you have different CF card sizes
and target systems, just copy the settings.rc file to one of another
name and different C/H/S values.

Sorry if this is off-topic, it hardly answers the original posters
question (preparing disklabel and images in windows (just as off
topic))

Reply via email to