Hi, I've a laptop with Ubuntu 14.04/OpenBSD-current dual boot. I'm trying to convert the OpenBSD FS to softraid(4) encryption with passphrase.
I'm booting from an USB drive to access the disk to shuffle data on it. After backing up my data, changing the OpenBSD disklabel in sd0 to have one RAID partition and one swap partition, running bioctl to setup an encrypted sd2 softraid and restoring my data, I'm stuck with bootblocks. What is the correct installboot incantation to setup bootblocks so that Ubuuntu's grub which chainloads the OpenBSD part of the disk loads a softraid-aware biosboot ? here is the detailled layout of my disk: # fdisk sd0 Disk: sd0 geometry: 15566/255/63 [250069680 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start: size ] ------------------------------------------------------------------------------- *0: 83 0 32 33 - 31 26 59 [ 2048: 497664 ] Linux files* 1: 05 31 59 27 - 13607 144 39 [ 501758: 218103808 ] Extended DOS 2: A6 13607 144 42 - 15565 14 1 [ 218605568: 31447040 ] OpenBSD 3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused Offset: 501758 Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start: size ] ------------------------------------------------------------------------------- 0: 83 31 59 29 - 13607 144 39 [ 501760: 218103806 ] Linux files* 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused # disklabel sd0 # /dev/rsd0c: type: SCSI disk: SCSI disk label: TOSHIBA THNSNH12 duid: fa1d25c896e2d098 flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 15566 total sectors: 250069680 boundstart: 218605568 boundend: 250052608 drivedata: 0 16 partitions: # size offset fstype [fsize bsize cpg] a: 25164736 218605568 RAID b: 6282304 243770304 swap c: 250069680 0 unused i: 497664 2048 ext2fs j: 218103806 501760 ext2fs # disklabel sd2 # /dev/rsd2c: type: SCSI disk: SCSI disk label: SR CRYPTO duid: 2d77ce53eaf66a3f flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 1566 total sectors: 25164208 boundstart: 64 boundend: 25157790 drivedata: 0 16 partitions: # size offset fstype [fsize bsize cpg] a: 25157696 64 4.2BSD 2048 16384 1 c: 25164208 0 unused -- Matthieu Herrb