From nobody Mon Nov 7 11:04:34 2022 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 4N5T010jVZz4ggcw for ; Mon, 7 Nov 2022 11:04:49 +0000 (UTC) (envelope-from SRS0=LEJp=3H=freebsd.org=grehan@iredmail.onthenet.com.au) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) (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 4N5Szy6WDFz46x7 for ; Mon, 7 Nov 2022 11:04:46 +0000 (UTC) (envelope-from SRS0=LEJp=3H=freebsd.org=grehan@iredmail.onthenet.com.au) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id A264920B49B0 for ; Mon, 7 Nov 2022 21:04:35 +1000 (AEST) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 96D54213931E for ; Mon, 7 Nov 2022 21:04:35 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nt.com.au; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:references:to:content-language:subject:subject :user-agent:mime-version:date:date:message-id; s=dkim; t= 1667819075; x=1670411076; bh=uWO4GzRI+HfxyRakf2AUtdKq1UOvNLtmXdA uYHKlYhQ=; b=ivDL0lcqaAfbmJ1LUkQqmi9GyuJJhl9wWS7BwfhG6YqS2gJGrzH KAoXtSrrMgotSyXXO90aWQLMF41HJK5mlTbXb+ZRLxBD9Edkwq1FOMlrWwknjRHX Vz6MzgFP1E4UgI+cn0F/RfOdrWYRiycHfAVY2JqBv8zVl2oV3oW9rlGQ= Received: from iredmail.onthenet.com.au ([127.0.0.1]) by iredmail.onthenet.com.au (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id aiDIePcbbDLe for ; Mon, 7 Nov 2022 21:04:35 +1000 (AEST) Received: from [192.168.1.105] (otn-120-29-30-93.broadband.onthenet.net [120.29.30.93]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 58E30213931A; Mon, 7 Nov 2022 21:04:35 +1000 (AEST) Message-ID: Date: Mon, 7 Nov 2022 21:04:34 +1000 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 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: trying to attach another disk to openbsd72 bhyve guest Content-Language: en-US To: void Cc: freebsd-virtualization@freebsd.org References: <2d2b2bdd-9cdb-40ea-878e-59f11f3f9cab@app.fastmail.com> From: Peter Grehan In-Reply-To: <2d2b2bdd-9cdb-40ea-878e-59f11f3f9cab@app.fastmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=F+vMippN c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=X54PRCJPt2a+BTvxBMglHw==:17 a=IkcTkHD0fZMA:10 a=9xFQ1JgjjksA:10 a=1oLFAAXgBTvLSYcHDfcA:9 a=QEXdDO2ut3YA:10 X-Rspamd-Queue-Id: 4N5Szy6WDFz46x7 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nt.com.au header.s=dkim header.b=ivDL0lcq; dmarc=none; spf=none (mx1.freebsd.org: domain of "SRS0=LEJp=3H=freebsd.org=grehan@iredmail.onthenet.com.au" has no SPF policy when checking 203.13.68.12) smtp.mailfrom="SRS0=LEJp=3H=freebsd.org=grehan@iredmail.onthenet.com.au" X-Spamd-Result: default: False [-3.20 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FORGED_SENDER(0.30)[grehan@freebsd.org,SRS0=LEJp=3H=freebsd.org=grehan@iredmail.onthenet.com.au]; R_DKIM_ALLOW(-0.20)[nt.com.au:s=dkim]; RCVD_IN_DNSWL_LOW(-0.10)[203.13.68.12:from]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_GOOD(-0.10)[203.13.68.12:from]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_NA(0.00)[freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[grehan@freebsd.org,SRS0=LEJp=3H=freebsd.org=grehan@iredmail.onthenet.com.au]; R_SPF_NA(0.00)[no SPF record]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[nt.com.au:+]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FREEMAIL_TO(0.00)[f-m.fm]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:9313, ipnet:203.13.68.0/24, country:AU]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org] X-ThisMailContainsUnwantedMimeParts: N > Managed to "fix" it :D - the tl;dr version is "select GPT and not MBR" > because if GPT isn't selected, an msdos efi partition isn't created and > that's why my previous attempts (apart from the vm where I made a msdos > partition manually before installation) failed. > > This part in the initial installation process: > > # Use (W)hole disk MBR, whole disk (G)PT or (E)dit? [whole] G > # An EFI/GPT disk may not boot. Proceed? [no] <<<== this bit > > Is GPT "inferred" by BHYVE_UEFI.fd? No - the standard allows both GPT and MBR, and the EDK-based bhyve UEFI will handle that (as I think you saw when you manually created the FAT system partition). However, GPT is really the preferred partitioning scheme for EFI, and it's not surprising that OpenBSD isn't creating the system partition when MBR is selected. later, Peter.