Community discussions

 
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
Frequent Visitor
Frequent Visitor
Posts: 75
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"
Manages some CCR's, RB750Gr3, RB922 and wAP's

Who is online

Users browsing this forum: No registered users and 3 guests