tdenson
Posts: 153
Joined: Tue May 13, 2014 1:51 pm

All 16GB sd cards are not created equal

Tue Feb 14, 2017 11:41 am

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.

User avatar
RaTTuS
Posts: 10531
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: All 16GB sd cards are not created equal

Tue Feb 14, 2017 11:46 am

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
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

k-pi
Posts: 930
Joined: Sun Feb 12, 2017 1:46 pm
Location: Upper Hale, Surrey, UK.

Re: All 16GB sd cards are not created equal

Tue Feb 14, 2017 11:53 am

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

Martin Frezman
Posts: 1020
Joined: Mon Oct 31, 2016 10:05 am

Re: All 16GB sd cards are not created equal

Tue Feb 14, 2017 12:03 pm

Why do you think that a working, bootable, Pi SD card would be in CDROM format?
If this post appears in the wrong forums category, my apologies.

User avatar
procount
Posts: 1972
Joined: Thu Jun 27, 2013 12:32 pm
Location: UK

Re: All 16GB sd cards are not created equal

Tue Feb 14, 2017 12:15 pm

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.
PINN - NOOBS with the extras... https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=142574


tdenson
Posts: 153
Joined: Tue May 13, 2014 1:51 pm

Re: All 16GB sd cards are not created equal

Tue Feb 14, 2017 4:57 pm

Thanks very much

Return to “Troubleshooting”