Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

IGEPv5 Ubuntu Distro

1,780 bytes added, 12:05, 17 March 2014
Install your image in a MicroSD Card
== Install your image in a MicroSD Card ==
 
First we need to prepare the microsd card, download this [http://downloads.isee.biz/pub/igepv5_ce/scripts/prepare-disk.sh script]<br>
 
Prerequisites: you must install these two packages before execute the script:<br>
<pre>sudo apt-get install bc dosfstools
</pre>
This script will create in your disk (mmc) two new partitions, first one named boot and the second one named rootfs.<br>
 
Check your microsd card:<br>
 
Insert the microsd card in your PC and after that execute lsblk as:<br>
<pre>
lsblk
 
sdb 8:16 1 3.8G 0 disk
├─sdb1 8:17 1 70.6M 0 part /media/boot
└─sdb2 8:18 1 3.7G 0 part /media/rootfs
</pre>
or is possible to look like this:<br>
<pre>root@localhost:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 29.8G 0 disk
|-sda1 8:1 0 100M 0 part
`-sda2 8:2 0 29.7G 0 part /
mmcblk0boot0 179:8 0 2M 1 disk
mmcblk0boot1 179:16 0 2M 1 disk
mmcblk0 179:0 0 7.3G 0 disk
|-mmcblk0p1 179:1 0 70.6M 0 part
`-mmcblk0p2 179:2 0 7.2G 0 part
</pre>
Execute the script as root:<br>
<pre>sudo ./prepare_disk.sh
 
root@localhost:~# ./prepare-disk.sh
sda 8:0 0 29.8G 0 disk
mmcblk0boot0 179:8 0 2M 1 disk
mmcblk0boot1 179:16 0 2M 1 disk
mmcblk0 179:0 0 7.3G 0 disk
Select the disk: [sdx or mmcblkx]
</pre>
In the first case you should use sdb and in the second case you should use mmcblk0, write the appropiate disk name ...
 
After that it will ask you if you are sure !!!
 
After the script execution you will found two new partitions
<pre>mmcblk0 179:0 0 7.3G 0 disk
|-mmcblk0p1 179:1 0 70.6M 0 part
`-mmcblk0p2 179:2 0 7.2G 0 part
</pre>
In this case p1 (boot)&nbsp;and p2 (rootfs).
== Install your image in a SATA SSD Disk ==