patogit / lime-virtualbox

Instructions for run LibreMesh on VirtualBox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Setup VirtualBox Machine

Start VirtualBox add add a virtual machine (VM)

Choose Linux for your Operating System and 32-bit

Optionally decrease RAM size from 256 MB to something smaller (64mb is more realistic)

Choose previously converted image of LibreMesh

Create and change the network configuration

Just run and execute ip r to get the ip address

About

Instructions for run LibreMesh on VirtualBox