Re: Struggle with bhyve and Kali.
- In reply to: Zaphod Beeblebrox : "Re: Struggle with bhyve and Kali."
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 08 Dec 2024 06:38:26 UTC
To check I did a graphical install of kali. After install, when bhyve exited, as root I did this (to let efiboot work in bhyve): mdconfig -a -t vnode -f kali.img # the filename I used for kali's disk mount -t msdosfs /dev/md0p1 /mnt cd /mnt/EFI mkdir BOOT cp kali/grubx64.efi BOOT/bootx64.efi cd umount /mnt I just use bhyve, not vm, so I manually started the VM after removing the .iso line. Choosing the default blanks the screen and shows just vnc's tiny cursor. So I killed it with bhyvectl --vm=kali --destroy and started it again. This time I chose the second option, that allows booting in "recovery mode" -- no X, just the console. Now I could login as the user I created & get a shell prompt. I don't use kali (or much linux) so I stopped. You're on your own at this point! May be you can ask on some kali related site.... > On Dec 7, 2024, at 8:37 PM, Zaphod Beeblebrox <zbeeble@gmail.com> 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. > > On Sat, Dec 7, 2024 at 7:23 PM Bakul Shah <bakul@iitbombay.org> wrote: > This may help: > https://record99.blogspot.com/2021/12/bdsdex-failed-to-load-boot0001-uefi-bhyve-sata-disk.html > > > > On Dec 7, 2024, at 3:27 PM, Zaphod Beeblebrox <zbeeble@gmail.com> wrote: > > > > So... I've installed kali a few times on bhyve. Lately on 14.1 that is now 14.2 (no change there). The graphical install proceeds fine (using the vm install command), and the first reboot (cd still attached) works fine. > > > > Subsequent reboots fail with this message: > > > > <image.png> > > > > ... which since Kali linux does install on hardware, seems to be Bhyve's problem. > > > > Help? >