Skip to content

How to install Yocto Image to USB Drive

AdlinkCCoE edited this page Mar 20, 2024 · 1 revision

USB Drive Deployment

There are two types of Linux image formats for the deployment

1. Using "hddimg" format under Linux environment:

1.1 Enter the following command and identify your USB drive :

lsblk

Note: the device name you are searching for and it should look like /dev/sdb or /dev/sdc

1.2 Enter the following command to deploy the image to your USB drive:

sudo dd if="image name" of="your device name" 
sync

     Note: For example, sudo dd if=adlink-liveimage-x86-intel-corei7-64.hddimg of=/dev/sdb

1.3 After completed, take USB drive to plug into your target platform. Then, please go BIOS Menu
      to configure USB drive as the first bootable device.


2. Using "ISO" format under Windows environment:

2.1 Rufus can be downloaded directly from Here and install on your host

2.2 To create a MBR bootable USB drive with Rufus, you have to make the following settings:

  • Drive: Select the USB drive you want to use
  • Partitioning scheme: Select "MBR Partitioning scheme"
  • File system: Here you have to select FAT32

    The USB drive is automatically created by clicking Start.

    

2.3 After completed, take USB drive to plug into your target platform. Then, please go BIOS Menu
      to configure USB drive as the first bootable device.

3. Using "wic" format under Linux environment:

3.1 Enter the following command and identify your USB drive :

lsblk

Note: the device name you are searching for and it should look like /dev/sdb or /dev/sdc

3.2 Enter the following command to deploy the image to your USB drive:

sudo bmaptool copy --bmap  <*.wic.bmap> <*.wic.bz> /dev/sdb 
sync

     Note: For example, sudo bmaptool copy --bmap  *.wic.bmap *..wic.bz /dev/sdb

1.3 After completed, take USB drive to plug into your target platform. Then, please go BIOS Menu
      to configure USB drive as the first bootable device.


Clone this wiki locally