Home About us Questions Send money Contacts Terms


http://acme.systems

How to format a bootable microSD

This tutorial illustrates how to format a microSD cards to be used with the Acme Linux boards.

Partitioning

The bootable microSD currently provided by Acme with Debian preinstalled is organized in 4 partitions:

Format type Label Size Mount point Description
1 FAT16 kernel 32MB /media/mmc_p1 Linux Kernel image and some optional file used by the bootloader at startup
2 EXT4 rootfs 800MB / Linux root filesystem
3 EXT4 data 800MB /media/data User data
4 SWAP swap 128MB Available for memory swap

Brand new microSDs tipically are formatted with a unique big FAT partition so the
operation to do are:

Let's see how to do using an Ubuntu 13.10 Linux PC.

Insert the microSD memory card in your Linux PC through a card adapter and start a terminal session.

Type:

$ dmesg
...
[13736.699438] sd 15:0:0:0: [sdb] 3911680 512-byte logical blocks: (2.00 GB/1.86 GiB)
[13736.700061] sd 15:0:0:0: [sdb] Write Protect is off
[13736.700067] sd 15:0:0:0: [sdb] Mode Sense: 4b 00 00 08
[13736.700072] sd 15:0:0:0: [sdb] Assuming drive cache: write through
[13736.702662] sd 15:0:0:0: [sdb] Assuming drive cache: write through
[13736.702671]  sdb: sdb1
[13736.709301] sd 15:0:0:0: [sdb] Assuming drive cache: write through
[13736.709309] sd 15:0:0:0: [sdb] Attached SCSI removable disk
$

This indicates that the unique FAT16 partition of microSD is allocated as /dev/sdb1 disk and mounted on /media/.

It is very important to well understand which is the device allocated for the microSD (in this case /dev/sdb ) to avoid to erase your main hard disk !!

Install GParted

GParted is a graphical utility to create partition on any memory support like hard-disk, pen drive and SD cards. To install it use Synaptic (System -> Administration -> Synaptic Package Manager) and install gparted.

When installed launch it from System -> Administraion -> Gparted menu.

Prepare the microSD

The following operations will destroy all the data contained on microSD so please be sure that you don't have any useful file on your microSD card.

Select /dev/sdb device checking if the size match with the size of your microSD then the /dev/sdb1 partition on it and unmount it using right click -> unmount.

Delete it using right click -> delete.

Create a new partition using the command right click -> New with these parameters:

Create a new partition using the command right click -> New with these parameters:

Create a new partition using the command right click -> New with these parameters:

Create a new partition using the command right click - New with these parameters:

Remove the microSD, wait about 10 sec and insert again. Tree new partitions will be mounted automatically on:

$USER will be replaced with your user name.

Now proceed to fill these partitions with the contents required by the Acme board.

MicroSD cards

Normally the microSD sold on this catalog are the following:

Unfortunately we can't ensure the availability of the same models so we could change them with an equivalent or better features/brand/model (usually Sony or SanDisk).

It is possible to make by yourself bootable microSD using blank cards following this article:


DEBM4G-ARIA : Debian microSD 4GB for Aria-G25 EURO 10.00

Bootable 4GB microSD with a preinstalled Debian Linux distribution for Aria G25 board.

Please note that this card contains Open Source code under GPL licence and you are buying just the memory card not the software on it. Any rights on this software or support are not included.

| Product description |


DEBM8G-ARIA : Debian microSD 8GB for Aria-G25 EURO 14.00

Bootable 8GB microSD with a preinstalled Debian Linux distribution for Aria G25 board.

Please note that this card contains Open Source code under GPL licence and you are buying just the memory card not the software on it. Any rights on this software or support are not included.

| Product description |


DEBM16G-ARIA : Debian microSD 16GB for Aria-G25 EURO 18.00

Bootable 16GB microSD with a preinstalled Debian Linux distribution for Aria G25 board.

Please note that this card contains Open Source code under GPL licence and you are buying just the memory card not the software on it. Any rights on this software or support are not included.

| Product description |


DEBM4G : Debian microSD 4G for FOX G20 EURO 10.00

Bootable 4GB microSD with a preinstalled Debian Linux distribution for FOX Board G20.

Please note that this card contains Open Source code under GPL licence and you are buying just the memory card not the software on it. Any rights on this software or support are not included.

| Product description |


DEBM8G : Debian microSD 8GB for FOX G20 EURO 14.00

Bootable 8GB microSD with a preinstalled Debian Linux distribution for FOX Board G20.

Please note that this card contains Open Source code under GPL licence and you are buying just the memory card not the software on it. Any rights on this software or support are not included.

| Product description |


DEBM16G : Debian microSD 16GB for FOX G20 EURO 18.00

Bootable 16GB microSD with a preinstalled Debian Linux distribution for FOX Board G20.

Please note that this card contains Open Source code under GPL licence and you are buying just the memory card not the software on it. Any rights on this software or support are not included.

| Product description |


MICROSD4G : Blank 4GB microSD HC card EURO 8.00

Blank 4GB microSD memory card.

| Product description |


MICROSD8G : Blank 8GB microSD card EURO 12.00

Blank 8GB microSD memory card.

| Product description |


MICROSD16G : Blank 16GB microSD card EURO 16.00

Blank 16GB microSD memory card.

| Product description |


MSD-HOLDER-1 : Micro SD holder push-push type EURO 1.00

1.10mm pitch microSD memory holder push-push type


MSD-HOLDER-2 : Micro SD holder hinge type EURO 2.00

1.10mm pitch microSD memory holder, hinge Type,


MSD-HOLDER-3 : Micro SD holder vertical type EURO 2.00

Micro SD holder vertical type


SD-HOLDER-1 : Simple SD holder EURO 1.50

Simple holder for SD card


MSD-READER : Micro SD Card Reader EURO 4.00

USB 2.0 microSD reader. Supports Micro SD HC and M2 Card

  • Ideal for hi-fi systems and car radios with USB Memory player feature
  • Compatible with Windows, Mac and Linux
  • Data transfer rate up to 480Mbps USB 2.0

| More info... |




Acme Systems srl
Via Aldo Moro 53 - 00055 Ladispoli (RM) - Italy
P.IVA/C.F. 08114831004
Tel +39.06.99.12.187 - Fax +39.06.622.765.31
http://www.acmesystems.it
Iscritta al Registro delle Imprese di Roma al n. 08114831004


Atmel© Certified Partner

Documentation Terms of Use
Acme Systems provides this documentation "as is" without warranty or guarantees of any kind. The maintainer of this site (Sergio Tanzilli), has gone to a great deal of effort into making this documentation as correct as possible. Acme Systems does not provide any direct support for the Open Source preinstalled software but does provide, through these pages and forum posts, all of the information required to obtain the sources, install, use and update the Open Source software that can be run on the Acme platforms. Please note that all of the preinstalled software, used on the Acme Systems products, are Open Source and you will need to check the license terms provided (usually the GPL) by each author before using it in any commercial or non-commercial product, by yourself. Before sending emails or calling the Acme staff please note that WE ARE MAINLY HARDWARE DESIGNERS and NOT LINUX GURUS and therefore ask that you post your questions directly to the forum listed below and ensure that all of the site contributors and large software community will read and reply to your questions.

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Creative Commons License