Page 1 of 1

Provisioning Multiple SD Cards

Posted: Tue May 03, 2016 4:56 am
by devgrinder
I need to provision several SD cards with an identical stack. It will include Raspbian, Chromium, unclutter, etc.

Once I've provisioned the first SD card by downloading and installing all of this software, is there a recommended method for cloning the card's contents on to the other cards, so I don't have to go through the download and install process for every card? I'm using a Mac to provision the cards.

Much thanks for any recommendations!

Re: Provisioning Multiple SD Cards

Posted: Tue May 03, 2016 5:29 am
by ghans
Read a image with Win32DiskImager and use the same
software to burn it again.

On Linux use dd or dcfldd , the latter supports writing to
multiple cards at once !


You might want to resize your partitions beforehand
since most SD cards are not exactly as big as advertised ,
and vary in their usable capacity (even from the same manufacturer) .
Win32DiskImager can't cope with a single byte difference between cards

Use GParted on a Live CD or on Linux directly to solve this.

ghans

Re: Provisioning Multiple SD Cards

Posted: Tue May 03, 2016 6:03 pm
by devgrinder
Can anyone recommend a solution that would work on Mac OS?

Re: Provisioning Multiple SD Cards

Posted: Tue May 03, 2016 6:13 pm
by stderr
devgrinder wrote:Can anyone recommend a solution that would work on Mac OS?
You can write to sdcards using dd on the mac as far as I know. Ideally though you'd be best set up being able to make changes and then copy to your cards. You can most easily chroot and run things like apt-get and whatever if you working on code that is supported by the system you are working with, so that would argue for doing this directly on a pi.

Re: Provisioning Multiple SD Cards

Posted: Tue May 03, 2016 6:28 pm
by fruitoftheloom
devgrinder wrote:Can anyone recommend a solution that would work on Mac OS?

http://www.tweaking4all.com/hardware/ra ... e-pi-baker

Re: Provisioning Multiple SD Cards

Posted: Wed May 04, 2016 10:28 am
by ghans
dd should work on Mac OS.


ghans

Re: Provisioning Multiple SD Cards

Posted: Thu May 05, 2016 1:46 am
by Graymalk
ghans wrote:dd should work on Mac OS.


ghans
It does! It works perfectly.

Re: Provisioning Multiple SD Cards

Posted: Thu May 05, 2016 7:25 am
by ghans
Where would a Mac user get dcfldd from ? Homebrew ?

ghans