Translations:Создание microSD-карты с образом/7/en

Материал из Wiren Board
Версия от 12:43, 20 сентября 2023; Matveevrj (обсуждение | вклад)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
  • insert the microSD card into the reader
  • find out the name of the device corresponding to the map. This is usually /dev/mmcblk0 or /dev/sdX (where X is the letter). This command can help
    dmesg | tail
    Do not confuse the device name! Incorrectly specifying the name of the device, you will lose all data on your computer forever!
  • unmount the map partitions that Linux mounted automatically:
    • if the device is called /dev/mmcblk0, the partitions are called /dev/mmcblk0p1, /dev/mmcblk0p2, etc.
    • if the device is called /dev/sdb, the partitions are /dev/sdb1, /dev/sdb2, etc.
  • An example of a command:
    umount /dev/mmcblk0p1
  • flash the card:
    sudo dd if=sdcard.dd of=/dev/mmcblk0 bs=4M

, where "sdcard.dd" is path to the previously downloaded unzipped image file.