On Tue, Nov 30, 2021 at 3:01 PM Hiltjo Posthuma <hiltjo@codemadness.org> wrote:
>
> On Tue, Nov 30, 2021 at 02:36:22PM +0100, Luca Ferrari wrote:
> > Hi,
> > I'm trying to install 7.0 in a virtual box machine using full disk
> > encryption, following
> > <https://www.openbsd.org/faq/faq14.html#softraid>. I've done it on
> > real hardware without a problem, but I'm not understanding the error
> > in the virtual box machine. In particular, I cannot copy random data
> > on the disk before doing the effective encryption.
> > This is what I do, after entering the shell at the very first prompt:
> >
> >
> > # sysctl hw.disknames
> > hw.disknames=wd0:,cd0:,rd0:7c72fe60b4e2338d
> >
> > # ls /dev/rsd*c
> > /dev/rsd0c
> >
> > Uhm, why is sd0 there and does not appear in the hw.disknames?
> > However, I tried to configure the sd1 device:
> >
> > # cd /dev
> > # sh MAKEDEV sd1
>
> Hi,
>
> You probably need to "sh MAKEDEV sd0" here, the disk is hw.disknames above is
> wd0.
The same happens with sd0, I mean, dd reports "device not configured".
Moreover, as shown, sd0 is already there before MAKEDEV, that's why I
tried sd1.
Luca
No comments:
Post a Comment