How to remove personal data from PS3?
The PS3 can reformat its hard drive. Reformatting the hard drive will erase everything on it except system software which you need. You don't need any special hardware for this- just the console, the hard drive and time.
The format utility is found in settings-> system settings. From there, follow the on-screen instructions.