From c883874ddf2ace2ef2ebb3a5768511134678bbb3 Mon Sep 17 00:00:00 2001 From: Juro Bystricky Date: Fri, 6 Apr 2018 14:45:25 -0700 Subject: README: minor edit Mention un-mounting before flashing USB. Use sudo with "dd" Show progress with "dd" Signed-off-by: Juro Bystricky Signed-off-by: California Sullivan --- README | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'README') diff --git a/README b/README index 87e7de3f..b6278770 100644 --- a/README +++ b/README @@ -165,9 +165,21 @@ The BSP /binary directory or build contains bootable live images, which can be used to directly boot Yocto off of a USB flash drive. Under Linux, insert a USB flash drive. Assuming the USB flash drive -takes device /dev/sdf, use dd to copy the image to it. For example: +takes device /dev/sdf, use dd to copy the image to it. Before the image +can be burned onto a USB drive, it should be un-mounted. Some Linux distros +may automatically mount a USB drive when it is plugged in. Using USB device +/dev/sdf as an example, find all mounted partitions: - $ dd if=core-image-sato-intel-corei7-64.wic of=/dev/sdf + $ mount | grep sdf + +and un-mount those that are mounted, for example: + + $ umount /dev/sdf1 + $ umount /dev/sdf2 + +Now burn the image onto the USB drive: + + $ sudo dd if=core-image-sato-intel-corei7-64.wic of=/dev/sdf status=progress $ sync $ eject /dev/sdf -- cgit v1.2.3-54-g00ecf