LibreMesh on VirtualBox
How to compile and run a LibreMesh image in VirtualBox
Install VirtualBox
You can choose many ways to install VirtualBox, in case of Ubuntu just run sudo apt-get install virtualbox
or any of the options offered at the official website
Compile
To compile, install lime-sdk. Then run the procedures for
./cooker -b x86/generic --profile=Generic
And if all is well you can compile with the flavor and community settings you want:
./cooker -c x86/generic --profile=Generic --flavor=lime_defualt
Preparing the image
It is necessary to decompress and convert the image into VDI
Unpack
gunzip output/x86/generic/Generic/lime_default/lede-17.01.1-libremesh-x86-generic-combined-ext4.img.gz
Convert to native VirtualBox format
VBoxManage convertfromraw --format VDI output/x86/generic/Generic/lime_default/lede-17.01.1-libremesh-x86-generic-combined-ext4.img ./libremesh-17.01.1-vb.vdi