diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2018-04-06 14:45:25 -0700 |
---|---|---|
committer | California Sullivan <california.l.sullivan@intel.com> | 2018-04-09 13:36:37 -0700 |
commit | c883874ddf2ace2ef2ebb3a5768511134678bbb3 (patch) | |
tree | 0f55aebb32faf184dfcce568e335ea1c8d99964c /README | |
parent | 5130b9006301694cd60f95bff46b17d0555deff8 (diff) | |
download | meta-intel-c883874ddf2ace2ef2ebb3a5768511134678bbb3.tar.gz |
README: minor edit
Mention un-mounting before flashing USB.
Use sudo with "dd"
Show progress with "dd"
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Diffstat (limited to 'README')
-rw-r--r-- | README | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -165,9 +165,21 @@ The BSP /binary directory or build contains bootable live images, | |||
165 | which can be used to directly boot Yocto off of a USB flash drive. | 165 | which can be used to directly boot Yocto off of a USB flash drive. |
166 | 166 | ||
167 | Under Linux, insert a USB flash drive. Assuming the USB flash drive | 167 | Under Linux, insert a USB flash drive. Assuming the USB flash drive |
168 | takes device /dev/sdf, use dd to copy the image to it. For example: | 168 | takes device /dev/sdf, use dd to copy the image to it. Before the image |
169 | can be burned onto a USB drive, it should be un-mounted. Some Linux distros | ||
170 | may automatically mount a USB drive when it is plugged in. Using USB device | ||
171 | /dev/sdf as an example, find all mounted partitions: | ||
169 | 172 | ||
170 | $ dd if=core-image-sato-intel-corei7-64.wic of=/dev/sdf | 173 | $ mount | grep sdf |
174 | |||
175 | and un-mount those that are mounted, for example: | ||
176 | |||
177 | $ umount /dev/sdf1 | ||
178 | $ umount /dev/sdf2 | ||
179 | |||
180 | Now burn the image onto the USB drive: | ||
181 | |||
182 | $ sudo dd if=core-image-sato-intel-corei7-64.wic of=/dev/sdf status=progress | ||
171 | $ sync | 183 | $ sync |
172 | $ eject /dev/sdf | 184 | $ eject /dev/sdf |
173 | 185 | ||