Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Nov 2022 21:04:34 +1000
From:      Peter Grehan <grehan@freebsd.org>
To:        void <void@f-m.fm>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: trying to attach another disk to openbsd72 bhyve guest
Message-ID:  <ac286b9a-7719-28b7-8ab3-2f456034abb1@freebsd.org>
In-Reply-To: <2d2b2bdd-9cdb-40ea-878e-59f11f3f9cab@app.fastmail.com>
References:  <Y2J1JserFtD4NRrz@openbsd.local> <b7451392-404c-7fd0-3c4b-11d4a78e8ad1@freebsd.org> <2d2b2bdd-9cdb-40ea-878e-59f11f3f9cab@app.fastmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ac286b9a-7719-28b7-8ab3-2f456034abb1>