Hi!
So, here's the story.
I've got Acer Aspire S3 laptop, and disk on it started to give bad sector errors from time to time. It wasn't in a critical state, and stuff like that happened every 2-3 days, but I decided to replace the drive to avoid losing my data.
So, I bought a new hard drive, but after installing linux all I get is either
Code:
error: attempt to read or write outside of disk 'hd0'
Entering rescue mode...
grub rescue>
or simply
Now, after trying about a dozen different solutions for the problem to no success, I assumed the new drive is faulty and got another one, and ensured it's identical to the one I had before. Linux Mint installed with no any troubles, as usual, however, yet again, I boot into the same error. Weirdly enough, sometimes (seems randomly) it goes to a boot menu, but instead of loading the OS, computer restarts after a couple of seconds of black screen.
After this, I realized it might not be connected with the drive at all. So, I inserted my old drive, but it gives me, yet again, exactly the same error! Surely, this one has grub in order, as I was able to load from it before replacement and never seen this error with it. So, error must reside outside of the drive?! At least this is my reasoning, I simply don't know what else to think...
So, I'm in complete confusion. Is it not hard drive which has a problem? Might it be some hardware problem with some other part of my laptop? Or did I mess something up while trying to fix the issue?
Any insight into this is greatly appreciated.
UPDATE
Why my problem looks different to other similar problems?
1. It persists for different hard drives, with different operating systems. I've got two new hard drives and one old, on which a working Linux Mint is installed. I didn't do any destructive tests on the latter, but it stopped working after I tried putting it back in. Unlike fresh installation of Mint on any of the other two drives, this one does load the system ~10% of the times...
2. The error itself is volatile, randomly throwing out two different errors or on occasion booting the grub menu or very rarely even the OS itself.
What I've tried:
1. I ran
memtest for ~10 hours and it did 8 full passes with no errors found.
2. I ran full destructive read-write
badblocks test on both of the new hard drives with no errors found.
3. Standard
boot-repair run doesn't seem to do anything.
4. I tried to install different things on different drives, trying out Mandriva, Debian, Mint, Fedora and Windows 7 on two of the new hard drives, to pretty similar results. Some of these (Debian, Mint) display grub error almost every time, rarely going to boot menu, but never proceed further, throwing "attempt to read or write" at me after I choose any option. Others (Mandriva, Fedora) display all the range of responses, from any of the two above errors, to freezing on black screen after I choose what to load, and even loading the whole thing with no issue on rare attempts. Windows 7 always gave me disk read error.
5. I tried various recommendations for manual partitioning (i.e., creating /boot separately, putting it at the beginning of the drive), don't remember all of them, but it doesn't seem to be the issue as the old drive with default installation worked fine before.
6. I tried to fix grub as described
here and to reinstall it.
7. Checked
BIOS hard drive size limitation, it is not the issue. And I did select AHCI (although tried IDE as well) during the installation. BIOS does recognize the drives.