I tried to set ubuntu as the default linux chroot after changing the settings in /etc/rc.conf
and setting
The output of
But trying to chroot into ubuntu doesn't work
What is wrong and how do I fix it to make ubuntu the default linux emulator?
Code:
...
#linux_enable="YES" (yes this is commented out)
ubuntu_enable="YES"
...
and setting
compat.linux.emul_path: /compat/ubuntu
The output of
Code:
kldstat | grep linux
16 2 0xffffffff83501000 be88 linux_common.ko
25 2 0xffffffff8373a000 5220 linuxkpi_gplv2.ko
But trying to chroot into ubuntu doesn't work
Code:
sudo chroot /compat/ubuntu /bin/bash
Password:
ELF binary type "0" not known.
ELF binary type "0" not known.
chroot: /bin/bash: Exec format error
What is wrong and how do I fix it to make ubuntu the default linux emulator?