The BIOS is fine because the problem doesn't happen on Linux. How do I load the kmod?Sounds like you don't have virt. support turned on in the BIOS or the vbox kmod isn't loaded.
How do I load the kmod?
kldload vboxdrv
I already had virtualbox-ose-kmod installed and I rankldload vboxdrv
Gotta install the kernel module first tho (I think that would be emulators/virtualbox-ose-kmod).
kldload vboxdrv
. So the problem has to be something else.pkg info --pkg-message virtualbox-ose
Yes, I am in the correct group too.Code:pkg info --pkg-message virtualbox-ose
Look at the top of the message. If you have bios is configured, kld loaded, maybe check your in the correct group?
Also, by any chance you didn't install a 32-bit version of FreeBSD?
# uname -a
FreeBSD fsd1 13.1-RELEASE FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212 GENERIC amd64
Yes. This is a hardware limitation. nested page tables and the like are offered for ONE layer of virtualization, no more.One should "forget about it" when a fix is not possible. Is this the case here?
This just sounds like trolling.Furthermore, FreeBSD's own hypervisor is bad because it only runs on FreeBSD. Not everybody likes isolation, walled gardens and burning bridges. Virtualbox works extremely well when it does and it runs on multiple platforms and that is very, very, very, very, very, very valuable. A developer should know that. They usually don't though.
Agreed, same attitude ("i want it to be like linux, otherwise it's bad") in other OP posts.This just sounds like trolling.
Wrong.Furthermore, FreeBSD's own hypervisor is bad because it only runs on FreeBSD.
It wasn't ready for my needs. Is it now?
Then, well, rather than wasting your time speculating on what will work or not based on your experiences inside a VM, try it on real hardware and you'll be fixed. It's not that complicated... if you're using a laptop where you can't add an internal disk for testing purposes, install FreeBSD to an external USB disk.I need to know if it works.
"Presently, VirtualBox runs on Windows, Linux, macOS, and Solaris hosts" - https://www.virtualbox.org/I really need Virtualbox.
"He disagrees with me and even presents reasons for disagreeing so it must be trolling."This just sounds like trolling.
"i want it to be like linux" are your words, not mine. I never said that.Agreed, same attitude ("i want it to be like linux, otherwise it's bad") in other OP posts.
There is a nested virt. feature in vbox. Did you try enabling that as well? I see it in phpvirtualbox never used it though.One should "forget about it" when a fix is not possible. Is this the case here?
I am running FreeBSD in a virtual machine to verify what works and what doesn't. The last time I tried FreeBSD it was on bare metal, it was many years ago and it was a disaster. It wouldn't even recognize my USB mouse which a Windows 95 DOS-based boot disk did. Multiple other things wouldn't work. It wasn't ready for my needs. Is it now?
I really need Virtualbox. I need to know if it works. I don't have any of that problem in Linux. I can create a 64-bit VM and create another 64-bit VM inside it, everything works. If Virtualbox can't create 64-bit VMs in FreeBSD, then I just need to know that I can't count on it. I just need to know where I'm treading.
Furthermore, FreeBSD's own hypervisor is bad because it only runs on FreeBSD. Not everybody likes isolation, walled gardens and burning bridges. Virtualbox works extremely well when it does and it runs on multiple platforms and that is very, very, very, very, very, very valuable. A developer should know that. They usually don't though.
There is a nested virt. feature in vbox. Did you try enabling that as well? I see it in phpvirtualbox never used it though.
I just tested it and I have 64 bit options when I create a new vm and booted 13.2 amd64 boot only ISO.
I can confirm. I have a VirtualBox test VM on a FreeBSD host running a VirtualBox FreeBSD VM inside it. It needs Nested VT-x/AMD-V enabled. Host machine has a AMD Ryzen 7 5700U CPU.There is a nested virt. feature in vbox. Did you try enabling that as well? I see it in phpvirtualbox never used it though.
I neither said it "must be trolling" nor did I say it was intentionally "trollish". Using wording like "very, very, very, very, very, very", "A developer should know that. They usually don't though." (the latter looking pretty much like a personal attack btw) are typical troll-style, whether intended or not."He disagrees with me and even presents reasons for disagreeing so it must be trolling."
But as others mentioned, there is no official support for VirtualBox on FreeBSD, and second, it is a port maintained by a port maintainer voluntarily. This make you depended on the maintainer.
The actual version in FreeBSD ports is 6.1.36, the latest available is at 7.0.6 (update in progress PR 266907, currently for version 6.1.42). There is no guarantee the port maintainer will continue to maintain the port.
Did you try the command line method?Interesting. But that "Enable Nested VT-x/AMD-V" box is disabled/grayed out in all my Virtualbox VMs. I can't enable it.
Looks forcing the config breaks it. So FreeBSD vbox might only have one level of nested virt. But then again my hardware is from 2011 too. YMMV.Did you try the command line method?