Monday, September 10, 2012

How to fix Nexus One sd card corruption using linux

Every now and then a forced shutdown of my Nexus One phone leaves me with a corrupted sd card. To fix this using Linux (I use Ubuntu 12.04): Connect the card using a card reader to your linux machine. Type
df
to see the device name of your sdcard. For me it is /dev/sdc1. Then
sudo umount /dev/sdc1
dosfsck -a /dev/sdc1
Job done, remove the card and try it in your phone. Note that
fsck -a /dev/sdc1
has never fixed my problem. I had to use dosfsck.

No comments: