DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 4th June 2021
joao177 joao177 is offline
New User
 
Join Date: Jun 2021
Posts: 6
Arrow Full system encryption on already installed system

The FAQ describes how to perform a full disk encryption at the moment of the installation, in a way a passphrase is asked at boot time. My question is, could someone do the same AFTER the system was already installed?

Some information that might be useful:

Code:
% uname -a
OpenBSD localhost.localdomain 6.9 GENERIC.MP#473 amd6

% doas disklabel -h sd0 
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: WDC WD5000LPCX-0
duid: 60ba97023390d6f0
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 60801
total sectors: 976773168 # total bytes: 476940.0M
boundstart: 1128448
boundend: 294729728
drivedata: 0 

16 partitions:
#                size           offset  fstype [fsize bsize   cpg]
  a:        133594.4M          1128448  4.2BSD   4096 32768 26062 # /
  b:          9765.6M        274729728    swap                    # none
  c:        476940.0M                0  unused                    
  i:           550.0M             2048   MSDOS                    
  j:        144384.0M        513984512  ext2fs                    
  k:        107058.0M        294729728  ext2fs
Thanks in advance!

Last edited by J65nko; 4th June 2021 at 01:08 AM. Reason: Added [code] and [/code] tags ;-)
Reply With Quote
  #2   (View Single Post)  
Old 4th June 2021
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Hello and welcome!

The simple answer: No.

The longer answer: You would have to back up the system, wipe the drive's disklabel partitions, create a softraid drive, recreate your partitions, restore from backup, and recreate bootblocks.
Reply With Quote
  #3   (View Single Post)  
Old 4th June 2021
joao177 joao177 is offline
New User
 
Join Date: Jun 2021
Posts: 6
Default

Quote:
Originally Posted by jggimi View Post
Hello and welcome!

The simple answer: No.

The longer answer: You would have to back up the system, wipe the drive's disklabel partitions, create a softraid drive, recreate your partitions, restore from backup, and recreate bootblocks.
Thank you!
Reply With Quote
Reply

Tags
bioctl, encryption, installation, openbsd

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sysinst segfaults on Alpha ("file system full") - install help commodorejohn NetBSD Installation and Upgrading 2 22nd March 2020 07:46 AM
Compiling message: "write failed, file system is full"? Nureo OpenBSD Packages and Ports 13 19th July 2016 01:36 AM
Create MS/XP file system so it will be recognized on a XP system. FBSD Guides 0 1st May 2010 06:49 AM
Live OS with file system encryption? eurovive Other BSD and UNIX/UNIX-like 0 18th February 2010 06:56 PM
Which file system use to share data on Bsd system? aleunix Other BSD and UNIX/UNIX-like 2 1st June 2008 04:14 PM


All times are GMT. The time now is 09:11 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick