Install Linux CentOS7 or Debian in FreeBSD

Which is the easiest way to use a basic CentOS7 (text way) inside FreeBSD?
For me it's ok also if I can chroot inside a directory and then use Linux.
I don't want to use virtualbox or a heavy virtualization system.

Thanks
 
I don't understand if I can install for example debian base system inside a directory, and then I chroot inside and I can use apt-get and install software inside that system
 
FreeBSD is not a Linux, so you cannot run Linux stuff directly on FreeBSD. In order to be able to do that you require the Linux compatibility layer. But as this is, in essence, an emulation it's not going to be 100% compatible. If you need 100% compatibility using a virtual machine is a better solution.
 
What CPU does the machine have? It does indeed require certain features to work and your CPU appears to be lacking the most important one.
 
hw.machine: amd64
hw.model: Intel(R) Xeon(R) CPU W3550 @ 3.07GHz
hw.ncpu: 4
hw.machine_arch: amd64
 
Looks like the EPT and POPCNT flags are present. Do you have the vmm.ko module loaded?

I would check troubleshooting section here https://wiki.freebsd.org/bhyve and also availability of any BIOS upgrades for your motherboard, which may also contain CPU microcode updates. YMMV, but I had succeeded many times just with flashing newer BIOS when I had problems with hot new features at given time like UEFI or virtualization. On the other hand, I also bricked several expensive boards this way and have to resort to external flash programmer and/or the vendor support department :)
 
The W3550 is a Nehalem ("Bloomfield" model) so doesn't support the 'unrestricted guest' VT-x feature aka UG, which is required by bhyve to boot Linux guests.

UG didn't arrive until Westmere, the Nehalem follow-on model.

For Nehalems, at best you can boot single-processor 64-bit FreeBSD guests.
 
and what about my laptop processor:
laptop hp 250 g5 processor i5 7200u
If I install FreeBSD will byhave work?
 
Back
Top