Erase successful, but not automatically formatting. Can't determine partition type - Jelly bean 4.1.2 with Nexus S While I ran the command - fastboot flashall -w I got the following error - 

--------------------------------------------
Bootloader Version...: I9020XXLC2
Baseband Version.....: I9020XXKI1
Serial Number........: 3334E1630CFF00EC
--------------------------------------------
checking product...
OKAY [  0.001s]
sending 'boot' (3964 KB)...

OKAY [  0.693s]
writing 'boot'...
OKAY [  0.603s]
sending 'recovery' (4308 KB)...
OKAY [  0.541s]
writing 'recovery'...
OKAY [  0.652s]
sending 'system' (173123 KB)...
OKAY [ 22.336s]
writing 'system'...
OKAY [ 24.196s]
erasing 'userdata'...
OKAY [  0.243s]
formatting 'userdata' partition...
Erase successful, but not automatically formatting.
Can't determine partition type.
OKAY [  0.001s]
erasing 'cache'...
OKAY [  1.684s]
formatting 'cache' partition...
Erase successful, but not automatically formatting.
Can't determine partition type.
OKAY [  0.001s]
rebooting...

finished. total time: 50.956s


I'm trying the build Android jelly bean 4.1.2 in Nexus S phone.

Could anyone help please?
I had a similar issue with my Nexus 4 after flashing the factory images

What fixed it for me was going into [stock] recovery and selecting clear cache and doing a factory wipe, that seemed to fix the partition sizes

Oh also check to see that you have the latest bootloader on the device too, check out https://developers.google.com/android/nexus/images for the most recent factory images