Ade Malsasa Akbar contact
Senior author, Open Source enthusiast.
Sunday, December 17, 2017 at 14:45


This short tutorial explains steps to write deepin GNU/Linux 15.5 ISO image into a MicroSD card using 'dd' command line. You'll see examples and screenshots here to avoid any mistake. If you don't have deepin 15.5 yet, just download it from this page. Finally, enjoy deepin!

Subscribe to UbuntuBuzz Telegram Channel to get article updates directly.


Insert Your Card Reader


Plug a MicroSD card into a USB card reader. Then, insert the card reader into a USB port on your computer. The drive will be shown on your file manager like picture below (see my "GNUDISK" device).



Where is The Drive Located?


First step: know the location of the MicroSD drive on your system. The location path should look like /dev/sdc or /dev/sdd or /dev/sde. To see it, run this command:
lsblk
and you should get result similar to this (see "GNUDISK" again):



finally, based on that result, my card is located at /dev/sdb as the parent drive of "GNUDISK" partition. Once again, the correct path is /dev/sdb and not /dev/sdb1.


Write


Second step: write the ISO image of deepin into the drive. If the path to drive is /dev/sdb (without number) then you should write it to /dev/sdb not to /dev/sdb1. The best result is by using GNU dd command, don't use Unetbootin or GNOME Disk Utility.
sudo dd bs=4M if=deepin.iso of=/dev/sdX status=progress && sync

where:
  • sudo: the command to run dd as administrator.
  • dd: the command to write the ISO image into the drive.
  • bs=4M: block size, read good explanation by Dexter Graphic here
  • if=deepin.iso: input file of the deepin ISO image file. Change this into your file name.
  • of=/dev/sdX: output drive with the location path /dev/sdX. Change the X into your drive letter, so that it be, for example /dev/sdb
  • status=progress: show real-time progress of copying (including how much time elapsed)
  • && sync: join an another command 'sync' after dd completed, sync will "flush" remaining data on RAM into the drive
You need to wait approximately 6-10 minutes until it's finished. Once finished, your shell comes back to shell prompt like this:


 

Run


Make sure your drive is plugged in, then, restart your computer to boot from USB. Finally, you should see deepin splash screen showing like picture below.