This is a very interesting case. I more interested in understanding It than in fixing It though fixing It would be nice too.
Initial partitions status (I will use Linux partition names):
Code:
No GPT
sda1 100 MB primary partition (the Windows 7 system partition)
sda2 282 GB primary partition (Windows 7 and user files)
sda3 16 GB primary partition (hidden factory image partition)
Suddenly Windows 7 cannot boot displaying error: "A disk read error occurred."
But you boot from a Linux Live CD and you cannot find anything wrong with the disk. chkdsk from Windows CD also cannot find any error nor bad sectors.
I initially thought that the message was from BIOS but later I confirmed It was from Windows. So I thought something got corrupt in OS. I was about to update this notebook to Windows 10 anyway so It thought this was a good chance to do it. I used GParted to resize the Windows partition and create a data only partition with the unallocated space, moved user files to data partition, delete Windows boot and install partition and recreate them using the Windows 10 DVD without touching the partition containing personal files.
Second partition status
Code:
No GPT
sda1 500 MB (Windows 10 system partition)
sda2 100 GB NTFS (Windows 10 32 bits)
sda3 182 GB NTFS (files)
sda4 16 GB (factory image)
Boot during the first reboot of the installation process when Windows boot from HDD for the first time, again the error "A disk read error occurred.".
Reading about this error I found that some times Linux boots OK in disks with this problem so I had this great idea, If I create a small partition to put a flavour of Linux in it and confirm It boots OK maybe the Windows menu entry in GRUB (the Linux multi OS loader) can boot Windows too. So I tried that. I deleted the factory image partition, I probably won't need It again, It has all the bloatware of the notebook maker, the trial antivirus and all, and It's a very outdated image.
Final partition status:
Code:
No GPT
sda1 500 MB (Windows 10 system partition)
sda2 100 GB NTFS (Windows 10 32 bits)
sda3 182 GB NTFS (files)
sda5 12 GB EXT4 (Linux Lubuntu 14.04 32 bits)
sda6 4 GB SWAP (swap linux partition)
I ran out of primary partitions that's why I used logical partitions for Linux and It's swap space. This notebook has 2 GB of RAM so I don't think that not having swap is a good idea.
When Linux tried to boot from HDD for the first time GRUB gave the error message:
Code:
error: no such partition.
Entering rescue mode...
OK. No panic. We know the data is there. This is probably related to whatever is happening to this HDD. Let's try to use GRUB rescue mode to boot any of the two OS.
I entered:
Code:
ls
And obtained the output:
Code:
(hd0) (hd0,msdos6) (hd0,msdos5) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1)
Following
this procedure (do not visit the link yet, continue reading) and knowing that Linux partition is (hd0,msdos5) we must enter these 3 commands:
Code:
set boot=(hd0,msdos5)
set prefix=(hd0,msdos5)/boot/grub
insmod normal
And after insmod normal, you use normal and It should boot. But at "insmod normal" the process fail with:
Code:
"error: attempt to read or write outside of disk 'hd0'."
The second time I tried to boot this notebook after installing Linux, It went to grub rescue again and I tried the commands again, but this time, at insmod normal, the error was:
Code:
"error: no such partition"
Per this post in Tom's Hardware:
http://www.tomshardware.com/forum/25036 ... r-occurredA BIOS update may solve this.
A BIOS factory reset may solve this.
Sometimes there is no solution. The disk can be used for data, It won't die soon. But no OS will boot from It no matter what you do. I can backup data to other media and wipe the whole disk but something tells me that won't work either.
All information omitted about this notebook is only to not bloat this post. Feel free to ask for any additional info that interests you.