PDA

View Full Version : [ubuntu] error: attempt to read or write outside of disk `hd0'



malakar.subhendu
July 10th, 2013, 07:17 PM
I tried to check my hard disk status via the hard disk checking tool of the BIOS. But due to overheating, it stopped in the middle. Now when i tried to start ubuntu, it won't start. It sayas that:


error: attempt to read or write outside of disk `hd0'

Then it goes into something like grub-rescue and shows initramfs >
I think it occured due to the abnormal termination of the HDD checking tool.

This is a dual boot machine, and it easily can load windows. I've tried boot-repair tool, but its of not much use. Although it removed the error message, but it still comes on the screen before grub loading. And now the boot screen goes on and on.
The link of boot-repair is:
http://paste.ubuntu.com/5862326

Please help. I don't want to reinstall Ubuntu.

ajgreeny
July 10th, 2013, 08:26 PM
Try booting to a live DVD or USB and then run sudo e2fsck /dev/sdx# where sdx# is your root partition of Ubuntu.

That will check the filesystem and may find and correct any problems for you.

malakar.subhendu
July 11th, 2013, 04:02 AM
@ajgreeny:
It showed that there were some problems in the inode of some files, it fixed them, but the problem is still there.