IOT-LINK: Linux: Flash from external to internal storage

From Compulab Mediawiki
Jump to: navigation, search
  • This article provides instructions needed to install the Debian Linux image onto the internal storage.
  • The recommended installation procedure is using a host PC with a Debian-based operating system.
  • Run:
sudo cl-deploy
  • Select /dev/mmcblk0 as a destination device
Select a destination device
─────────────────────────────────────────────────────────────────────────────────────────

       ┌─────────────────────────────────────────────────────────────────────┐
       │  Available Devices:                                                 │
       │ ┌─────────────────────────────────────────────────────────────────┐ │
       │ │                                                                 │ │
       │ │                      (*) /dev/mmcblk0                           │ │
       │ │                                                                 │ │
       │ └─────────────────────────────────────────────────────────────────┘ │
       │                     <  OK  >        <Cancel>                        │
       └─────────────────────────────────────────────────────────────────────┘
  • The following warning message will show up.
       ┌──────────────────────────── WARNING ────────────────────────────────┐
       │ Src: /dev/sda -> Dst: /dev/mmcblk0                                  │
       │                                                                     │
       │ All data on /dev/mmcblk0 will be destroyed                          │
       │                                                                     │
       │─────────────────────────────────────────────────────────────────────│
       │                     <  Yes  >      <  No  >                         │
       └─────────────────────────────────────────────────────────────────────┘
  • Confirm installation onto internal media by choosing Yes
  • When installation is complete, the following message will show up:
Finished with success
─────────────────────────────────────────────────────────────────────────────────────────

       ┌─────────────────────────────────────────────────────────────────────┐
       │ Boot media has been deployed on /dev/mmcblk0                        │
       │                                                                     │
       │ Would you like to reboot the device now?                            │
       │                                                                     │
       │─────────────────────────────────────────────────────────────────────│
       │                     <  Yes  >      <  No  >                         │
       └─────────────────────────────────────────────────────────────────────┘
  • Press Yes to reboot the device to internal storage, unplug installation media when boot loader starts