Howdy! I'm new to FreeBSD (just installed yesterday). I have a Windows background and have never used a hypervisor before so please be patient with me. I also apologize if this has been asked many times before but I just can't get it to work.
I have a total of six HDDs I'm trying to pass through to a Linux guest. I edited the default.conf file located under /zroot/bhyve/.templates/ to look like this:
As you can probably tell, I have no idea what I'm doing. Am I even editing the right config file? Do I have to call any commands to update the VM after any changes are made to this config file? Am I even doing it right? Any help/article would be appreciated. Thanks in advance.
I have a total of six HDDs I'm trying to pass through to a Linux guest. I edited the default.conf file located under /zroot/bhyve/.templates/ to look like this:
Code:
loader="grub"
cpu=1
memory=512M
ahci_device_limit="8"
network0_type="virtio-net"
network0_switch="public"
disk0_type="ahci-hd"
disk0_name="disk0.img"
disk1_dev="custom"
disk1_opts="sectorsize=512"
disk1_type="ahci-hd"
disk1_name="/dev/ada0"
disk2_dev="custom"
disk2_opts="sectorsize=512"
disk2_type="ahci-hd"
disk2_name="/dev/ada1"
disk3_dev="custom"
disk3_opts="sectorsize=512"
disk3_type="ahci-hd"
disk3_name="/dev/ada2"
disk4_dev="custom"
disk4_opts="sectorsize=512"
disk4_type="ahci-hd"
disk4_name="/dev/ada3"
disk5_dev="custom"
disk5_opts="sectorsize=512"
disk5_type="ahci-hd"
disk5_name="/dev/ada5"
disk6_dev="custom"
disk6_opts="sectorsize=512"
disk6_type="ahci-hd"
disk6_name="/dev/ada6"
grub_run_partition="1"
grub_run_dir="/boot/grub"
As you can probably tell, I have no idea what I'm doing. Am I even editing the right config file? Do I have to call any commands to update the VM after any changes are made to this config file? Am I even doing it right? Any help/article would be appreciated. Thanks in advance.