Hello,I recently bought a broken laptop from my friend.
Whenever I turn it on it goes to a black screen that looks like this

Yukon PXE v3.5.2.3 (20050803)
(C)Copyright 2003-2005 Marvell(R). All rights reserved.

Pre-boot eXecution Enviornment (PXE) v2.1
(C)Copyright 1997-2000 Intel Corporation
PXE-E61: Media Test failure, check cable
EXE M0F: Exiting PXE ROM

and it just stays at that black screen,also whenever i type it makes a loud beeping sound
P.S:I can still access the bios menu where you can set the computer time,disable/enable
quick start up ect.ect.

It sounds as though the Hard drive is not being found.
This could be due to a failure, a loose connection, or a bad boot setting. (In the BIOS, make sure it's set to boot from the HD).
In some laptops, this is a fairly easy repair-just open the HD slot and check the connections, or replace the drive.
If you have a Boot CD, like a Windows install disk or a Linux disk, you could check to see if all else works.
Not knowing your computer Make/Model or your level of expertise, I can't tell you much more.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.