Page 1 of 1

All 16GB sd cards are not created equal

Posted: Tue Feb 14, 2017 11:41 am
by tdenson
I have created a an sd card containing Jessie and lots of customisation I have done, which I now want to duplicate to a number of sd cards. The problem is that I have used a 16GB sd card which is larger than the average and dd gives an error when it falls of the end. I had hoped that there was nothing useful at the end and that it would still boot but no such luck. Is there a straightforward way of shrinking my master card - or can I just copy all the contents to another and make the resulting one bootable by some means.

Re: All 16GB sd cards are not created equal

Posted: Tue Feb 14, 2017 11:46 am
by RaTTuS
the rpiclone https://github.com/billw2/rpi-clone IIRC
or make the file systems by hand and rsync / cp the relevant folders over with the use of USB / sdcard adapters

Re: All 16GB sd cards are not created equal

Posted: Tue Feb 14, 2017 11:53 am
by k-pi
I think you will be able to mount your 16GB image as a ISO9660 file system, then you can copy out your files.

Check 'man mount', but it would be something like

Code: Select all

sudo mount -t iso9660 16GBimage /mnt
then you should see you files under /mnt

Re: All 16GB sd cards are not created equal

Posted: Tue Feb 14, 2017 12:03 pm
by Martin Frezman
Why do you think that a working, bootable, Pi SD card would be in CDROM format?

Re: All 16GB sd cards are not created equal

Posted: Tue Feb 14, 2017 12:15 pm
by procount
The latest version of Jessie already includes PiClone (look in the menus for it) which works similarly to rpi-clone.
It will clone the SD card whilst it is live. (PINN includes this facility too, but allows you to copy the card whilst your OS is offline)
If you have 2 USB SD Card readers, you can clone from one to the other using either program.

Re: All 16GB sd cards are not created equal

Posted: Tue Feb 14, 2017 12:40 pm
by MizInIA

Re: All 16GB sd cards are not created equal

Posted: Tue Feb 14, 2017 4:57 pm
by tdenson
Thanks very much