Installing Angstrom on a Hard Disk

=Summary= In most cases, you will boot Angstrom off a microSD card on the MinnowBoard. In this guide, we will see how to boot Angstrom off an external storage device such as USB flash drive, SATA, HDD etc.

''Note:- For the purpose of this guide, I am using a 4GB USB flash drive. These instructions can be replicated for any similar external storage device like SATA, HDD(Hard Disk) etc. Also, Ubuntu 12.04 LTS was the reference operating system for these instructions.''

=Procedure=

Step-1:

Download the latest Angstrom HDD image from here. Please note that this hdd image is different from a sd card image.

Step-2:

Download the script that will write this image to the external storage media from here. In our case, a USB flash drive.



Step-3:

Now extract the Angstrom image that you downloaded earlier by right clicking on it and clicking on the 'extract here' option. You should see the resultant image having only a .hddimg extension from the original .xz extension.





Step-4:

Now, identify the disk device filename for the USB flash drive. You can do this by opening the Disk Utility application in Ubuntu and clicking on the flash drive card entry. See the Device field to determine the raw device name of your flash drive. Note that this device name should specify an entire disk device (e.g, /dev/sde), and not an individual disk partition (e.g, /dev/sde1). In my case it is ''sdb".



Step-5:

Make the script that we downloaded earlier, executable, by typing the command below in the terminal:

chmod a+x mkefdisk.sh



Step-5:

Now, we write the image to the flash drive

sudo ./mkefidisk.sh   

In the above command:


 * DEVICE - This is the DEVICE to which you want to write the image to. It is the raw device ID which we found in Step -4.


 * HDDIMG - Name of the hard disk image

attached at boot, a USB or SATA device will be /dev/sda and an SD device will be /dev/mmcblk0.
 * TARGE DEVICE - The device off which MinnowBoard will boot, i.e., the external storage media which is a USB flash drive in our case. On the MinnowBoard, assuming only one storage device is

So, our command becomes

sudo ./mkefidisk.sh /dev/sdb Angstrom-development-GNOME-image-eglibc-ipk-v2013.06-minnow-2013.09.10.hddimg /dev/sda





Step-6:

If the process completed, successfully, you should get a similar message as shown below:



Step-7:

Now, remove the flash drive and plug it in the USB port on the MinnowBoard. Make sure that the microSD is removed from the MinnowBoard. Connect the required accessories to the MinnowBoard as documented here and power it on. First boot should take about 60 seconds.