A technical help. as Holla Forums is so slow i grew a beard

I was getting this error that There is no bootable device detected on my system.
I need a hardware check of the HDD but it was working.
Then I changed the data cable, which solved the problem, But temporarily after couple of days I am again getting this error,
Kindly help me with what device could be at fault..

Just because the HDD is spinning up doesn't mean it's not fucked.

What you need to do is the following:
Boot to a live LinuxCD/DVD, and once you are in the live environment, open a terminal and issue the following command:

smartctl -t short /dev/sda
Then after the test is done, issue:
smartctl -l selftest /dev/sda
Any errors means your HDD is failing/has failed.

Another option is sometimes your BIOS will have a HDD diagnostic routine built in. That test will be waaaaay fucking slower though.

Did the smartct test..
Short test shows the result as Passed.
But when did the selftest is shows the Read Failure error..
Log is attached in image ..
Is my HDD failing..

make sure the drive is compatable with the port you're plugging it into, IE the mobo is set to ATA and its in a sata slot, not AHCI. I literally had this problem earlier today/last night, but i'm too lazy to actually explain it.
also run the the command 'rm-rf' while checking the drive in linux will make thing a lot easier. make sure you're a rooted superuser.
trust me

Problem still persist.
What confusing me the most is The boot loader is unable to detect HDD while booting the system.
But When I boot via bootable linux live, I can access the HDD partitions..

Yes.
The nice thing is, you can use a linuxCD to offload your files to another disk like a USB attached one.

alright then.. thanks for the help. :}

Make sure your settings are on IDE/SATA, not RAID for your boot controller.

It is on SATA.. And boot loader detects hdd sometimes.. And sometimes not..

I boot from hdd and after 15 minutes system is working dead slow.. though I am able to access the hard drive..

I have never seen such mood swing of any hard drive..

I'ts most likely the HDD has bad sectors.

Chkdsk

Sounds more like a failing motherboard than anything

but you need to run chkdsk for sure to see if there are any bad sectors as well

download Hirens Boot CD to run HDD diagnostics broham

Sounds more like a failing motherboard than anything

but you need to run chkdsk for sure to see if there are any bad sectors as well

download Hirens Boot CD to run HDD diagnostics broham

I also think hdd has bad sectors..
Performed checkdisk but before it could even reach 50% system rebooted itself and didn't detect any hdd this time.

OY VEY!

Humans are slaves to computers

deactivate fast boot

or

activate the standard boot by resetting the bios settings

or change tu uefi

Sadly, we became. The higher powers pressure us to it.

also check the hdd data cable.

had this myself some time.

just plugged it into another slot and it worked again.

Myth.

Untouched cables laying inside a PC for months or years dont break for themselves.

just try it.

sometimes shit like this can happen.

had it myself.

and btw i didnt say the cable was broken. i meant it couldve just slipped out of the slot.

I am using a new SATA cable mate..
Cable is not the issue ..

Doing check disk defragmentation for every drive separately..
It is working fine for now..
Don't know how or why..
My system is on periods I guess

...