Page 1 of 1

Ubuntu22.04环境下SD卡的镜像烧录方法(How to burn the image of SD card in Ubuntu 22.04 environment)

Posted: 2024-07-04 13:41
by Luckfox Taylor
脚本链接来自:https://gist.github.com/Spiritdude/da36 ... 0a8b9f972f
脚本下载:
blkenvflash.zip (1.76 KiB)
Downloaded 367 times
1. 对比插入SD卡前后Ubuntu电脑的设备列表,可以确定SD卡对应的设备是/dev/sdb。
SD-1.png
2. 将脚本文件复制到SD卡镜像的目录下,并赋予脚本可执行权限。

Code: Select all

chmod +x blkenvflash
3. 写入镜像,当终端打印出 "done" 时,说明镜像写入成功。
SD-2.png

/*********************************************************************************************************************************/
The script link is from: https://gist.github.com/Spiritdude/da36 ... 0a8b9f972f
Script Download:
blkenvflash.zip (1.76 KiB)
Downloaded 367 times
1. Compare the device list on your Ubuntu computer before and after inserting the SD card to determine that the SD card corresponds to the device /dev/sdb.
SD-1.png
2. Copy the script file to the directory of the SD card image and grant the script executable permissions.

Code: Select all

chmod +x blkenvflash
3. Write the image. When the terminal prints "done," it indicates that the image has been successfully written.
SD-2.png

Finally, thank you to the script author for their contribution to the LuckFox community.