For rather difficult biofilm samples we had the best results using the PowerBiofilm® DNA Isolation Kit from MO-BIO. The procedure has a chemical and mechanical lysis step. The freeze-grinding as proposed earlier will probably also give good results.
Freezing and grinding never helped when I was trying to extract DNA from biofilms. If you contact me I will send you my protocol for DNA extraction: [email protected]