560
edits
Changes
no edit summary
=='''<span class="mw-headline">Prepare a SD to boot</span>'''==
<div style="text-align: left;">{{Message/Information Message|message=The following steps has been tested using an Ubuntu 16.04}}</div>
<div style="text-align: left;">First of all it is important to detect which device is our microSD Card. In order to do that we can follow this instructions in a Linux terminal:</div>
<div style="text-align: left; padding-left: 30px;">'''1-''' Clean the ''dmesg'' information:</div>
==How to partition the MicroSD card==
<div style="text-align: left;">There are several ways to partition a MicroSD Card. In this post we are using the GParted tool that can be installed as:</div>
sudo apt-get install gparted
===<span class="mw-headline">General case process:</span>===
'''<span class="mw-headline">Finding your device</span>''' <span class="mw-headline">[[File:1.png]]</span> '''<span class="mw-headline">Create the MSDOS Partition Table </span>''' <span class="mw-headline">[[File:2.png]]</span> '''<span class="mw-headline">Erasing all data</span>''' <span class="mw-headline">[[File:SD4.png]]</span> '''<span class="mw-headline">Creating the boot partition</span>''' <span class="mw-headline">Adding the correct info</span> [[File:SD5.png]] '''<span class="mw-headline">Creating the new partition</span>''' [[File:SD6.png]] '''<span class="mw-headline"><span id="result_box" class="short_text" tabindex="-1" lang="en"><span class="">Characterizing</span></span> the Rootfs</span>'''[[File:SD7.png]] '''<span class="mw-headline">Applying changes</span>''' [[File:SD8.png]] <span class="mw-headline">'''Apply the change'''</span>[[File:SD2SD9.png]] '''Loading''' '''Once everything is done now we will select the boot flag''' '''<span class="mw-headline">Selecting boot flag</span>''' [[File:SD12.png]]
===<span id="Preparing_the_microSD_card" class="mw-headline">Preparing the microSD card</span>===
<pre>$ sudo dd if=/dev/zero of=/dev/mmcblk0 bs=1024 count=1024
[sudo] password for jdoe:</pre>
<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code"></div>
==<span id="GParted_and_Creation_of_Partitions" class="mw-headline">'''Make the partition of the SD'''<br /></span>==
Now we are going to see some steps with the two methods.
$ sudo mkfs.ext3 /dev/ -L rootfs
|}
After these steps we will make the root filesystem partition <span class="mw-headline"><br /></span>
|}
Finally we will make this.
{| width="auto" cellspacing="1" cellpadding="1" border="0" width="auto" align="center"
|-
||