Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Dec 2024 18:26:50 -0700
From:      Kyle Taylor <kyle.a.taylor@gmail.com>
To:        Zaphod Beeblebrox <zbeeble@gmail.com>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: Struggle with bhyve and Kali.
Message-ID:  <CAKzM0vt5BSZG2VxvbbTJpL9p5V0ntGNaa8Qmk%2B=uk=F=KeSsFw@mail.gmail.com>
In-Reply-To: <CACpH0McihAPV5Mh2PBuu5Yh7x16q6OA%2BLDvYsUnGSD8KpT65PA@mail.gmail.com>
References:  <CACpH0McihAPV5Mh2PBuu5Yh7x16q6OA%2BLDvYsUnGSD8KpT65PA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000001abb990628b825bc
Content-Type: multipart/alternative; boundary="0000000000001abb980628b825bb"

--0000000000001abb980628b825bb
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

This happens to me when working with Debian on Bhyve (which Kali is based
on). Here's a description from the maintainer of the vm-bhyve port
explaining what's going on :
https://github.com/churchers/vm-bhyve/issues/336#issuecomment-573731049 .

The fix is to rename the /boot entries so the Linux bootloader knows where
to look for them back to their standard naming convention for UEFI. Here's
an example :
https://blog.tkrn.io/freenas-11-boot-failed-efi-misc-device-fix-debian/ .
You can do this on the first boot.


On Sat, Dec 7, 2024, 4:27=E2=80=AFPM 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 t=
he
> vm install command), and the first reboot (cd still attached) works fine.
>
> Subsequent reboots fail with this message:
>
> [image: image.png]
>
> ... which since Kali linux does install on hardware, seems to be Bhyve's
> problem.
>
> Help?
>

--0000000000001abb980628b825bb
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div>This happens to me when working with Debian on Bhyve=
 (which Kali is based on). Here&#39;s a description from the maintainer of =
the vm-bhyve port explaining what&#39;s going on : <a href=3D"https://githu=
b.com/churchers/vm-bhyve/issues/336#issuecomment-573731049">https://github.=
com/churchers/vm-bhyve/issues/336#issuecomment-573731049</a> .<br><br>The f=
ix is to rename the /boot entries so the Linux bootloader knows where to lo=
ok for them back to their standard naming convention for UEFI. Here&#39;s a=
n example : <a href=3D"https://blog.tkrn.io/freenas-11-boot-failed-efi-misc=
-device-fix-debian/">https://blog.tkrn.io/freenas-11-boot-failed-efi-misc-d=
evice-fix-debian/</a> . You can do this on the first boot.</div><div dir=3D=
"auto"><br></div><div dir=3D"auto"><br><div class=3D"gmail_quote" dir=3D"au=
to"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, Dec 7, 2024, 4:27=E2=80=
=AFPM Zaphod Beeblebrox &lt;<a href=3D"mailto:zbeeble@gmail.com">zbeeble@gm=
ail.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"=
ltr"><div>So... I&#39;ve installed kali a few times on bhyve.=C2=A0 Lately =
on 14.1 that is now 14.2 (no change there).=C2=A0 The graphical install pro=
ceeds fine (using the vm install command), and the first reboot (cd still a=
ttached) works fine.</div><div><br></div><div>Subsequent reboots fail with =
this message:</div><div><br></div><div><img src=3D"cid:ii_m4et0i930" alt=3D=
"image.png" width=3D"542" height=3D"109"><br></div><div><br></div><div>... =
which since Kali linux does install on hardware, seems to be Bhyve&#39;s pr=
oblem.</div><div><br></div><div>Help?<br></div></div>
</blockquote></div></div></div>

--0000000000001abb980628b825bb--
--0000000000001abb990628b825bc
Content-Type: image/png; name="image.png"
Content-Disposition: inline; filename="image.png"
Content-Transfer-Encoding: base64
Content-ID: <ii_m4et0i930>
X-Attachment-Id: ii_m4et0i930

iVBORw0KGgoAAAANSUhEUgAAArkAAACMCAYAAAB4drGDAAASyklEQVR4Xu3dYXLcuBEG0N3b+ki+
bZKp3amwaADdDYLSiHipyh+TBNGv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4FjL6f+TqvFdTef94KrJWAdB4/E3B742cDe+semU9ys36Z8Nfy
f1+X8WvVcL7+PE52/Jl1lPWrPDjOJUCAAAECBD5bYFnI/ewyzY4AAQIECBAgQGAnASF3p26rlQAB
AgQIECCwiYCQu0mjlUmAAAECBAgQ2ElAyN2p22olQIAAAQIECGwiIORu0mhlEiBAgAABAgR2EhBy
d+q2WgkQIECAAAECmwgIuZs0WpkECBAgQIAAgZ0EhNyduq1WAgQIECBAgMAmAkLuJo1WJgECBAgQ
IEBgJwEhd6duq5UAAQIECBAgsImAkLtJo5VJgAABAgQIENhJQMjdqdtqJUCAAAECBAhsIiDkbtJo
ZRIgQIAAAQIEdhIQcnfqtloJECBAgAABApsICLmbNFqZBAgQIECAAIGdBITcnbqtVgIECBAgQIDA
JgJC7iaNViYBAgQIECBAYCcBIXenbquVAAECBAgQILCJgJC7SaOVSYAAAQIECBDYSUDI3anbaiVA
gAABAgQIbCIg5G7SaGUSIECAAAECBHYSEHJ36rZaCRAgQIAAAQKbCAi5mzRamQQIECBAgACBnQSE
3J26rVYCBAgQIECAwCYCQu4mjVYmAQIECBAgQGAnASF3p26rlQABAgQIECCwiYCQu0mjlUmAAAEC
BAgQ2ElAyN2p22olQIAAAQIECGwiIORu0mhlEiBAgAABAgR2EhByd+q2WgkQIECAAAECmwgIuZs0
WpkECBAgQIAAgZ0EhNyduq1WAgQIECBAgMAmAkLuJo1WJgECBAgQIEBgJwEhd6duq5UAAQIECBAg
sImAkLtJo5VJgAABAgQIENhJQMjdqdtqJUCAAAECBAhsIiDkbtJoZRIgQIAAAQIEdhIQcnfqtloJ
ECBAgAABApsICLmbNFqZBAgQIECAAIGdBITcnbqtVgIECBAgQIDAJgJC7iaNViYBAgQIECBAYCeB
/wIkY3kABrJz8AAAAABJRU5ErkJggg==
--0000000000001abb990628b825bc--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKzM0vt5BSZG2VxvbbTJpL9p5V0ntGNaa8Qmk%2B=uk=F=KeSsFw>