- Thread Starter
- #26
So,If I have understood correctly,I should pass the whole disk like this ?
no problem for me. but then,since I don't see which partitions there are inside the disk,I'm not able to understand which kind of file system should I mount,because the disk appears like this :
Code:
bhyve -S -c sockets=2,cores=2,threads=2 -m 8G -w -H -A \
-s 0,hostbridge \
-s 1,virtio-blk,/mnt/$vmdisk'p2'/bhyve/os/Linux/impish-cuda-11-5-nvidia-495.img \
-s 2,nvme,/dev/nvd0 \
-s 3,passthru,5/0/0 \
-s 4,passthru,1/0/0 \
-s 8,virtio-net,tap0 \
-s 9,virtio-9p,sharename=/ \
-s 29,fbuf,tcp=0.0.0.0:5900,w=1440,h=900 \
-s 30,xhci,tablet \
-s 31,lpc \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_BHF_CODE.fd \
#-l com1,stdio \
vm0 < /dev/null & sleep 2 && vncviewer 0:0
no problem for me. but then,since I don't see which partitions there are inside the disk,I'm not able to understand which kind of file system should I mount,because the disk appears like this :
Code:
mario@marietto-BHYVE:/home/marietto# fdisk -l
Disk /dev/nvme0n1: 931,51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: bhyve-NVMe
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes