Category Archives: virtualbox

Intel Galileo – Compiling a Custom Linux Build

I’m referencing this blog post, most of the instructions are pretty much to the word, but with some additions:

What you need:

1st I built a VM for Linux, with 256gb VHDD, 4gb RAM and 4xCPUs, I used Virtual Box. Install the VB Guest Editions and reboot the vm. Login and do an apt update:

sudo apt-get update

Now install the Dev tools, According to the blog you need 7zip, not sure why but lets just do what the guy says:

sudo apt-get install build-essential p7zip-full

You will then need to install some other things…

sudo apt-get install git
sudo apt-get install texinfo
sudo apt-get install diffstat
sudo apt-get install gawk
sudo apt-get install chrpath

Now we can start the build processes…

Extract the contents of the “Board Support Package Sources for Intel Quark”. Find the file “meta-clanton_v0.7.5.tar.gz” and extract its contents to a directory on your VHDD.  In terminal browse to the directory and run these commands:

/meta-clanton_v0.7.5> ./
/meta-clanton_v0.7.5> source poky/oe-init-build-env yocto_build
/meta-clanton_v0.7.5> bitbake image-full

This procedure took 20 hours to compile on a 4xXeon,4gb ram VM….

ESX5 Staging System
This beauty is the result of hours of head banging. I have been slowly going through the VCP5 Study guide, in order to better acquaint myself with VMWare Products and see if I’m missing any knowledge. One thing that has always elude me was PXE Booting bare metal servers. Viola. I present to you the following…. This beast contains:

  • 2 x Intel barebone servers, eachwith 16Gb RAM, Dual Quad core Xeon 2.3Ghz Processors. Dual Gigabit LAN etc…
  • A regular PC with 8 x 1TB drives set up in RAID0 using Openfiler. I use open filer because its a quick test bed that allows me to use soft-RAID and has a software iSCSI imitator. This machine has 3 x 2Tb Data stores set up in 1 volume group
  • 1 regular router with a gigabit switch
  • The bottom server has an 8gb USB stick in the back that boots up ESXiv5. This was the 1st server set up that will hold the rest of the infrastructure


Above is a diagram of the entire system. The bottom server has a VM running Windows 2008 Server R2 x64 with:

  • DHCP Server role configured with the following 2 options
    • Option 066 Boot Server Host Name: IP_ADDRESS_OF_TFTP_SERVER
    • Option 067 BootFile Name: undionly.kpxe.vmw-hardwired
  • TFTP Server, i used tftpd64 by ph. jounin
  • Vcentre, Power CLI and the Auto Deploy module loaded into Vcentre

You need to log into Power CLI and connect to the Vcentre Server, in this case the bottom one…

Run Power CLI in “Administrator Mode” and run these commands

  • Add-EsxSoftwareDepot “”
  • $DefaultSoftwareDepots
  • Get-EsxImageProfile (We will use: ESXi-5.0.0-20120302001)
  • $img = Get-EsxImageProfile -Name “ESXi-5.0.0-20120302001-standard”
  • $rule = New-DeployRule -Name “DeployRule01” -Item $img -Pattern “ipv4=”
  • Add-DeployRule -DeployRule DeployRule01

Now connect to the vcentre server using the vsphere client, goto HOME and click on Auto Deploy. Download the TFTP configuration ZIP. Extract the ZIP into the root of your TFTP server

The Top Server is then configured to boot via network. And BAM! its like magic!