Subject: Re: RAID1 bootblocks for 2.0
To: Philip Jensen <phil_jensen@yahoo.com>
From: Brian McKerr <brian@mckerrs.net>
List: port-sparc64
Date: 12/14/2004 21:27:31
Philip Jensen wrote:

> You can read the instructions I kept for my own reference on my web 
> page  here:-
>
>     http://philipjensen.freezope.org/Computing/NetBSD_rootfs_on_RAID1
>
> This method has worked for me on an UltraSPARC 5, Netra T1 ac200, 
> Sunfire v100.  Once the system is up and running the only gotcha is 
> keeping the kernel synced on the FFS partitions on disk if new kernels 
> are installed.
>
> Hope that helps.


Hi Philip,


    I read your guide in conjunctoion with the one from netbsd.org and 
the most glaringly obvious difference is in the part where it sets up 
the 1st disk to be bootable.


=================================================

netbsd.org

# */usr/sbin/installboot -v /dev/rwd0a /usr/mdec/bootblk*
File system:         /dev/rwd0a
File system type:    raw (blocksize 8192, needswap 0)
Primary bootstrap:   /usr/mdec/bootblk
Bootstrap start sector: 1
Bootstrap byte count:   4915
Writing bootstrap



Philip's

*# **/usr/sbin/**installboot /dev/rwd0c
/usr/mdec/bootblk

# mount /dev/wd0a /mnt

#** cp /usr/mdec/ofwboot /mnt

# cp /netbsd /mnt
*

=================================================


I have 2 questions....

why does one use rwd0c and the other rwd0a ?

and is it necessary (or even possible with 2.0) to do the 'mount' part 
to copy the kernel and boot 2nd stage boot loader to the other disk ?

Brian.