View Single Post
  #3   (View Single Post)  
Old 1st March 2016
e1-531g e1-531g is offline
ISO Quartermaster
 
Join Date: Mar 2014
Posts: 628
Default

I have FDE OpenBSD install and Windows (currently unencrypted). So it is not really a FDE. Only whole OpenBSD is encrypted.
I can provide some examples.

my sd0 is physical device
sd1 is softraid/virtual SCSI device

Warning: These names can change if you for example boot from pendrive. For example I boot from pendrive to upgrade current. I must check what is called each of them before manually provisioning and upgrading.

Code:
sysctl hw.disknames                                                          
hw.disknames=sd0:3a9569f176005878,cd0:,sd1:e2687744d2198a2e
On sd0 I have one primary MBR partition for OpenBSD.
Code:
fdisk sd0 | grep -e OpenBSD -e size          
 #: id      C   H   S -      C   H   S [       start:        size ]
 3: A6  51663  20   7 -  60801  80  63 [   829967361:   146805807 ] OpenBSD     
 #: id      C   H   S -      C   H   S [       start:        size ]
 #: id      C   H   S -      C   H   S [       start:        size ]
It corresponds to disklabel partition for OpenBSD:
Code:
# disklabel sd0 | grep -e RAID -e fstype
#                size           offset  fstype [fsize bsize  cpg]
  a:        146805807        829967361    RAID
It is an end for physical part. Now virtual.
One MBR partition:
Code:
fdisk sd1 | grep -e OpenBSD -e size
 #: id      C   H   S -      C   H   S [       start:        size ]
*3: A6      0   1   2 -   9137 254  63 [          64:   146801906 ] OpenBSD
Code:
disklabel sd1 | grep -e unused -e ' /' -e size
# /dev/rsd1c:
#                size           offset  fstype [fsize bsize  cpg]
  a:          8388608               64  4.2BSD   2048 16384    1 # /
  c:        146805279                0  unused                   
  d:          2097152          8388672  4.2BSD   2048 16384    1 # /var
  e:         31457280         10485824  4.2BSD   2048 16384    1 # /usr
  h:        104858848         41943104  4.2BSD   2048 16384    1 # /home
There were others threads on this on this forum. For examples of how to manually provision softraid crypto device see:
http://daemonforums.org/showpost.php...50&postcount=2
Reply With Quote