I decided to upgrade my windows 8 to windows 10. During the installation process, the computer rebooted and I got into the grub console, without having my usual menu.
I was able to proceed to the installation and use windows by choosing which hdd to boot on on my bios, but after the installation I can't boot into ubuntu again. Same issue with a grub shell.
On the grub shell, I tried to use ls (hdx,y)/
to display the information about the filesystems. Only one or two were readable, while the other always responded as unknown filesystem.
I booted on a boot-repair live disc, and was able to use the boot-repair tool, but it didn't fix anything and I still have the same issue.
Here is the boot info : http://paste.ubuntu.com/11969079/
What should I do to repair my grub install and be able to boot on linux?
EDIT: using fsck I got the following result :
lubuntu@lubuntu:~$ sudo e2fsck -C0 -p -f -v /dev/sdb6
e2fsck: Bad magic number in super-block while trying to open /dev/sdb6
/dev/sdb6:
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>
lubuntu@lubuntu:~$
I believe /dev/sdb6 was the partition where my system was installed while /dev/sdb2 was where I had my /boot.
I'm unable to mount /dev/sdb6 on a linux livecd.
/boot/efi
. It has grub efi boot files only. If you have a separate /boot partition it is mounted at/boot
. And that whether partition or folder in / (root) has the rest of grub & the kernels. Normally desktop installs do not need separate /boot partition, but if full drive encryption which uses LVM, you will have a /boot partition. – oldfred Jul 31 '15 at 15:05