[Bug 284431] Bhyve Fails to Boot/Run Tails Linux

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 29 Jan 2025 09:12:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284431

            Bug ID: 284431
           Summary: Bhyve Fails to Boot/Run Tails Linux
           Product: Base System
           Version: 14.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bhyve
          Assignee: virtualization@FreeBSD.org
          Reporter: vermaden@interia.pl

Hi,

I have tried to run Tails amd64 6.11 with Bhyve but no luck.

I used Tails 6.11 image from here:
- https://download.tails.net/tails/stable/tails-amd64-6.11/

I first tried with 'vm-bhyve' but failed - BUG here:
- https://github.com/churchers/vm-bhyve/issues/584#issuecomment-2620485157

So I tried with 'plain' Bhyve and official 'vmrun.sh' Handbook way.

Used that for start command:

# cp tails-amd64-6.11.img /vm/TAILS.IMG/

# cp /usr/local/share/uefi-firmware/BHYVE_UEFI_VARS.fd /vm/TAILS.IMG/

# bhyve \
  -AHP \
  -s 0:0,hostbridge \
  -s 1:0,lpc \
  -s 2:0,virtio-net,tap1 \
  -s 3:0,virtio-blk,/vm/TAILS.IMG/tails-amd64-6.11.img \
  -c 2 \
  -m 6g \
  -s 29,fbuf,tcp=0.0.0.0:5999,w=1000,h=700,wait \
  -s 30,xhci,tablet \
  -l
bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd,/vm/TAILS.IMG/BHYVE_UEFI_VARS.fd
\
  TAILS.IMG

First - its not able to boot at all and drops to UEFI Shell.

Using method from here:
- https://www.jongibbins.com/solving-uefi-boot-problems-on-bhyve-freenas-vm/

I typed 'exit' on the 'Shell>' prompt and in Bhyve BIOS selected a physical
device to boot from.

Both 'Default' and 'Troubleshooting' options freeze the same way - will attach
a screenshot in a moment.

Not sure if I can add anything more - ask if needed.

Regards,
vermaden

-- 
You are receiving this mail because:
You are the assignee for the bug.