Matthieu Herrb [matth...@herrb.eu] wrote: > 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 ? >
Doesn't installboot load the first-stage at the beginning of the OpenBSD partition according to disklabel? Grub is just replacing the MBR. I don't understand how crypto would make grub->first-stage step any different. (for that matter, I also don't understand how the first-stage can even load the second-stage /boot from an encrypted partition!!)