Retrieve file from iPhone 4s in recovery mode (No backup)
You could try out software like phoneview, but I'm asuming you're out of luck if it doesn't boot. 
The memory is on the iPhones mainboard, so no way of external mounting.