Translations:Создание microSD-карты с образом/7/en: различия между версиями
(Новая страница: «*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…») |
Matveevrj (обсуждение | вклад) |
||
(не показана 1 промежуточная версия этого же участника) | |||
Строка 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> | ||
* | *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. | ||
*An example of a command:<pre>umount /dev/mmcblk0p1</pre> | *An example of a command:<pre>umount /dev/mmcblk0p1</pre> | ||
*flash the card:<pre>sudo dd if=sdcard.dd of=/dev/mmcblk0 bs=4M</pre> | *flash the card:<pre>sudo dd if=sdcard.dd of=/dev/mmcblk0 bs=4M</pre> | ||
, where "sdcard.dd" is path to the previously downloaded unzipped image file. | , where "sdcard.dd" is path to the previously downloaded unzipped image file. |
Текущая версия на 12:43, 20 сентября 2023
- 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.