Translations:Создание microSD-карты с образом/7/en: различия между версиями

Материал из Wiren Board
(Новая страница: «*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 lette…»)
 
Строка 2: Строка 2:
*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  <pre>dmesg | tail</pre>
*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  <pre>dmesg | tail</pre>
*:<b> Do not confuse the device name! Incorrectly specifying the name of the device, you will lose all data on your computer forever!</b>
*:<b> Do not confuse the device name! Incorrectly specifying the name of the device, you will lose all data on your computer forever!</b>
*umount partitions of the map I remontiroval Linux automatically:
*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 /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.
**if the device is called / dev /sdb, the partitions are/dev /sdb1,/dev /sdb2, etc.

Версия 12:42, 20 сентября 2023

Определение сообщения (Создание microSD-карты с образом)
*вставьте microSD-карту в ридер
*узнайте название устройства, соответствующего карте. Обычно это /dev/mmcblk0 или /dev/sdX (где X - буква). В этом может помочь команда <pre>dmesg | tail</pre>
*:<b> Не перепутайте название устройства! Неправильно указав название устройства, вы навсегда потеряете все данные на вашем компьютере!</b>
*отмонтируйте разделы карты, которые Linux примонтировал автоматически:
**если устройство называется /dev/mmcblk0, то разделы называются /dev/mmcblk0p1, /dev/mmcblk0p2 и т.д.
**если устройство называется /dev/sdb, то разделы называются /dev/sdb1, /dev/sdb2 и т.д.
*:Пример команды:<pre>umount /dev/mmcblk0p1</pre>
*запишите образ на карту:<pre>sudo dd if=sdcard.dd of=/dev/mmcblk0 bs=4M</pre>
, где "sdcard.dd" - путь к ранее скачанному распакованному файлу с образом.
  • 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.