Hi All, I want to use NetBSD with the root partition encrypted. I have followed these instructions: https://wiki.netbsd.org/security/cgdroot/. After installing the NetBSD 9.0 (not Current but with the CD image), I am able to start the boot process but not to mount the boot partition (the error message is provided in the image taken from the VirtualBox screen found in attachment). I was not too surprised since I have created a guid partition booting from standard BIOS. The boot partition is then /dev/dk2, the crypted partition (with cgd) /dev/dk3 and the root partition of NetBSD /dev/dk4 (once the partition /dev/dk3 is decrypted). This scheme seems to be different from what is indicated in the documentation where it is mentioned the partition wd0a (and wd0f). In attachment, you will find alisting of the different partition schemes and the "ls" command done on the boot partition (/dev/dk2). Should I recompile the kernel module "cgdroot.kmod" to adapt the different devices used in the procedure? Should I do someting else? I have no more ideas and some pointers to the correct solution would be greatly appreciated. Thanks for your help. Best regards
Attachment:
ErrorMsgAtBoot.png
Description: PNG image
ݧOÓ"sëD ;¦?³