Here's the script I've tried in rc.local and rc.securelevel bioctl sd4 > /dev/null 2>&1 But when I try to automate this with a script in rc.local or rc.securelevel it doesn't work. Then I exit the shell and system boots fine. I am able to drop to a shell and manually attach the encrypted container with the command: bioctl -c C -l /dev/sd3a softraid0. When the system boots it obviously complains it can't find /var /usr /tmp etc. The rest of the system is mounted on sd4 : /usr, /home, /tmp, /var etc. I then used bioctl to build an encrypted softraid on-top of sd3 this shows up as sd4. The root of the system / is mounted to sd2a. The second mirror is built from sd0d and sd1d this shows up as sd3 The first mirror is built from sd0a and sd1a this shows up as sd2 I've setup each SSD with two partitions a and d.įrom there I've built two mirrors using bioctl: I have a machine that is running OpenBSD, it has two SSDs in it: sd0 and sd1.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |