I am using ubuntu since tw year and so i am assuming that i am not a total newbie into it. The problem arose yesterday when I used some creepy command to check wether or not it works on my system, resulting in the damage of the file system(as what i thought), and when I restarted the laptop, I got nowhere but directly to the GRUB RESCUE
So what I did is made a live ubuntu 10.10 cd and booted from it and gone to terminal and tried to reinstall GRUB but I could not get past to even mount the root drive(/dev/sda2) is my root device. As it states:
mount: wrong fs, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error In some cases useful info is found in syslog--try dmesg | tail or so
sudo lshw to check whether what file system is mounted, but /dev/sda2 just stated that it is a partition and it does not show any capabilities other than being a linux partitions. It even does not show the ext4 file system of it.
Now when i thought of the idea of checking the disk for the errors, I ran the command
and tried to repair the corrupted file system. It took a long time and patience, but I only succeeded in viewing the partition and mounting it. I even could not access any file from it and could not re-install the Grub loader into it.
PS- I followed every method described here, for the problem looked quite similar to it, But no success for me.