My laptop crashed. When I restarted it, I I got the black screen that said I needed a hard disk to reboot my computer. Instead, I went to F2 and tried to figure out what to do from there. I ran tests, and it says that I have no memory, no storage and no hard drive. There is no 24 digit code.
When I was trying to figure out what to do with the HP assistant, it kept telling me that I need to do a Component Test, which I do not have that option on the BIOS menu.
OK, so according to the info you provided and the HP specs for that model, you do NOT have a hard drive, but instead, have an NVMe SSD -- and a known issue with those is that they can get VERY HOT, and when they do, they become unstable.
If you let the laptop cool down for a while, say a couple of hours, and then it boots OK, and it does not have issues until it warms up, then heat is probably the issue -- and unfortunately, there is nothing you can do about this with a laptop.
***If my post helped, click the thumbs-up symbol to say thanks***
***Please mark Accept As Solution if my post solved your problem***
I am a volunteer and I do not work for, nor represent, HP
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".