You did exactly what you were supposed to do, but installboot was
missing the underlying device nodes for the softraid device. I just
committed a diff for this. Thanks for pointing it out.
/Alexander
On 05/15/13 09:56, tichodr...@free.fr wrote:
Hello everyone.
I failed to upgrade my server from 5.2 to 5.3, probably because of a
bad answer to the 'Root filesystem?' question.
Setup:
- HP ProLiant MicroServer N40L server, amd64, GENERIC kernel
- Two disks (sd0, sd1) in softraid (sd2)
- I followed the 'Upgrading by install kernel' process, with the 5.3
version of bsd.rd which I placed in /.
- at the 'Root filesystem? [sd0]' question, instead of accepting the
first physical disk detected, I answered 'sd2', thinking that I
shouldn't indicate a particular disk among the two physical ones. I
followed a similar advice found on a couple of blog pages [1, 2].
Result:
- At the end of the upgrade process, following message :
Failed to install bootblocks.
You will not be able to boot OpenBSD from sd2
- Indeed, can't boot anymore, boot process stalled with the following
message:
Using drive 0, partition 3
Loading...
- Powered off the server.
Questions :
- did I break things irremediably, hense will have to reinstall
everything from scratch and backups?
- alternatively, should I try something else like removing one disk or
the other, then try to rebuild the RAID?
Thanks in advance. I must confess that the first softraid building and
5.2 install was a real pain for me, and I still do not fully grasp
softraid, and the way it may interact with the upgrade process.
Olivier Debre
Refs.
[1]
http://spiritedblowfish.wordpress.com/2012/07/19/installing-openbsd-5-1-amd64-using-softraid/
[2] http://blog.cochard.me/2012/03/openbsd-51-installation-on-sofraid4.html