I used RiscOS for a couple of days and then decided it wasn’t nearly as useful as Linux. So, I decided to write over the SD card containing RiscOS.
I tried using WinImage but for some reason the card refused to write. I had a lovely cyclic redundancy check error and the SD card was reporting the wrong amount of space free.
I tried using the Disk Management tool in Windows but it wouldn’t let me expand the primary partition to the full space.
I found this tutorial about using DiskPart to reset the card:
Recover Missing Unallocated Space On USB Drive Using Windows DiskPart.
In short:
- Press Windows-R and type DiskPart in the ‘Open’ box.
- This will bring up a DOS box with DiskPart running in it.
- Type ‘list disk’ and look for the disk that resembles your SD card. (For this tutorial, we’ll assume it’s Disk 1)
- Type ‘select disk 1’
- BE REALLY SURE YOU WANT TO WIPE THE CARD.
- Type ‘clean’. This resets the disk.
- Type ‘create partition primary’
- Type ‘exit’ to quit.
You can now go into Windows Explorer and Format the SD card before writing your image to it.
Hero!
Your an absolute legend, thanks very much for this info my sd card is now working again and I can see it’s full storage!
You’re very welcome – this has saved my skin as well… more times than I can remember!
ive enounter this error what should i do diskpart has encountered an error data error cyclic redundancy check
That probably means that your disk is corrupt and about to die. 🙁
I was hitting a brick wall trying to format my Raspberry Pi SD card in Windows 7’s Disk Management tool. This tutorial saved me! Thank you!
Thanks, am a beginner if i could rate myself but i followed everything and it worked perfect.
fantastic! thanks for sharing, sir.
after step 6 he told me
“disk part has encountered an error : the device is not ready.
see the system event log for more information ”
so what should i do now ???
Take a look at the system logs – /var/log/syslog and /var/log/messages
Also make sure the write protect switch on the card hasn’t moved to to the wrong position.
THANKYOU SO SO MUCH !!!!!!
i am trying to execute Diskpart command in my sd card to remove wright protected….. but after ‘create partition primary’ i found some unwanted error….. please help me
Help me to short our this problem.. during diskpart command……
DISKPART> create partition primary
No usable free extent could be found. It may be that there is insufficient
free space to create a partition at the specified size and offset. Specify
different size and offset values or don’t specify either to create the
maximum sized partition. It may be that the disk is partitioned using the MBR di
sk
partitioning format and the disk contains either 4 primary partitions, (no
more partitions may be created), or 3 primary partitions and one extended
partition, (only logical drives may be created).
Thank you very much. It is very useful stuff
Today i partitioned my sd card by minitool partition app. Very few space in sd card is workable which is primary @ fat32, and huge amount of space is unallocated.
I try to restore the sd card in many ways. In which one way is that you mentioned above. Using your way commond promt replies as below ::::::
No usable free extent could be found. It may be that there is insufficient
free space to create a partition at the specified size and offset. Specify
different size and offset values or don’t specify either to create the
maximum sized partition. It may be that the disk is partitioned using the MBR di
sk
partitioning format and the disk contains either 4 primary partitions, (no
more partitions may be created), or 3 primary partitions and one extended
partition, (only logical drives may be created).
DiskPart has encountered an error: Data error (cyclic redundancy check)
See the System Event Log for more information.
always like that 🙁
That’s strange, but then that post is a bit old. Perhaps things have changed?
Hi! I just ran into the “unallocated space” issue with a 32gb micro sdhc card. It was showing 1.46 gb healthy partition and 29gb unallocated space. Tried to use the DiskPart utility and it gave me the error access is denied see system log. The system log shows that it could not zero sectors on disk. The 1.46gb of space are no longer there and i’m left with the 29gb of unallocated space. Is this little card pooched? thnx!
That sounds… bad. 🙁 Not too sure what to suggest. Sorry. 🙁
Hi Michael, Please help, I’ve tried this but I still get error message. Cyclic redundancy check
https://s12.postimg.org/rqz48z4lp/Screenshot_2016_10_10_09_49_09.png
Will I still be able to recover my files?
Thank you
Try the procedure here: http://www.compuchenna.co.uk/data-error-cyclic-redundancy-check/
Thanks for posting this, works great.