[FE training-materials-updates] labs/buildroot-basic: clarify the choice of partition table type
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sat May 23 09:08:58 CEST 2015
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=a95f3961bb02e6508fe740a54a26bc2d721893ec
>---------------------------------------------------------------
commit a95f3961bb02e6508fe740a54a26bc2d721893ec
Author: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Date: Sat May 23 09:07:50 2015 +0200
labs/buildroot-basic: clarify the choice of partition table type
Noticed by Grégory: cfdisk asks for the type of partition table (DOS
or GPT), tell people to use DOS.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
>---------------------------------------------------------------
a95f3961bb02e6508fe740a54a26bc2d721893ec
labs/buildroot-basic/buildroot-basic.tex | 25 ++++++++++++++++++-------
1 file changed, 18 insertions(+), 7 deletions(-)
diff --git a/labs/buildroot-basic/buildroot-basic.tex b/labs/buildroot-basic/buildroot-basic.tex
index 2be708b..54ce02e 100644
--- a/labs/buildroot-basic/buildroot-basic.tex
+++ b/labs/buildroot-basic/buildroot-basic.tex
@@ -318,13 +318,24 @@ To achieve this, do the following steps:
partitions are not going to be mistakenly detected:\\
\code{sudo dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=16}.
-\item Create the two partitions. We'll use the \code{cfdisk} tool for
- that:\\
- \code{sudo cfdisk /dev/mmcblk0}.\\
- Create a first small partition (16 MB or 32 MB) with type \code{e}
- ({\em W95 FAT16}) and mark it bootable. Create a second partition
- with the rest of the available space, with type \code{83} ({\em
- Linux}).
+\item Create the two partitions.
+
+ \begin{itemize}
+
+ \item Start the \code{cfdisk} tool for that:\\
+ \code{sudo cfdisk /dev/mmcblk0}.
+
+ \item Chose the {\em dos} partition table type
+
+ \item Create a first small partition (16 MB or 32 MB) with type \code{e}
+ ({\em W95 FAT16}) and mark it bootable
+
+ \item Create a second partition with the rest of the available space,
+ with type \code{83} ({\em Linux}).
+
+ \item Exit \code{cfdisk}
+
+ \end{itemize}
\item Format the first partition as a {\em FAT16} filesystem:\\
\code{sudo mkfs.vfat -F 16 -n boot /dev/mmcblk0p1}.
More information about the training-materials-updates
mailing list