# [FE training-materials-updates] Instruct to create an 8 MB partition on MMC

Michael Opdenacker michael.opdenacker at free-electrons.com
Wed Jan 23 15:59:07 CET 2013

Repository : git://git.free-electrons.com/training-materials.git

On branch  : master

>---------------------------------------------------------------

commit 658485a88c79ce42286400fbef929942522a347c
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Wed Jan 23 15:57:51 2013 +0100

Instruct to create an 8 MB partition on MMC

... instead of a 1 MB one. With the 8 GB MMC disks
that we use, we can't create 1 MB partitions any more.

Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>

>---------------------------------------------------------------

658485a88c79ce42286400fbef929942522a347c
.../sysdev-block-filesystems.tex                   |   11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/labs/sysdev-block-filesystems/sysdev-block-filesystems.tex b/labs/sysdev-block-filesystems/sysdev-block-filesystems.tex
index 6982ff1..81c9575 100644
--- a/labs/sysdev-block-filesystems/sysdev-block-filesystems.tex
+++ b/labs/sysdev-block-filesystems/sysdev-block-filesystems.tex
@@ -25,7 +25,7 @@ Recompile it with support for SquashFS and ext3.

Boot your board with this new kernel and on the NFS filesystem you
used in this previous lab.\footnote{If you didn't do or complete the
-  tinysystem lab, you can use the data/rootfs directory instead.}
+  tinysystem lab, you can use the \code{data/rootfs} directory instead.}

\section{Add partitions to the MMC card}

@@ -38,9 +38,14 @@ bootloaders lab):

\begin{itemize}

-\item One partition, of at least 1 MB, that will be used for the root
+\item One partition, 8 MB big
+  \footnote{For the needs of our system, the partition could even be
+  much smaller, and 1 MB would be enough. However, with the 8 GB SD
+  cards that we use in our labs, 8 MB will be the smallest partition
+  that \code{cfdisk} will allow you to create.},
+  that will be used for the root
filesystem. Due to the geometry of the device, the partition might
-  be larger than 1 MB, but it does not matter. Keep the \code{Linux}
+  be larger than 8 MB, but it does not matter. Keep the \code{Linux}
type for the partition.

\item One partition, that fills the rest of the MMC card, that will be