Erling Westenvik <erling.westen...@gmail.com> wrote:

> On Sat, Apr 16, 2016 at 11:02:36PM -0400, Predrag Punosevac wrote:
> > Bryan Everly wrote:
> > > 
> > > Boot the installer. Exit to the shell. Then do:
> > > 
> > > bioctl -c C -l /dev/sd0a softraid0
> > >
> > 
> > Unless I did something really stupid I would swear that I upgraded fully
> > encrypted laptop running 5.8 to 5.9 easier. 
> > 
> > I downloaded bsd.rd for 5.9 and put into /. Then I rebooted the laptop.
> > When prompted for boot password and entered it. Then I booted from
> > bsd.rd and chose the upgrade option. When upgrade manager asked me what
> > is the installation disk I pointed it to the crypto disk. In my case
> > physical device is
> > 
> > /dev/sd0
> > 
> > and crypto device is /dev/sd1
> > 
> > No softraid passwords were needed.
> 
> Actually it was but you referred to it as "boot password" above,
> something which may sound confusing to new users. The correct term would
> be "passphrase". There is no such thing as a "boot password" unless one
> refers to the machine's BIOS password.
> 
> After downloading a ramdisk (bsd.rd) kernel and after rebooting, I prefer
> to exit to the boot(8) prompt when it asks for the passphrase:
> 
> Using drive 0, partition 3.
> Loading.....
> probing: pc0 apm pci mem[639K 254M a20=on]
> disk: hd0+ sr0*
> >> OpenBSD/i386 BOOT 3.21
> Passphrase: <Enter, or Ctrl-C>
>             ^^^^^^^^^^^^^^^^^^
> Then I enter:
> 
> boot> boot sr0a:/bsd.rd
>       ^^^^^^^^^^^^^^^^^
> And the passphrase:
> 
> Passphrase: <passphrase>
>             ^^^^^^^^^^^^
> I easily get distracted and this way I make sure that the system doesn't
> start with the old system (bsd) kernel in case I miss the five second
> delay offered by boot(8). Having to wait for a system to finish booting
> just so you can log in and reboot again, can be an annoying waste of
> time.. :-)
> 
> Regards,
> 
> Erling

Hi Erling,

Thanks for posting. I was very tired when I sent the original message
and reading it over this morning I sounded like a drunken mathematician.
Of course one has to enter the passphrase. The only step I avoided
comparing to the original post was dropping into the shell before
starting the upgrade process. For the people who might be reading these
posts I was explicitly to state that I don't use a password to protect
my BIOS.

Predrag


> 
> >                                    After upgrade was finished I booted
> > into 5.9 and did usual sysmerge, cleaning files and upgrading packages.
> > 
> > Best,
> > Predrag

Reply via email to