![]() This may take quite some time depending on your SD card’s size and the data already existing on it (up to more than an hour). Go and have coffee, several cups… or pots… I can tell that not only by the size of it.Ĭreate a disk image by the command on your Desktop (or elsewhere If you feel like): sudo dd if=/dev/disk2 of=~/Desktop/raspberrypi.dmg ![]() This will give you a list something like this: ComputerName: User$ diskutil listĢ: Apple_APFS Container disk1 500.1 GB disk0s2Ġ: APFS Container Scheme - +500.1 GB disk1ġ: APFS Volume Macintosh HD 458.4 GB disk1s1 Clone An SD Card On Command LineĬonnect the SD card to the Mac, open Terminal and enter the following command to locate it: diskutil list I wanted to be able to clone a Raspberry Pi’s SD card to having some state that I could go back to if I had messed up to much in this Raspberry Pi’s OS.Īs I’m into learning as much command line stuff as possible this is an command line only approach using a Mac (MacOS 10.14.4).
0 Comments
Leave a Reply. |