Debian Wheezy i386 in FreeBSD’s bhyve

Just managed to install a Debian Wheezy i386 in the FreeBSD’s bhyve, after a failed attempts with Fedora 21 server and openSuSE 13.2. Also, grub2-bhyve wasn’t reliable until I changed the arch to i386, and the type of medium to “netinstall” – that got it rolling.

One warning – the video is uncut, and thus suffers from a few half-minute gaps during the installation.

The FreeBSD used is FreeBSD 11.0-CURRENT amd64, because at the moment bhyve is functional for AMD CPUs only in CURRENT.

Starting a vm is still rather clumsy, but that is about to change:

root@sonar:/usr/src # cat /scripts/

grub-bhyve -m /tank/vmms/ -r hd0,msdos1 -M 4096M debian

sleep 8

bhyve -AI -H -P -s 0:0,hostbridge -s 1:0,lpc -s 2:0,virtio-net,tap0 -s 3:0,virtio-blk,/tank/hdds/vm1.img -l com1,stdio -c 4 -m 4096M debian
#bhyvectl –destroy –vm=debian
sleep 2
echo “destroy vmm with ‘bhyvectl –destroy –vm=debian'”

Leave a Reply

Your email address will not be published. Required fields are marked *