i have a really big problem with a pc (xp) of a friend whose hard drive is detected both by bios and setup, but when going on lubuntu with a live cd it doesn't show off neither any partition from the sata disk, just ram stuff.
I'm pretty sure there was as i could access the files before, but when i turned the pc off and on again it kind of started deleting the system files of windows xp trying to correct the errors and now ubuntu does not even find the partition neither the disk.
I'd like to know what happened and how to recover important data from the drive
https://i.stack.imgur.com/aLQIM.jpg
https://i.stack.imgur.com/AeN1y.jpg
as you can see here without the live the pc won't do anything usefull, the stats tell that there is Sata2, the Disks and gParted and df cannot find the partition
To explain myself better, in fig 1 you can see SATA2 IDE hard disk that is a 500 Gb hard disk.
In fig 2 you can see that this disk can't be seen with the commands or programms i know that should make you see it.
I may be ignorant in the subject so forgive me in case of confusion or such
EDIT: i've opened the pc, cleaned all and checked the connections, now the folder of the 500 GB is back (don't know if it's correlated because even before i could access) but as folders of user it tells me it is a corrupted file. What the hell is going on? Help me understand that machine please
EDIT2: disappeared again, so i'm sure the thing is going, the Disk option told me its status and that was at 40°C, could not open it, neither it let me use gParted, i'm a lot more confused now, please someone may tell me what is going on?