I had windows 8 and then i tried to install Ubuntu14.04. Installation completed successfully, but boot up failed & i got the initramfs prompt. I decided to install ubuntu again, but now my installation fails giving me a fatal error. Executing 'grub-install /dev/sda' failed. I have tried installing boot recovery etc, but nothing seems to work.
Update: I tried boot-repair, and it didn't repair my grub, however it generated a report. Here is the link:
http://paste.ubuntu.com/15099645/
Update: I tried using the command fsck -y /dev/sda
and it gives this output:
fsck from util-linux 2.20.1 e2fsck 1.42.9 (4-Feb-2014) ext2fs_open2: Bad magic number in super-block fsck.ext2: Superblock invalid, trying backup blocks... fsck.ext2: Bad magic number in super-block while trying to open /dev/sda The superblock could not be read or does not describe a valid ext2/ext3/ext4 filesystem. If the device is valid and it really contains an ext2/ext3/ext4 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device> or e2fsck -b 32768 <device>
Asked
Active
Viewed 770 times
1
fsck -y /dev/sda
may be /dev/sdb when running from a live usb – Panther Feb 17 '16 at 11:55