FreeBSD-12.3
vm-bhyve-1.4.2
Rocky Linux 9.0
I am trying to install Rock Linux (RL) into a Bhyve VM. What I need help with is how do I determine what GRUB commands are required to get this to happen. Does someone have RL installed into a Bhyve VM and would care to share their configuration file settings; and, how these were determined?
I have looked at grub.cfg in the ISO image. From this I have set these values:
running the
At this point I am stuck. What are the next grub commands to continue the installation? Evidently (host)/ refers to the host filesystem. I infer that (hd0) is the disk system for the vm but it is empty and has no partitions:
vm-bhyve-1.4.2
Rocky Linux 9.0
I am trying to install Rock Linux (RL) into a Bhyve VM. What I need help with is how do I determine what GRUB commands are required to get this to happen. Does someone have RL installed into a Bhyve VM and would care to share their configuration file settings; and, how these were determined?
I have looked at grub.cfg in the ISO image. From this I have set these values:
Code:
loader="grub"
cpu=4
memory=6G
network0_type="virtio-net"
network0_switch="public"
disk0_type="virtio-blk"
disk0_name="disk0.img"
grub_install0="linux /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Rocky-9-0-x86_64-dvd quiet"
grub_install1="initrd /images/pxeboot/initrd.img"
running the
vm
and using vm console
gets me to this:
Code:
grub>
grub> ls
(hd0) (host)
grub> ls (hd0)/
Device hd0: No known filesystem detected - Total size 134217728 sectors
grub> ls (host)/
etc/ net/ bin/ usr/ boot/ lib/ COPYRIGHT rescue/ proc/ root/ home/ opt/ entropy
sys mnt/ zroot/ tmp/ libexec/ cogrub>
grub>
grub>
At this point I am stuck. What are the next grub commands to continue the installation? Evidently (host)/ refers to the host filesystem. I infer that (hd0) is the disk system for the vm but it is empty and has no partitions:
Code:
grub> ls (hd0)/
error: unknown filesystem.
grub> ls (hd0,1)/
error: disk `hd0,1' not found.