People use nails or hardwood staples to attach hardwood flooring to the subfloor, but this is only an option if the subfloor is made of plywood. Particleboard doesn’t grip nails strongly enough to maintain the integrity of your new hardwood floor. If you’re using particleboard for underlayment, glue the wood to it.