From nobody Sun Feb 11 22:44:17 2024 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TY2hX1K1Lz58r2h for ; Sun, 11 Feb 2024 22:44:28 +0000 (UTC) (envelope-from freebsd@shaneware.biz) Received: from mail-relay2.dca2.superb.net (mail-relay2.dca2.superb.net [66.148.95.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TY2hW6bmyz4b1H for ; Sun, 11 Feb 2024 22:44:27 +0000 (UTC) (envelope-from freebsd@shaneware.biz) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=superb.net; s=mailrelay; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=c2DhnBfejlTOOI+YtJMX0K/NLCUeMB1qToCuGFcvHIw=; b=WPfz8x45ieLvp9fy95Ieyv1wK9 bLHRFsLYcquENoIok680hfqQS38ZJW4/W0QXuR1N7uEVMkNCejTc9KKgzWEBKyaxqg3IlS2hSRuO3 uc+FEKaBcMZ+q3fOwMoovfIk7tSUXI5erpUilTzMUORe9586YEJqpgvbK5UQdVPUKQHmkbb6MhWdi SuhLMdsWmBgG8XTDaInYw/8YxGAuQlnQ0e8tGsQBFkQ7NkoJGbZyGpavhIlh8HGbnb+J1uMA9pIfC zfDIez09ajA6ZRsmE3nrbhb2+fwXHwOhUNIYmJA+xQBP8NXjP/e4e8CNESwkE9y9XhNECAF4WLNth 1U2W6D/w==; Received: from ppp230-11.static.internode.on.net ([203.122.230.11] helo=[192.168.9.155]) by mail-relay2.dca2.superb.net with esmtpsa (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (envelope-from ) id 1rZIYe-0006rb-RA; Sun, 11 Feb 2024 17:44:21 -0500 Message-ID: <7a890c20-47d8-e0d2-81bf-02468ddc4db6@ShaneWare.Biz> Date: Mon, 12 Feb 2024 09:14:17 +1030 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: OpenBSD vm troubles To: Odhiambo Washington , FreeBSD virtualization References: Content-Language: en-AU From: Shane Ambler In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:14361, ipnet:66.148.95.0/24, country:US] X-Rspamd-Queue-Id: 4TY2hW6bmyz4b1H X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated 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