[yocto] Writing the image to a USB Key.

Maryem Ayadi maryem.ayady at gmail.com
Fri Mar 9 04:53:16 PST 2018


Dear Mr, Mrs,

I built a minimal image for up board 2 and I've tried to write the image to
a USB Key to boot the hardware later. The problem is with partitioning ! I
copied both image and mkefidisk.sh file in the same directory and run this
command:


* ./mkefidisk.sh  /dev/sdb core-image-minimal-intel-corei7-64.ext4
/dev/mmcblk0*


And I got this :
















*WARNING: This script is deprecated and will be removed soon.Please
consider using wic EFI images instead.Image details    image:
'core-image-minimal-intel-corei7-64.ext4'     size: 13227008
bytes modified: 2018-03-09 12:12:19.306773676 +0100     type: Linux rev 1.0
ext4 filesystem data, UUID=c15962c7-cc72-4413-b478-96457cffeef6 (extents)
(large files) (huge files)Device details  device: /dev/sdb  vendor:
VendorCo   model: ProductCode         size: 8053063680 bytes*










*Prepare EFI image on /dev/sdb [y/N]? yBoot partition size:   20 MB
(/dev/sdb1)ROOTFS partition size: 7631 MB (/dev/sdb2)Swap partition size:
402 MB (/dev/sdb3)Partitioning installation media (/dev/sdb)Formatting
partitionsFailed to format /dev/sdb1*



Any ideas ?

Best regards,
Maryem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180309/71134a02/attachment.html>


More information about the yocto mailing list