bhyve Proxmox VM getting stuck at GRUB command line

Hi,

Having trouble getting a proxmox 8.2 VM to boot smoothly using vm-bhyve on FreeBSD 14.1. VM keeps getting stuck on GRUB command line at boot.

proxmox.conf file

Code:
loader="grub"
cpu=4
memory=12G
network0_type="virtio-net"
network0_switch="public"
disk0_type="ahci-hd"
disk0_name="disk0.img"
grub_run_partition="1"
grub_run_dir="/boot/grub"
uuid="fc560712-xxx-xxxx-xxxx-xxxxxxxxxxxx"
network0_mac="xx:xx:xx:xx:xx:xx"

following grub commands allow the VM to boot

Code:
grub> set root=(lvm/pve-root)
grub> linux /boot/vmlinuz-6.8.4-2-pve root=/dev/mapper/pve-root
grub> initrd /boot/initrd.img-6.8.4-2-pve
grub> boot

running

Code:
root@pve1:~# update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.8.4-2-pve
Found initrd image: /boot/initrd.img-6.8.4-2-pve
Found memtest86+x64 image: /boot/memtest86+x64.bin
done

doesn't change the VM's behaviour.

Code:
root@pve1:~# ls /boot/grub/
fonts  grub.cfg  grubenv  i386-pc  locale  unicode.pf2  x86_64-efi

contents of grub.cfg

Code:
root@pve1:~# nano /boot/grub/grub.cfg

# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/000_proxmox_boot_header ###
### END /etc/grub.d/000_proxmox_boot_header ###

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true

Any help would be appreciated. Thanks
 
Back
Top