5

I have simple Windows 10 and Ubuntu installation. My latest Windows update just messed with my GRUB boot loader somehow.

Screenshot

Every other answer mentions to type a few

set boot

and

set prefix

However every time I get 'Filesystem is unknown', for every of the 4 partitions inside my hd0.

Any clues?

5 Answers 5

0

As Greg Gómez states, a Live Ubuntu USB will allow you to download and install Boot Repair. Often, this GUI utility can remedy boot issues, so I've made a persistent boot USB with Boot Repair preinstalled for use after each Windows update mangles booting. N.B. Use the fastest flash USB drive you have for persistence, since the drive is accessed frequently (as opposed to an ordinary Live USB, in which much is moved to RAM).

If nothing else fixes the issue, make an image of the drive, reinstall Ubuntu using the existing partition, then copy back the ext4 Ubuntu partition.

3
  • 1
    I understand your point however I cannot reinstall the whole system. I simply need to fix the MBR. My questions is how to approach this fix through GRUB Rescue only (no Windows recovery disk or Ubuntu recovery disk). Commented Jun 22, 2018 at 20:29
  • I am marking this a solution even if it was not what a looked for. Since I could not wait, I decided to move forward entering linux into live mode and I simply repaired GRUB inside the linux installation through GRUB repair. Commented Jun 22, 2018 at 20:30
  • @DanielSantos, well done... I'm glad grub repair worked. Since it's handy to have that and Boot Repair, I've made a Live Ubuntu with persistence and installed those to the USB drive. Commented Jun 22, 2018 at 22:38
0

It has been reported that upgrading Windows misconfigures the MBR partition tables, you might want to review these answers:

A plausible quick fix: reinstall or upgrade Ubuntu with an ISO/Live Image (Which is required if you're going the answers above) have work for me everytime I deleted partitions with diskmgnt (but as it is not your case might not solve the problem as well).

1
  • I understand your point however I cannot reinstall the whole system. I simply need to fix the MBR. My questions is how to approach this fix through GRUB Rescue only (no Windows recovery disk or Ubuntu recovery disk). Commented Jun 22, 2018 at 20:28
0

Ive had the same problem and fixed it using a live cd. I could see my ubuntu installed partition using lsblk, but the booted OS wouldn't use it. Here's the solution that worked for me:

-Booted from Ubuntu Live CD

-Opened terminal and tried to mount my ubuntu partition manually. Got error: “wrong fs type, bad option, bad superblock”

-Run fsck and say yes to everything

Try to mount it again. Should work. Also gpared won't show errors with it anymore. Reboot and done.

Additional info: You gotta make a mount folder for mounting, need root rights, etc. I used a Ubuntu 15 cd to repair Ubuntu 14.

0

Have had a similar problem and I fixed it by downloading the Windows 10 installation media direct to a USB. This has enough of Windows on it to boot and there are options to install or repair Windows. Using the repair and advanced tools you can get an admin command prompt and run the Windows bootrec command.

I ran: bootrec /fixmbr and it fixed the MBR. There are other bootrec commands that you can run but this was all I needed.

This allowed me to boot to the Windows partition on C:. But from here you should be able to reinstall grub with a Live CD or other Linux bootable USB.

0

I was in a similar state but for different reasons (I deleted Linux partitions from Windows (10 recently upgraded from 7)). I had the "Error: no such partition" and got "Filesystem is unknown" for all partitions. Commands like chainloader as mentioned here didn't work for me. Fix that worked for me:

  1. Made an image of the drive in case I messed things up worse.
  2. Booted from GParted Live CD
  3. GParted app would not display partitions; showed error: "Invalid partition table on /dev/sda --wrong signature 0."
  4. Clicked Ignore, closed GParted app.
  5. As I learned here (careful, read comments first), opened Terminal app, did: sudo fdisk /dev/sda then p then w.
  6. Rebooted into GParted and it was able to display partitions.
  7. Booted from Ubuntu Desktop USB and it provided the option "Install alongside Windows 10". Chose this option, installed and GRUB was fixed.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .