iDempiere

Clone SD On MacOS

2023-02-19 · 5 分鐘 · Ray Lee (System Analyst)

In edge computing we use Raspberry Pi, and the operating system is installed in SD. It is very likely that the SD card is damaged due to overheating or other factors, and the SD card must be replaced quickly and then reconnected. At this time we need to back up an SD card.

 brew install coreutils
 diskutil list
 sudo gdd of=/dev/rdisk4 if=sd_backup.dmg status=progress bs=16M
 sudo diskutil unmountDisk /dev/disk4
 diskutil list
 1014  sudo gdd of=/dev/rdisk4 if=sd_backup.dmg status=progress bs=16M

Reference:
https://blog.jaimyn.dev/the-fastest-way-to-clone-sd-card-macos/

English Version

In edge computing we use Raspberry Pi, and the operating system is installed on an SD card. It is very likely that the SD card may be damaged due to overheating or other factors, and the SD card must be replaced quickly and then reconnected. In such cases, we need to back up the SD card.

 brew install coreutils
 diskutil list
 sudo gdd of=/dev/rdisk4 if=sd_backup.dmg status=progress bs=16M
 sudo diskutil unmountDisk /dev/disk4
 diskutil list
 1014  sudo gdd of=/dev/rdisk4 if=sd_backup.dmg status=progress bs=16M

Reference:
https://blog.jaimyn.dev/the-fastest-way-to-clone-sd-card-macos/

日本語版

エッジコンピューティングでは Raspberry Pi を使用し、OSはSDカードにインストールされています。過熱やその他の要因によりSDカードが破損する可能性が高く、SDカードを迅速に交換して再接続する必要があります。このような場合に備えて、SDカードのバックアップが必要です。

 brew install coreutils
 diskutil list
 sudo gdd of=/dev/rdisk4 if=sd_backup.dmg status=progress bs=16M
 sudo diskutil unmountDisk /dev/disk4
 diskutil list
 1014  sudo gdd of=/dev/rdisk4 if=sd_backup.dmg status=progress bs=16M

参考資料:
https://blog.jaimyn.dev/the-fastest-way-to-clone-sd-card-macos/

Ray Lee (System Analyst)
作者 Ray Lee (System Analyst)

iDempeire ERP Contributor, 經濟部中小企業處財務管理顧問 李寶瑞