This morning after plugging my Xperia X10 into my macbook and syncing my daily dose of tech podcasts ready for the commute to work I found that the phone was not mounting the SDCard and the phone kept crashing.
After a reboot there was a notification saying that the system was preparing the SDcard and was checking for errors.
I used ‘Android Terminal Emulator’ by Jack Palevich to connect to the terminal of my phone to find out waht it was doing to the phone to fix these errors. I found that the phone was trying to run an fsck on the SDCard.
My Xperia kept crashing so it would start again, so I removed the card from the phone and mounted it to my Linux PC and used fsck.msdos on my linux machine to fix the disk errors.
I did this by running the command bellow:
fsck.msdos -a
once this was completed I was able to remove it and place it straight back into my phone to have it work perfectly.
This solution allowed me to quickly repair the issue and not loose any data.



