On Wed, Nov 12, 2008 at 2:21 PM, Raimo Niskanen
<[EMAIL PROTECTED]> wrote:
> On Tue, Nov 11, 2008 at 07:52:30PM -0800, Joseph Alten wrote:
>> Due to technical constraints, my setup requires that I have a separate
>> boot partition (basically the kernel and anything else critical for
>> booting), and then of course my root partition other data partitions on a
>> separate disk.
>
> Can you say more about the "technical constraints". If it is just
> size constraints there should not be much of a problem since
> the root partition is supposed to be small in OpenBSD.

Yes, it's just size constraints. Generally I prefer /usr, /var, /opt,
and so on, to be on the same partition because that allows for a more
flexible storage mechanism. However, most of my hard drive storage is
non-bootable, which means that I usually place kernels and ramdisks on
my bootable hard drive.

>>
>> I'm kind of new to OpenBSD, and so far what I've managed to do is copy
>> /bsd to a separate partition, then at the boot> prompt I run "boot hd0a
>> -a", then specify my root partition when prompted by the kernel. While
>> this has the desired effect, I'd rather not run this every time I want to
>> boot OpenBSD. Is there a kernel parameter I can pass that lets the kernel
>> know ahead of time the root device I wish to mount?
>>
>> Basically I'm looking for the OpenBSD equivalent of root=/dev/xxx Linux
>> kernel parameter. I think I managed to get FreeBSD working similarly with
>> the vfs.root.mountfrom= parameter, but this doesn't appear to exist in
>> OpenBSD.
>>
>> Thanks for looking into this.
>>
>> --
>> Joseph Alten
>
> --
>
> / Raimo Niskanen, Erlang/OTP, Ericsson AB

Reply via email to