meandu229
Posts: 4
Joined: Thu Jul 19, 2012 8:06 am

Imaging a smaller SD card from a larger one

Thu Jul 19, 2012 8:11 am

I have a 32gb sd card with rapsbian on it and everything is running smoothly and I dont want to have to start again but I have just bought a 8gb(sandisk ultra) card for this purpose and would like to clone it on to the 8gb card.
The partitions are as default I didnt expand the rootfs to the size of the card as I knew I was going to get a smaller card.
Any ideas how I would go about this.
ubuntu or windows app/script are fine with me

dukla2000
Posts: 190
Joined: Tue Jan 10, 2012 12:02 am
Location: Reading.UK.EU

Re: Imaging a smaller SD card from a larger one

Thu Jul 19, 2012 8:21 am

Check my post in this thread - a list of how I do it.
Daily driver: Pi3B, 64GB Samsung Evo+ @100MHz, DVB-T, onboard WiFi for internet, BT/USB dongle for KB/mouse, 250GB HDD via USB for media, Raspbian Jessie Lite with Openbox desktop.
Museum: Pi B

meandu229
Posts: 4
Joined: Thu Jul 19, 2012 8:06 am

Re: Imaging a smaller SD card from a larger one

Thu Jul 19, 2012 8:37 am

dukla2000 wrote:Check my post in this thread - a list of how I do it.
Thanks but that link is to this topic, :D

meandu229
Posts: 4
Joined: Thu Jul 19, 2012 8:06 am

Re: Imaging a smaller SD card from a larger one

Thu Jul 19, 2012 12:13 pm

I think I found the thread you were trying to link to http://www.raspberrypi.org/phpBB3/viewt ... 4&p=124853
thanks alot

dukla2000
Posts: 190
Joined: Tue Jan 10, 2012 12:02 am
Location: Reading.UK.EU

Re: Imaging a smaller SD card from a larger one

Thu Jul 19, 2012 10:33 pm

meandu229 wrote:
dukla2000 wrote:Check my post in this thread - a list of how I do it.
Thanks but that link is to this topic, :D
:oops:
Glad you found what I meant though! :oops:
Daily driver: Pi3B, 64GB Samsung Evo+ @100MHz, DVB-T, onboard WiFi for internet, BT/USB dongle for KB/mouse, 250GB HDD via USB for media, Raspbian Jessie Lite with Openbox desktop.
Museum: Pi B

meandu229
Posts: 4
Joined: Thu Jul 19, 2012 8:06 am

Re: Imaging a smaller SD card from a larger one

Fri Jul 20, 2012 8:02 am

Yeah cheers,
I was lazy and I did it the following way thanks to you .
took my 8gb sd card and used the windows imager to write the vanilla debian to my card
this gave me correct partitions to start with then pulled out my open pandora as it has 2 sd card slots and deleted everything in both partitions on the 8gb card. I then used the rsync command you gave to move everything over on the 2 partitions plugged into the pi expanded the rootfs and I was away. Great stuff,
Thanks for the help.

Return to “Beginners”