Date: Wed, 29 Jan 2025 13:36:18 +0000 From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 284431] Bhyve Fails to Boot/Run Tails Linux Message-ID: <bug-284431-27103-UMxi6Ukt0o@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-284431-27103@https.bugs.freebsd.org/bugzilla/> References: <bug-284431-27103@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284431 Henrik Gulbrandsen <henrik@gulbra.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |henrik@gulbra.net --- Comment #2 from Henrik Gulbrandsen <henrik@gulbra.net> --- I am not sure about the image file you are booting from here, but I think I= can shed some light on the ISO trouble mentioned in the vm-bhyve bug report. Major Linux distros have support for booting from either UEFI or legacy BIO= S: $ xorriso -indev debian-live-12.9.0-amd64-gnome.iso \ -report_el_torito plain 2> /dev/null | grep "El Torito" El Torito catalog : 1700 1 El Torito cat path : /isolinux/boot.cat El Torito images : N Pltf B Emul Ld_seg Hdpt Ldsiz LBA El Torito boot img : 1 BIOS y none 0x0000 0x00 4 4085 El Torito boot img : 2 UEFI y none 0x0000 0x00 9536 1701 El Torito img path : 1 /isolinux/isolinux.bin El Torito img opts : 1 boot-info-table isohybrid-suitable El Torito img path : 2 /boot/grub/efi.img Tails, however, only includes the BIOS boot image: $ xorriso -indev tails-amd64-6.11.iso \ -report_el_torito plain 2> /dev/null | grep "El Torito" El Torito catalog : 101 1 El Torito cat path : /isolinux/boot.cat El Torito images : N Pltf B Emul Ld_seg Hdpt Ldsiz LBA El Torito boot img : 1 BIOS y none 0x0000 0x00 4 102 El Torito img path : 1 /isolinux/isolinux.bin El Torito img opts : 1 boot-info-table isohybrid-suitable If I remember correctly, there is a fallback option for reading the UEFI bo= ot image from the filesystem, but that will not always be supported. Bhyve will try to boot in BIOS mode. Unfortunately, the BIOS support in bhyve is very limited (read: does not work), especially when it comes to emulated graphics support. This failure to boot a Tails ISO is actually why I wrote a Video BIOS for b= hyve back in 2019. Nobody volunteered to review and integrate those patches, and= I did not want to maintain them indefinitely in a separate repo, so I am afra= id that it could take a lot of work to fix them for FreeBSD 14. Maybe this can be seen as a Tails bug, but bhyve has two different ways to = boot from an ISO file like this, and both of them apparently still fail. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-284431-27103-UMxi6Ukt0o>