On Tue, Dec 27, 2011 at 12:32:59AM +0100, Paolo Aglialoro wrote:

> running on -current and, similar to the example, having the following
> disklabel:
> 
> /boot on both sd0a and sd1a
> / on sd2a which is the raid result of sd0d and sd1d
 
For i386 and amd64, architectures which have a two-stage boot, the second
stage bootloader (/usr/mdec/boot) is installed into the RAID array.  This 
program cannot read kernels from the array, so the kernels must be stored
on one or more non-RAID FFS filesystems.  In my example, I stored it on
the "a" partition of two drives, wd0 and wd1.

> would the snapshot upgrade process be consistent through the standard
> installer or should one always go to shell, make manual adjustments and
> then run install?
 
The installer installs kernels into the root partition.  You must copy them
to non-RAID partition(s) in order for the second stage bootloader to be
able to load them.  Using your example of a binary upgrade such as a snapshot,
copy the ramdisk kernel to a non-RAID partition, boot it, conduct the upgrage,
then copy the kernels to non-RAID storage, so that the second stage bootloader
can find them.

Reply via email to