On Sun, Sep 04, 2022 at 11:25:08PM +0000, Mikolaj Kucharski wrote: > # bioctl sd0 > Volume Status Size Device > softraid0 0 Online 268426960384 sd0 CRYPTO > 0 Online 268426960384 0:0.0 noencl <wd0a> > 1 Online key disk 0:1.0 noencl <wd0d>
... > keydisk# installboot -r /mnt -nv sd0 > Using /mnt as root > would install bootstrap on /dev/rsd0c > using first-stage /mnt/usr/mdec/biosboot, second-stage /mnt/usr/mdec/boot > sd0: softraid volume with 2 disk(s) > sd0: would install boot loader on softraid volume > /mnt/usr/mdec/boot is 6 blocks x 16384 bytes > wd0a: would install boot blocks on /dev/rwd0c, part offset 144 > master boot record (MBR) at sector 0 > partition 3: type 0xA6 offset 64 size 524287936 > /mnt/usr/mdec/biosboot will be written at sector 64 > wd0d: would install boot blocks on /dev/rwd0c, part offset 524272079 > master boot record (MBR) at sector 0 > partition 3: type 0xA6 offset 64 size 524287936 > /mnt/usr/mdec/biosboot will be written at sector 64 > keydisk# reboot > > > Press ESC for boot menu. > > Booting from Hard Disk... > Using drive 0, partition 3. > Loading...... > ERR M Ah no. It make sense why it doesn't boot. Because key disk is always last on the list of chunks and that means no matter what is the order on wd0, installboot will install boot blocks on key disk always last, so last chunk (key disk) always wins, hence boot failure. -- Regards, Mikolaj