windows 10 host + virtualbox 6.1.16+ freebsd 12.2 guest, virtio-scsi failed to detect hard disk

Discussions about using non Windows and Linux guests such as FreeBSD, DOS, OS/2, OpenBSD, etc.
Post Reply
walterlll
Posts: 1
Joined: 11. Nov 2020, 13:34

windows 10 host + virtualbox 6.1.16+ freebsd 12.2 guest, virtio-scsi failed to detect hard disk

Post by walterlll »

Hi, everyone! this is my first post here!

I have tried with Debian 10.6 guest, no problem with virtio-scsi disk controller(virtualbox setting). With freebsd, at booting time, it stuck at mounting /dev/gpt/rootfs because there is no hard disk detected. ( With ide controlller virtualbox setting, ada0 device detected; scsi controller setting, da0 detected)


Using freebsd boot loader, After entering command >load /boot/kernel/kernel >lsmod , I found all virtio modules have already loaded in kernel. Even so, I still added "virtio_load="YES" virtio_pci_load="YES" virtio_scsi_load="YES" " these lines into /boot/loader.conf file. the result is same.

I googled a lot, seems it is because freebsd virtio_scsi.ko not support booting. also found windows 10 guest failed detect virtio-scsi disks.

If you need I do further troubleshooting procedule, feel free to ask. Any help would be appreciated!
grahamperrin
Posts: 57
Joined: 27. Apr 2008, 15:19

Re: windows 10 host + virtualbox 6.1.16+ freebsd 12.2 guest, virtio-scsi failed to detect hard disk

Post by grahamperrin »

Is this still an issue with 6.1.18? (Given the change log, I imagine so.)

Create new disk-less FreeBSD guest, release the virtual disk from the troublesome guest then try it with the new guest.
Post Reply