I forgot to add that Truecrypt had a version for Linux and at one time had a BSD version which I believe no longer is around or operative. Truecrypt was anonymously written and he closed up shop and just disappeared one day. Truecrypt has also had extensive code verification leading to additions in Veracrypt.
Here's a link for tcplay(derivative or Truecrypt).
and the Dragonfly BSD I linked above where it's use of tcplay is described.
I hope this is helpful All the questions that you asked in the summary have been answered on other systems with TC and VC. I know they're not Net but it could be a good start on how they've managed it.
I think you should do something that no one wants to do. Take as much as you can from a long term existing system. There's a program that started on win98(name change)(scramdisk) and moved to Win 2000(ECM) then on Win XP,...etc(Truecrpyt). It now is rewritten and called (Veracrypt) for Windows, Linux, Mac OS and Raspberry Pi ARMv7. The only thing stopping me from moving to one of the BSD's is reading truecrypt files. DragonflyBSD reads Truecrypt through tcplay a rewrite of truecrypt but DF is a little more experimental than I want for a desktop.
So there's two versions from the same Truecrypt source. Tcplay and Veracrypt. Veracrypt is a newer version that is audited and has corrected some small deficiencies of TC so is better but bigger, more complete and complex. The MacOS works through FUSE specifically OSXFUSE 2.5. Linux I think through DMcrypt. Here's what so good about Veracrypt/Truecrypt. It has encryption on the fly for not only regular drives but the OS system drive also, after it's running. This means not setting up encryption but encrypting the drive as the OS runs, then writing the boot with password enabled. It's very, very nice. I'm not saying that all these things need to be in place at once but using the code they have already written shows a pathway. Too start just use the code for equivalent encryption to Veracrypt(which has a compatibility function for Truecrypt). The important thing is Truecrypt has been around a long, long time and lots of people have this format and it works. For some reason people keep reinventing the wheel and will not use that which a lot of work has gone into already. Now I KNOW that porting this will not be easy but maybe NetBSD's FUSE can be used the same way that Veracrypt uses MacFUSE. Strip out the GUI stuff but know that it can be added and most of it is already set up for GTK in the MAC so the possibility remains to have it on a desktop with GUI using the lower level already done. Sorry so long but it complicated.
There is a good chance there is a bug that causes us to not deal with the smaller block size of sd correctly.
I did not test 32GB or 64GB (SDXC).
I've had a go at installing NetBSD on a Macbook Pro (mid 2012 model). I'm using NetBSD current as of 2016-10-25.
The NetBSD installer from current can install to the whole disk, but it doesn't use GPT. Regardless, it boots ok after a ~20 second delay. In order to remove the delay, I've followed the above instructions.
I had issues with running newfs_msdos from NetBSD. I rebooted to MacOS recovery ran newfs_msdos and then did the rEFInd install.
Assuming that rEFInd has been installed, when changing to hybrid mode, GPT fdisk now has a EFI module that can be copied to the EFI/tools directory. Then you can run gdisk directly from rEFInd. There is, now, no need to install MacOS to a USB stick.
The instructions seem to leave out installing the bootloader on the NetBSD slice.
Hello, nice news (even if published almost 2 years ago ) and information. I would like to ask you how complex could be the porting on the Odroid U3. Do you have some hints or links to find some information? Is there any work in progress?
Many thanks in advance for your support.
1.A way to know which audio device to select:
$ audiocfg -list
2.The line 'load-module module-detect' in /usr/pkg/etc/pulse/default.pa must be commented.
Hello buhara13 and cemkayali!
I've just updated the page according to your suggestion.
Please let me know if I've missed something!
Thank you very much!
NetBSD rpi 7.99.29 NetBSD 7.99.29 (RPI.201605191830Z) evbarm
I used 800*480 display. I have not hdmi display.
Unlike as in Linux, in NetBSD please note /dev/rsd0d represents full disk - not /dev/sdb