You can also simply dd the image to /dev/sda and reboot, but that still
doesn't solve the problem.  The bootup is hard to debug because the
console is KVM and uses viogpu.  As soon as we exit the EFI bootservices
the framebuffer is shut down for whatever reason.  Means we can only get
access to it again through viogpu, which happens pretty late.  I wish we
had a serial console, because Qemu/edk2 can do it, they just don't make
it available.  This is gonna be "fun" to debug without serial.

On Sat, Apr 15, 2023 at 11:33:39AM +0100, Chris Narkiewicz wrote:
> 
> I asked Hetzner to import install73.img and mounted it as VM CD-ROM,
> but it doesn't boot. I'm not sure if this is a bug either.
> 
> Cheers,
> Chris Narkiewic
> 
> On Thu, 2023-04-13 at 16:16 +0000, Mikolaj Kucharski wrote:
> > Hi,
> > 
> > I'm not sure does this belong to bugs@
> > 
> > However what I used in the past was Yaifo and I still use it every
> > few
> > years, but it takes too much effort to rebase it to -current, so I
> > didn't touch it for few years now, but for me it worked really
> > nicely.
> > 
> > https://github.com/jedisct1/yaifo
> > 
> > 
> > On Thu, Apr 13, 2023 at 09:00:23AM +0200, Peter J. Philipp wrote:
> > > Hi,
> > > 
> > > Yesterday hetzner.com came out with arm64 cloud instances, I tried
> > > one out.
> > > Here is what I found.  The images they give you a choice of does
> > > not include
> > > OpenBSD, so I had to get a ubuntu OS.  That's fine the EFI
> > > partition was
> > > already mounted.  Through trialing this I found the best way of
> > > getting the
> > > OpenBSD loader to boot was the following way:
> > > 
> > > 1. place miniroot73.img on the EFI partition root (/boot/efi/)
> > > 2. reboot
> > > 3. press escape to get to the BIOS, there is 3 options one is a
> > > configuration
> > >    option under 1, enter it.  I'm working off memory here I didn't
> > > save 
> > >    anything so take it with a grain of salt on exactness.  In this
> > > option is
> > >    an option to create a RAM drive from a file, go there and enter
> > > the
> > >    miniroot73.img (45MB).  The down arrows didn't work in this BIOS
> > > so it was
> > >    great that it wrapped around going up.
> > > 4. next go back into the main bios screen by pressing escape. 
> > > There is option
> > >    3 for boot options, enter it.  There is a boot from file option
> > > enter it.
> > >    Select the RAM drive and manouver your way to the bootaa64.efi
> > > file.  Press
> > >    enter.
> > > 5. OpenBSD loader now loads.  ls displays bsd and bsd.rd, the
> > > console is on
> > >    comcons0 or something like that.  Switching to fb0 works too. 
> > > Then when
> > >    pressing boot a blank screen happens.  Waiting a while no
> > > prompts and I
> > >    didn't try to blind type anything.  Doing this again with fb0
> > > doesn't
> > >    work either.
> > > 6. Full stop, I didn't get further.
> > > 
> > > I then deleted my instance as ubuntu is not good enough for me.  I
> > > guess we'll
> > > have to wait until the pros get to it.  Thanks!
> > > 
> > > Best Regards,
> > > -peter
> > > 
> > 
> 
> -- 
> +44 7502 415 180 (Phone, Signal, WhatsApp)
> @ezaquarii:etacassiopeiae.net (Matrix)

Reply via email to