DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th February 2021
nasser nasser is offline
Port Guard
 
Join Date: Nov 2013
Posts: 24
Default Sysupgrade with full disk encryption

Hello,

I have just installed a snapshot of OpenBSD with full disk encryption. But now I have a problem with the upgrade process. sysupgrade does download the files correctly after which the computer reboots. The upgrade files are recognized during boot but the upgrade process gets stuck:

Code:
...
softraid0 at root
scsibus1 at softraid0: 256 targets
sd1 at scsibus1 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006>
sd1: 228941 MB, 512 bytes/sector, 468872498 sectors
root on rd0a swap on rd0b dumb on rd0b
erase ^?, werase ^W, kill ^U, intr ^C, status ^T

Welcome to OpenBSD/amd64 6.9 installation program.
Performing non-interactive uprgrade...
Choose your keyboard layout ('?' or 'L' for list) [default] default
Available disks are: sd1.
Which disk is the root disk? ('?' for details) [sd1] sd1
Checking root filesystem (fsck -fp /dev/sd1a)... ok.
Mounting root filesystem (mount -o ro /dev/sd1a /mnt)... ok.
After that nothing happens. I don’t even know how to get back to my desktop because it tries to upgrade… My suspicion is that this has to do the disk encryption. Does anybody got an idea how to resolve this issue?
Reply With Quote
  #2   (View Single Post)  
Old 27th February 2021
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,210
Default

It shouldn't be caused by encryption. I use sysupgrade with FDE and merely need to enter my passphrase after each boot.

To boot normally and stop the upgrade, force the selection of /bsd or /bsd.booted at the boot> prompt.
Reply With Quote
  #3   (View Single Post)  
Old 27th February 2021
albator albator is offline
Shell Scout
 
Join Date: Jul 2011
Posts: 97
Default

I also have a full disk encryption but don't use the sysupgrade tool.
As pointed out by jggimi you could interrupt the boot process.
Then you can type bsd.rd and upgrade manually.
Hopefully you'll be able to see what the problem is. You can interrupt the upgrade process via Ctrl C and get a shell.
Reply With Quote
  #4   (View Single Post)  
Old 27th February 2021
nasser nasser is offline
Port Guard
 
Join Date: Nov 2013
Posts: 24
Default

With bsd.booted I could boot again into my desktop. After deleting /home/_sysupgrade and /bsd.upgrade I am back to normal.

Maybe the problem was that I wanted to upgrade fresh snapshot. If sysupgrade won’t work later I will try the manual upgrade process. Thank you both.
Reply With Quote
Reply

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
Full Disk Encryption jjstorm OpenBSD Installation and Upgrading 3 30th May 2016 08:19 PM
Full disk encryption in NetBSD 7.0 RC2 bashrules NetBSD Installation and Upgrading 1 18th August 2015 02:11 AM
Reliability concerns on full disk encryption virtuvoos OpenBSD Security 4 31st October 2013 11:06 PM
FreeNAS 8.3.1 introduces full disk ZFS encryption J65nko News 0 22nd March 2013 02:54 AM
Full disk encryption with Loop-AES deviant085 OpenBSD Security 9 23rd November 2009 12:51 AM


All times are GMT. The time now is 08:45 PM.


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