
Not on Windows, but someone (sorry, I can't remember who) has written a Linux script that will resize the saved image file to make it as small as possible. Then you can use disk imager to write it to the smaller card and raspi-config to expand it to fit.ShiftPlusOne wrote:Or maybe someone knows a simpler way.

That would be asb's shrink_image, which is a part of spindle.rpdom wrote:Not on Windows, but someone (sorry, I can't remember who) has written a Linux script that will resize the saved image file to make it as small as possible.ShiftPlusOne wrote:Or maybe someone knows a simpler way.

Use a gparted livecd or a VM with a usb sd card reader. Once you get to that point, you can either dd (there's a windows version) or snip the end off the file and use win32diskimager.stevejferry wrote:Hi Guys,
I have the same problem. I have my OS on a standard 8Gb SD card but have bought an 8Gb micro SD and adapter for the Pi. I can't write the image from the old card to the new one because Win32 Disk Imager says its too small. And here's me thinking all 8Gb cards were 8Gb!
If somebody can post an easy solution to this (without needing Linux), they'd be a god(ess) in my eyes!
Regards, Steve.
Nah, unfortunately not, which catches out a lot of people!stevejferry wrote:And here's me thinking all 8Gb cards were 8Gb!
Possibly they do a quick test on a batch and bulk program them all to match the lowest working capacity (minus a bit to allow for recovery blocks), rather than having to take time to program each card individually? I'm just theorising. I don't actually know how they do it.AndrewS wrote:Yeah, that's what I used to think, which would suggest that every SD card has a different size, based on how many bad sectors its flash happens to have. And yet whenever I've bulk-bought a batch of identical SD cards (same manufacturer/make/model/etc.) they all have exactly the same size?
Providing the amount of working flash in the card is greater than what it says.Joe Schmoe wrote: The sensible thing to do would be to program the microprocessor to always say that it is exactly 8G.
Are you sure the figures aren't produced by ISPs with their "Up to xMB" connection speeds?pluggy wrote:I had a look at two Sandisk 8GB MicroSDs I bought together and they are indeed the same size. I'm confident they are genuine, bought from a reputable dealer and they check out with f3write and f3read. They are quite a way short of what I'd call a real 8GB though and short of the decimal GB beloved of hard drive manufacturers. ( 7939817472 bytes ).
Got no idea what was going on thereBfmersion wrote:What I finally tried was to use Windows Copy to copy my 32Gb back to a new file (I did this so I could experiment with the complex methods). The original filesize was 31,166,976 Kb but the copy was 19,892,224Kb. I thought this was a Copy error so I did it again. Same result.