xshellinc / iotit

Flashing Tool for SBCs
Apache License 2.0
25 stars 1 forks source link

How do I create custom image? #111

Open jackfrostwillbeking opened 6 years ago

jackfrostwillbeking commented 6 years ago

I made a raspberry pi OS image from micro SD card with dd command. But , I could not use this image with iotit version 0.4.3 . This image can be used for dd command to restore raspberry pi.

How do I create custom image which can use for iotit?

kawasaki-2:~ kawasakiya$ iotit -v
iotit version 0.4.3
kawasaki-2:~ kawasakiya$ iotit
   [1] Raspberry Pi
   [2] Espressif ESP
   [3] Intel® Edison
   [4] Nano Pi
   [5] Beaglebone
   [6] Toradex Colibri iMX6
   [7] ASUS Tinker Board
   [8] DragonBoard 410c
   [9] Custom board
[?] Select device type: 9
[+] Flashing Custom board
[?] Please provide image URL or path: /Users/kawasakiya/Desktop/backup/study-group-img/20180301/kingston8G.img
[+] Checking virtual machine
[?] iotit-box (default) is running, would like you stop this virtual machine? (y/yes, n/no): yes
[+] Using virtual machine
    Name - iotit-box
    Description - 
[+] Starting: \ 
[+] Using local image file for  Custom board
[+] Uploading kingston8G.img to virtual machine
[?] IoTit can't configure this image because no linux partitions were found inside. Do you want to proceed to image writing anyway? (y/yes, n/no):