Ok, stupid moment. I unplugged my iPod as Amarok was writing the iTunesDB file. crap. So now, my music is there, I just don’t know where it is. I am posting the solution that I have found for Linux and Amarok.
Amarok complains that it can not find an iTunesDB file (it is actually there, just corrupted) and wont mount it.
Solution:
1) Unmount, remount.
Amarok is nice enough to make a backup before any changes. Try and replace the current iTunesDB file with the backup.
1a) if you are getting a read-only error message, unmount and run:
sudo dosfsck -a /dev/ and remount.
2) Open up Amarok, look for a “Stale and Orphaned” option. This will take some time. Once it is done, Amarok will display a list of files.
3) Once that is done, right click and “add to database”.
And there you have it, a completely recovered iPod in under 5 minutes.
And now, to let Google get this information to the masses.
Thanks, I did the same thing and this solution worked. =) And yes, I found this by google, haha.