[bootlin/training-materials updates] master: common/boneblack-sdcard-preparation.tex: use only /dev/mmcbkl0 (62b82715)

Michael Opdenacker michael.opdenacker at bootlin.com
Tue Jun 13 18:36:07 CEST 2023


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/62b8271541e1c6320b02e3c748d18828e397e728

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

commit 62b8271541e1c6320b02e3c748d18828e397e728
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Tue Jun 13 18:36:07 2023 +0200

    common/boneblack-sdcard-preparation.tex: use only /dev/mmcbkl0
    
    Access the SD card partitions through /dev/sdx is rare
    and actually already explained once.
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


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

62b8271541e1c6320b02e3c748d18828e397e728
 common/boneblack-sdcard-preparation.tex | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/common/boneblack-sdcard-preparation.tex b/common/boneblack-sdcard-preparation.tex
index efeab22c..130b2fad 100644
--- a/common/boneblack-sdcard-preparation.tex
+++ b/common/boneblack-sdcard-preparation.tex
@@ -25,9 +25,7 @@ etc.). {\bf Be careful: \code{/dev/sda} is generally the hard drive of
   your machine!}
 
 If your SD card is \code{/dev/mmcblk0}, then the partitions inside the
-SD card are named \code{/dev/mmcblk0p1}, \code{/dev/mmcblk0p2}, etc. If your SD
-card is \code{/dev/sdc}, then the partitions inside are named
-\code{/dev/sdc1}, \code{/dev/sdc2}, etc.
+SD card are named \code{/dev/mmcblk0p1}, \code{/dev/mmcblk0p2}, etc.
 
 To format your SD card, do the following steps:
 
@@ -38,8 +36,7 @@ To format your SD card, do the following steps:
 
 \item Erase the beginning of the SD card to ensure that the existing
   partitions are not going to be mistakenly detected:\\
-  \code{sudo dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=16}. Use
-  \code{sdc} or \code{sdb} instead of \code{mmcblk0} if needed.
+  \code{sudo dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=16}.
 
 \item Create the two partitions.
 
@@ -61,12 +58,10 @@ To format your SD card, do the following steps:
   \end{itemize}
 
 \item Format the first partition as a {\em FAT32} filesystem:\\
-  \code{sudo mkfs.vfat -a -F 32 -n boot /dev/mmcblk0p1}. Use \code{sdc1}
-  or \code{sdb1} instead of \code{mmcblk0p1} if needed.
+  \code{sudo mkfs.vfat -a -F 32 -n boot /dev/mmcblk0p1}.
 
 \item Format the second partition as an {\em ext4} filesystem:\\
-  \code{sudo mkfs.ext4 -L rootfs -E nodiscard /dev/mmcblk0p2}. Use
-  \code{sdc2} or \code{sdb2} instead of \code{mmcblk0p2} if needed.
+  \code{sudo mkfs.ext4 -L rootfs -E nodiscard /dev/mmcblk0p2}.
 
 \begin{itemize}
 \item \code{-L} assigns a volume name to the partition




More information about the training-materials-updates mailing list