Date: Mon, 12 Feb 2024 09:14:17 +1030 From: Shane Ambler <FreeBSD@ShaneWare.Biz> To: Odhiambo Washington <odhiambo@gmail.com>, FreeBSD virtualization <freebsd-virtualization@freebsd.org> Subject: Re: OpenBSD vm troubles Message-ID: <7a890c20-47d8-e0d2-81bf-02468ddc4db6@ShaneWare.Biz> In-Reply-To: <CAAdA2WMoU0VuA-GRRga3BmnNjjL0=9U7TQ6vXxkqd7MFLiCwpA@mail.gmail.com> References: <CAAdA2WMoU0VuA-GRRga3BmnNjjL0=9U7TQ6vXxkqd7MFLiCwpA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/2/24 17:28, Odhiambo Washington wrote: > I am not sure what it is that I am doing wrong, but I am unable to install > OpenBSD. > > Here is how I am invoking the installer: > ``` > bhyve -A -D -H -P -S -u -w -c 8 -m 4G \ > -s 0,hostbridge \ > -s 3,ahci-hd,/usr/local/bhyve-vms/.iso/miniroot74.img \ > -s 4,virtio-blk,/usr/local/bhyve-vms/OpenBSD/openbsd74.img \ > -s 5,virtio-net,tap1 \ > -s 8,hda,play=/dev/dsp,rec=/dev/dsp \ > -s 20,virtio-rnd \ > -s 29,fbuf,tcp=0.0.0.0:5901,w=1680,h=1050,wait \ > -s 30,xhci,tablet \ > -s 31,lpc -l com1,stdio \ > -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \ > openbsd74 > ``` > > I end up with: > ``` > probing: pc0 com0 com1 mem[640K 3049M 128K 16M 3M 1024M] > disk: hd0 hd1* >>> OpenBSD/amd64 BOOTX64 3.65 > boot> > cannot open hd0a:/etc/random.seed: No such file or directory > booting hd0a:/bsd: 17163596read text > failed(0). will try /bsd > boot> > cannot open hd0a:/etc/random.seed: No such file or directory > booting hd0a:/bsd: 17163596read text > failed(0). will try /bsd > Turning timeout off. > boot> > ``` > Not sure what I need to do for the installer to run. You are at the boot prompt, so the openbsd kernel hasn't started. Try entering hd1d/bsd.rd The openbsd faq may help https://www.openbsd.org/faq/faq4.html Instead of using miniroot, I would try using the install74.iso -- FreeBSD - the place to B...Software Developing Shane Ambler
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7a890c20-47d8-e0d2-81bf-02468ddc4db6>