On Sun, Dec 8, 2024 at 1:51 AM Chris Moerz <free...@ny-central.org> wrote:

>
>
> On Sat, 7 Dec 2024, Zaphod Beeblebrox wrote:
>
> > That doesn't seem to help for kali.  I found the binary, and I think it
> boots... but it goes from the 1080p
> > that I select for it down to some 4x3 resolution that is tiny.  Then I
> think X is up, but I don't get a
> > login or any other response to input other than a mouse cursor.
> >
> > Really, this should be documented (the uefi boot variables thing).  I
> suppose I'll keep messing with it ---
> > maybe booting with the full resolution and the correct file will work
> --- which will likely require me to
> > mount the efi partition on the host and mess around.
>
> I believe this actually is documented - at least in the Handbook:
>
> https://docs.freebsd.org/en/books/handbook/virtualization/#virtualization-bhyve-uefi
>
> I remember we added that note in the blue box particularly because of the
> behavior you're describing.
>
> If you have any recommandation or suggestion how to make it clearer, I'm
> certainly open to hear it!
>
>
If using vm-bhyve and uefi, make sure these are set in the vm-bhyve config
file prior to installing:
loader="uefi"
uefi_vars="yes"

In other words:
# vm create kali
Now edit kali/kali.conf to add the above and other tweaks to the settings
# vm install kali kali-linux-2024.3-installer-amd64.iso
Install kali and it reboots. Login and shut it down
# vm start kali
kali should boot fine now

You should now see a kali/uefi-vars.fd file in the virtual machine
directory.

Mark

Reply via email to