Operating System
Issue:
Any FreeBSD ISO image when attempting to install bHyve from a jail result in the following result.
Original this was within a Jail, but can reproduce the same natively on host.
ISO Versions Attempted:
Non-UEFI
Files:
/etc/devfs.rules
/etc/jail.conf
At this point confused.
Code:
OS: FreeBSD-13.2-R2
FreeBSD Crystal 13.2-RELEASE-p2 FreeBSD 13.2-RELEASE-p2 releng/13.2-n254627-4341433a673f GENERIC amd64
Issue:
Any FreeBSD ISO image when attempting to install bHyve from a jail result in the following result.
Original this was within a Jail, but can reproduce the same natively on host.
Code:
jail$ bhyveload -m1G -d /srv/.iso/FreeBSD-13.2-RELEASE-amd64-dvd1.iso test.crystal
Loading kernel...
/boot/kernel/kernel text=0x18aa98 text=0xdfd150 text=0x675154 data=0x140 data=0x1c38e8+0x43b718 0x8+0x18fe70+0x8+0x1ae449-
Loading configured modules...
can't find '/boot/entropy'
can't find '/etc/hostid'
ISO Versions Attempted:
Code:
FreeBSD-12.4-RELEASE-amd64-bootonly.iso
FreeBSD-13.2-RELEASE-amd64-bootonly.iso
FreeBSD-13.2-RELEASE-amd64-disc1.iso
FreeBSD-13.2-RELEASE-amd64-dvd1.iso
FreeBSD-14.0-BETA3-amd64-bootonly.iso
Files:
/etc/devfs.rules
Code:
[devfsrules_jails=7]
add include $devfsrules_hide_all
add include $devfsrules_unhide_basic
add include $devfsrules_unhide_login
add path 'vmm' unhide
add path 'vmm/*' unhide
add path 'nmdm*' unhide
add path 'bpf*' unhide
add path 'dev' unhide
add path 'zfs' unhide
add path 'vtnet*' unhide
add path 'epair*' unhide
add path 'tun*' unhide
add path 'tap*' unhide
/etc/jail.conf
Code:
bhyve {
mount.devfs; #mount devfs
devfs_ruleset="7"; #devfs ruleset for this jail
host.hostname = "bhyve"; # hostname
path = "/forest/fountain/bhyve/main"; # root directory
exec.clean;
exec.system_user = "root";
exec.jail_user = "root";
# Networking
vnet;
vnet.interface = "e0b_bhyve"; # vnet interface(s)
# Executions
exec.prestart += "jib addm bhyve ix0";
exec.poststop += "jib destroy bhyve";
exec.start += "/bin/sh /etc/rc";
exec.stop = "/bin/sh /etc/rc.shutdown";
exec.consolelog = "/var/log/jail_bhyve_console.log";
# Allowances
allow.raw_sockets;
allow.set_hostname;
allow.vmm;
# Security
securelevel = -1;
}
At this point confused.
Last edited by a moderator: