Solved Grub access bhyve-Linux machine

I have a bhyve Linux virtual machine and I'm trying to test another kernel image, but it always boots with the same image.
I would like to access Grub boot menu in order to select the correct boot entry, but bhyve VM boot doesn't seem to display any Grub, it boots directly.
I have tested cloud image and ISO disk installation methods and grub/uefi loaders, all of them behave same way.

By the way I'm using vm-bhyve as virtual machine manager.
Garrus # ~> freebsd-version -kru
14.0-RELEASE-p6
14.0-RELEASE-p6
14.0-RELEASE-p6
Garrus # ~> pkg info vm-bhyve
vm-bhyve-1.5.0_1
Name : vm-bhyve
Version : 1.5.0_1
Installed on : Wed Apr 17 08:18:26 2024 CEST
Origin : sysutils/vm-bhyve
Architecture : FreeBSD:14:*
Prefix : /usr/local
Categories : sysutils
Licenses : BSD2CLAUSE
Maintainer : churchers@gmail.com
WWW : https://github.com/churchers/vm-bhyve
Comment : Management system for bhyve virtual machines
Options :
BHYVE_FIRMWARE : off
EXAMPLES : on
GRUB2_BHYVE : off
TMUX : off
Annotations :
build_timestamp: 2024-04-09T07:01:59+0000
built_by : poudriere-git-3.4.1-1-g1e9f97d6
port_checkout_unclean: no
port_git_hash : b3aa1ea86
ports_top_checkout_unclean: no
ports_top_git_hash: c5cd82114
repo_type : binary
repository : FreeBSD
Flat size : 243KiB
Description :
A frontend for bhyve which provides the 'vm' command
Create/start/stop virtual machines easily
Bridged/NAT networking
BSD/Linux/Windows guest support
Garrus # ~> vm list
NAME DATASTORE LOADER CPU MEMORY VNC AUTO STATE
ubuntu-test2 default uefi 4 8G 192.168.69.4:5900 No Running (96136)

Any idea of how can I access grub menu on VM?

Best regards.
 
Back
Top