Community discussions

MikroTik App
 
usdmatt
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 52
Joined: Tue Oct 29, 2013 6:18 pm

FreeBSD Bhyve

Wed Jun 13, 2018 4:34 pm

Probably not of interest to a lot of people but I was surprised to see a single line about bhyve on the CHR wiki saying it will not be supported as it's paravirtualised.

I was able to get CHR running using the raw image and the following configuration file for vm-bhyve. (I basically created a guest using the default config then changed the loader, grub commands and specified the downloaded raw image). I'm not a Linux expert and these grub commands could probably do with adjusting, if anyone has more in-depth RouterOS/Grub knowledge...

loader="grub"
cpu=1
memory=256M
network0_type="virtio-net"
network0_switch="public"
disk0_type="virtio-blk"
disk0_name="chr-6.40.8.img"
grub_run0="linux /vmlinuz-64 crashkernel=16M"
grub_run1="initrd /initrd.rgz"
 
jparsons
Frequent Visitor
Frequent Visitor
Posts: 83
Joined: Sat Feb 18, 2006 5:41 pm
Location: Maryville, TN
Contact:

Re: FreeBSD Bhyve

Fri Dec 28, 2018 4:52 pm

I would like to +1 your findings and suggest the wiki be updated. Bhyve is still in development but a great virtualization tool.
my settings that worked are:

loader="grub"
cpu=4
memory=4096M
network0_type="virtio-net"
network0_switch="public"
disk0_type="virtio-blk"
disk0_name="chr-6.43.8.img"
grub_run0="linux /vmlinuz-64 crashkernel=16M"
grub_run1="initrd /initrd.rgz"
 
mada3k
Long time Member
Long time Member
Posts: 682
Joined: Mon Jul 13, 2015 10:53 am
Location: Sweden

Re: FreeBSD Bhyve

Sat Apr 13, 2019 10:16 pm

kernel and initrd seems to have moved under /boot recently
grub_run0="linux /boot/vmlinuz-64 crashkernel=16M"
grub_run1="initrd /boot/initrd.rgz"
 
cronet
just joined
Posts: 1
Joined: Wed Dec 13, 2017 7:05 pm

Re: FreeBSD Bhyve

Sun Feb 06, 2022 3:14 am

Hi guys,
Can any of you share a quick guide how to do all this?

I am trying to install CHR on TrueNAS but can't find a way around it

Who is online

Users browsing this forum: No registered users and 10 guests