Re: Reinstalling kernel with full disk encryption
I fixed it by booting into snapshots install72.img (-stable kernel turns out to not boot -current) and going thorugh the upgrade process. installboot must've been what I needed to do. For the sake of the archive: Initially I couldn't upgrade because I exited to shell from the installer to decrypt the disk right at the prompt asking which disk to upgrade, and the installer didn't recognize the disk at that point. I had to exit at the keyboard layout prompt right beforehand to have it recognized. Thank you for the help. On December 29, 2022 10:00:30 AM UTC, Crystal Kolipe wrote: >On Wed, Dec 28, 2022 at 09:01:26PM +, Chris wrote: >> After that however, the bootloader no longer prompts me for the full disk >> encryption passphrase. Previously it was prompting me for the FDE passphrase >> before it tried to boot the broken kernel. > >I'm assuming that you only have a single disk in this machine, and that you >are not multi-booting with another OS. If this is not the case, let us know. > >Does the machine actually boot in to your old system now if you do: > >boot sr0a:/bsd > >at the boot prompt? > >Or does the kernel boot, but complain that it cannot find the root volume? > >If the machine does boot, you probably just need to run: > ># installboot -v sd1
Re: Reinstalling kernel with full disk encryption
On Wed, Dec 28, 2022 at 09:01:26PM +, Chris wrote: > After that however, the bootloader no longer prompts me for the full disk > encryption passphrase. Previously it was prompting me for the FDE passphrase > before it tried to boot the broken kernel. I'm assuming that you only have a single disk in this machine, and that you are not multi-booting with another OS. If this is not the case, let us know. Does the machine actually boot in to your old system now if you do: boot sr0a:/bsd at the boot prompt? Or does the kernel boot, but complain that it cannot find the root volume? If the machine does boot, you probably just need to run: # installboot -v sd1
Reinstalling kernel with full disk encryption
Hello misc, I tried to stop a sysupgrade before it updated anything by pressing the power button, but by the time the computer shut off the install script was already midway through updating the kernel. I know, bad idea on my part. I was left with an unbootable kernel. To repair it I booted into install72.img, decrypted the disk and copied over the 7.2 kernel from sets. The machine was running -current but I assume the 7.2 kernel would boot it as well. After that however, the bootloader no longer prompts me for the full disk encryption passphrase. Previously it was prompting me for the FDE passphrase before it tried to boot the broken kernel. How to fix this? Help would be much appreciated.