Hi,
Was the error actually 305? If so, this is a failure of the comprehensive Disk Self Test ( DST ) and would indicate that the Hard Drive is failing and needs to be replaced. This is also consistent with the start-up issue.
If your notebook is still under warranty, contact HP and arrange to have the drive replaced - you can check your warranty status Here.
If you live in the US, contact HP Here.
If you are in another part of the world, start Here.
If you are out of warranty and would like a guide on replacing the Hard Drive yourself, please let me know.
Regards,
DP-K