Re: OpenBSD UEFI on QEMU emulator
On Mon, Oct 26, 2020 at 08:46:55AM -0600, Theo de Raadt wrote: > > There are two versions of this code, for the small and large install media. > > /usr/src/distrib/amd64/ramdisk_cd > > /usr/src/distrib/amd64/iso > > Someone who wants this should do it. > I see the Makefile uses the GNU tool mkhybrid, which does not support multiple el torito boot images, why not use the BSD makefs that is in OpenBSD tree to create the iso file, it supports multiple el torito boot images for both BIOS and UEFI, FreeBSD does it this way. -- kevin
Re: OpenBSD UEFI on QEMU emulator
On Sat, Oct 24, 2020 at 08:55:34AM +0100, Ottavio Caruso wrote: > On 24/10/2020 02:27, Kevin Shell wrote: > > Why I keep received 2 copies email again? > > Please don't To or Cc me. :-) > > > > Because this is how old school mailing lists work. To: the OP and cc: the > list, unless you use a 3rd party service like, for example, gmane.io. > gmane.io is not very stable, some mails I posted thru it just disappered. :-) > > Any decent mail client can be configured to remove or hide duplicates. > I use neomutt and have setup the Mail-Followup-To header, but some peopel's mailer not configured to deal with the header. -- kevin
Re: OpenBSD UEFI on QEMU emulator
On Fri, Oct 23, 2020 at 10:03:08PM -0400, Brad Smith wrote: > On 10/22/2020 11:22 PM, Jonathan Gray wrote: > > On Thu, Oct 22, 2020 at 10:37:31PM -0400, Brad Smith wrote: > > > On 10/22/2020 9:59 PM, Kevin Shell wrote: > > > > Hello misc@. > > > > > > > > I want to try out OpenBSD UEFI. > > > > How to install OpenBSD with UEFI boot on qemu? > > > The installer does prompt you during disk setup. > > > > The install68.iso has no UEFI support. > > > This is not true. > > It does not include a fat fs el torito image with efiboot only > > cdbr for mbr. > > Ya, my bad. I interpreted what he meant there differently. I thought he was > implying there was no EFI support at all post-install. On any X86 hardware > where I don't run Windows I typically keep CSM enabled. As I find I am more > likely to have to boot something that still requires MBR like from a USB key > to do firmware updates, though I have seen some EFI compatible update > images for some things. But I have heard of systems without CSM, since it is > optional. I see how this would be an issue with EFI only environments. > The OpenBSD .iso image file is not hybrid image(both BIOS/UEFI iso9660 and USB boot drive support), Linux, FreeBSD, NetBSD all produce hybrid iso images, I want to know why OpenBSD not do the same. :-) -- kevin
Re: OpenBSD UEFI on QEMU emulator
Why I keep received 2 copies email again? Please don't To or Cc me. :-) On Fri, Oct 23, 2020 at 07:58:27AM -0600, jpegb...@dismail.de wrote: > I would also like to point out that kevin doesn't have a virtual disk > to install openbsd to, just the openbsd iso. You can create one with > qemu-create I think, and then you should add that file to the drive > parameter aswell. I know. I just try out to see if OpenBSD can boot UEFI mode under qemu, so no need to create an image. I've booted OpenBSD under UEFI mode, but the font is very small, the qemu window is very tall, I can't see the bottom lines of texts.
Re: OpenBSD UEFI on QEMU emulator
Please don't To or Cc me, I'm on the list. On Fri, Oct 23, 2020 at 12:49:13PM +0900, YASUOKA Masahiko wrote: > On Fri, 23 Oct 2020 09:59:24 +0800 > Kevin Shell wrote: > > I want to try out OpenBSD UEFI. > > How to install OpenBSD with UEFI boot on qemu? > > The install68.iso has no UEFI support. > > My following command on Linux can't boot OpenBSD UEFI. > > > > qemu-system-x86_64 -enable-kvm \ > >-machine q35 \ > >-cpu host \ > >-smp cores=4,threads=1 \ > >-m 1G \ > >-bios /usr/share/edk2/ovmf/OVMF_CODE.fd \ > >-drive file=install68.img,format=raw > > Does the drive of "install68.img" appear on the boot menu on BIOS? > Oh finally I figure out how to boot OpenBSD from the UEFI shell. But the qemu window gets very height and can't resize and I can't see the bottom lines of texts, the font is *really* small. > At least on my linux machine, > > qemu-system-x86_64 -machine q35 -smp cores=4,threads=1 -m 1G > -bios /usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd > -drive file=install68.img,format=raw > > doesn't boot as well. The drive doesn't appear on the boot menu. > But by removing "-machine q35" from the line, it booted successfully. Maybe removing "-machine q35" makes qemu works in BIOS compatible mode, not UEFI mode? -- kevin
OpenBSD UEFI on QEMU emulator
Hello misc@. I want to try out OpenBSD UEFI. How to install OpenBSD with UEFI boot on qemu? The install68.iso has no UEFI support. My following command on Linux can't boot OpenBSD UEFI. qemu-system-x86_64 -enable-kvm \ -machine q35 \ -cpu host \ -smp cores=4,threads=1 \ -m 1G \ -bios /usr/share/edk2/ovmf/OVMF_CODE.fd \ -drive file=install68.img,format=raw -- kevin