View Single Post
  #1   (View Single Post)  
Old 29th February 2016
jjstorm jjstorm is offline
Package Pilot
 
Join Date: Nov 2014
Location: Buenos Aires, AR
Posts: 144
Default Full Disk Encryption

I plan on using FDE prior to the installation by dropping to shell. I am left with some questions.


Select (S)hell at the initial prompt.

Welcome to the OpenBSD/amd64 X.X installation program.
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? s

From here, you'll be given a shell within the live environment to manipulate the disks. For this example, we will install to the wd0 SATA drive, erasing all of its previous contents. You may want to write random data to the drive first with something like the following:
Code:
    # dd if=/dev/random of=/dev/rwd0c bs=1m
Can you please tell me what the r and c in front and after wd0 are?

What utilities are available in shell for me to find out what my drive ID is (i.e wd0, sd0, hd0, etc...) or will I have found that out during the install disk boot process?


Next, we'll initialize the disk with fdisk(8) and create the softraid partition with disklabel(8).
Code:
# fdisk -iy wd0
Writing MBR at offset 0.
# disklabel -E wd0
Label editor (enter '?' for help at any prompt)
> a a
offset: [2104515]
size: [39825135] *
FS type: [4.2BSD] RAID
> w
> q
No label changes.
Does this mean every partition created during installation will be a softraid partition?
Reply With Quote