element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum win32diskimager not enough space
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 5 replies
  • Answers 1 answer
  • Subscribers 665 subscribers
  • Views 4285 views
  • Users 0 members are here
Related

win32diskimager not enough space

vindhyachal.takniki@gmail.com
vindhyachal.takniki@gmail.com over 9 years ago

1. I have a 8gb sd card with raspian image. Also I had expanded filesystem using sudo raspi-config.

2. After that I had crated image using win32diskimager. Image size is around 8,068,792,320 bytes .

However when I try to burn same image back to same sd card, win32imager shows error that not enough space.

3. Strange thing is sd card is same, same image is read , but when I write back it fails.

  • Sign in to reply
  • Cancel
  • balearicdynamics
    0 balearicdynamics over 9 years ago

    Hello,

     

    sorry but it is not so clear what you need. If you are trying to burn a 8Gb (about) image on a microSD of the same size without formatting it you will see that there is not enough space on it. The burn process does not include media formatting, so  - depending on the OS you are using - there is a procedure. What the program burning images on SD and microSD usually expect is to have a enpty, FAT32 formatted card.

     

    Enrico

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • rew
    0 rew over 9 years ago in reply to balearicdynamics

    What I understand is that VT wants to create an image of his 8Gb SD card and write it back. Now to the exact same SD card it came from, but maybe later to a different SD card.

     

    I once had a card that would "shrink" by a few bytes every time you used it. This would continue until it was smaller than 4Gb then it would remain the same size.....

     

    VT, You are right: normally it should be possible to image a card and then write it back. One  thing that I notice is that your image is more than 8 billion bytes. Many harddisks and SD cards would say 8Gb and then be 8000000000 bytes. Maybe a FEW more, but not 68 megabyte.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Problemchild
    0 Problemchild over 9 years ago

    Um do you have a Linux install you can use ?

    In that case you can use "dd" to create and write the saved image.

    You shouldn't get the same problems reading and writing even if something is "shorter" , I suspect that the program is appending some data to the end to pad it out !

     

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • clem57
    0 clem57 over 9 years ago in reply to Problemchild

    John is on the correct path. See SD Image won't fit on SD Card - Raspberry Pi Stack Exchange which explains in more detail. The problem is data can be deleted yet still exist on the card. Win32diskimager will copy even this. Note you expanded that as well using sudo raspi-config. This creates the largest possible file system. That could create some padding at the end that Linux can handle. But Windows utility cannot realize and wants to allocate them causing just a bigger image. The answer is to shrink. BTW, did you reformat the card? This could change the sector size and indicate less room than before. Try to reformat with 512 byte sector. Contrary to what may be expected, a 1024 may have better fit. The logic here is the space between sectors is fixed and wasteful. So fewer spaces is better to some degree.

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • rew
    0 rew over 9 years ago in reply to clem57

    Clem, sector size on modern Multi level flash chips is 4k. In the old days with single level cells, you'd have most sectors containing about 0 errors. Then there was the ECC that could correct the occasional bit flip and even two or three flipped bits just to be sure.

     

    However, modern MLC chips end up with an average of around 4 bit flips for every sector (on the one chip where I tested all this) . To reliably fix that, you need a much bigger amount of ECC. Increasing the sector size, with the proper ECC will improve reliabilty. If you start out with say x bytes of ECC per 512byte block and then move to 2x bytes for a 1024 byte block, if the original could fix 10 bit flips then the 2x bytes in a 1024 byte block will be able to handle almost 20 bit flips. So the bigger chunk can easily handle say 15 bit flips, even when they are all in the first 512byte block, while the original could only handle 10 bit flips in any one sector.

     

    So, physical sector sizes are 4k nowadays. Both on harddrives and SD cards.

     

    All this ECC stuff is hidden from the computer at the SD card interface. There is no way you can "format" an SD card with 512 or 4096 byte sector size from the computer. The SD card presents "an array of 512 byte sectors" to the PC. Even if the internal physical structure has 4k sectors the standard requires it to handle 512byte blocks.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube