Hello all,

I have attempted to upgrade from 7.5 to 7.6 on a VPS with encryption. As /usr
was too small (< 1G left), I chose to re-install and re-partition. I downloaded
bsd.rd, checked it, etc. and rebooted it. 

Following the install steps, I was not offered the choice to encrypt, only to 
choose sd0 or sd1. With hindsight, I should probably have chosen sd1, 
re partitioned and called it a day.

What I did is tried to follow the OpenBSD FAQ 14 for softraid + this guide:
https://www.tumfatig.net/2020/fde-on-openbsd.amsterdam-opinionated-vm

I could not detach sd1 (bioctl -d sd1) with the following error: softraid0:
refusing to delete boot volume. So, I tried to erase entirely the drive,
thinking that since bsd.rd was in RAM, it would forget about the previous
volumes / partitions. It did not work, after using dd if=/dev/urandom
of=/dev/rsd0c bs=1m, using disklabel to create sd0a showed: disklabel:
DIOCWDINFO: Device busy when trying to write.

I have given up (and I think that's my last question of the series) and asked
for the VM to be reimaged but I wonder where that went wrong in trying to
re-install with bsd.rd.

Greetings,

Thomas

Reply via email to