Linux gone after Windows 10 update

7,304

Solution 1

I certainly don't see any partitions that would be large enough for Ubuntu and which Windows doesn't recognize. This is honestly the first time I've seen Windows remove Ubuntu like that.

It should be safe to reinstall. Just format that free space as ext4 in the installer and install to it. That deletion should not happen again. I have a suspicion that TestDisk is the cause.

Solution 2

I am not 100% sure but we have here a MBR style disk.

The two unnamed partitions are recovery partitions. Don't delete them.

The small unnamed partition is what Windows 10 creates always on installation/upgrade - it holds Windows PE recovery.

The unnamed ~8 GB partition should be factory Recovery - holds a complete image of your system as it was delivered.

The 116 GB "free space" is where Linux is. Windows does not recognize it.

Windows always rewrites MBR on major updates/upgrades just to be sure that it is in control of the booting! THIS WAS ALWAYS THE CASE so no surprise.

Reinstalling GRUB to MBR should do the trick. Use a Linux live CD/DVD/USB and reinstall GRUB - How to Repair, Restore, or Reinstall Grub 2 with a Ubuntu Live CD or USB

Share:
7,304

Related videos on Youtube

Michael Vaiana
Author by

Michael Vaiana

Updated on September 18, 2022

Comments

  • Michael Vaiana
    Michael Vaiana almost 2 years

    During the Windows 10 update I ran into the problem where windows 10 update breaks grub. When attempting the top answer, the ls command returned unknown file system for each hard drive listed, the same problem as described here: Using testdisk for windows 10 upgrade

    I booted into Ubuntu with a thumbdrive, ran test-disk which came back with no problems, and then I ran boot-repair which claimed to successfully fix any problems. Windows 10 finished updating but now there is no option to boot into Ubuntu. As far as I can tell Ubuntu has been completely erased from the system. According to disk management there are 2 small unnamed drives but I reserved a lot more space for Ubuntu when I originally partitioned for the dual boot. I'm not worried about any info lost, everything important is in Dropbox.

    I would like to know if windows really did erase Ubuntu and if yes is it safe to reinstall? If it didn't erase Ubuntu how do I clean up my computer and get Ubuntu working again, I don't mind reinstalling and creating a fresh partition I just want a "clean" system. Disk Management

    EDIT I booted from a live usb and ran gparted as suggested. I got this error message:

     /dev/sdb contains GPT signatures, indicating that it has a GPT table.  
     However, it does not have a valid fake msdos partition table, as it    should.  
     Perhaps it was corrupted -- possibly by a program that doesn't understand GPT 
     partition tables.  Or perhaps you deleted the GPT table, and are now using an 
     msdos partition table.  Is this a GPT partition table?
    

    I just clicked the red x to close the error message and this is what gparted shows: gparted table

    It looks as though there is a small amount of unallocated space and a small amount of space left over from Ubuntu. I'd like to clean up these partitions before reinstalling ubuntu. Is it safe to just merge the unallocated space into my main windows disk and also reformat the leftover linux partitions, absorb them into the windows partition and then reinstall?

    Basically I don't want make sure everything is cleaned up before reinstalling linux, I don't like having all these small fragements but I don't know what I'm doing really.

    • Brōtsyorfuzthrāx
      Brōtsyorfuzthrāx over 8 years
      Did you try running update-grub from the command-line?
  • Michael Vaiana
    Michael Vaiana over 8 years
    Thanks for the answer, I'll give it a shot. Do you know what the two small unnamed partitions are? They only account for 8.5 gbs but it would be nice to reclaim that space if they aren't needed. Is it possible these are remnants from the old Ubuntu system?
  • Michael Vaiana
    Michael Vaiana over 8 years
    I will try this and report back, thanks for the suggestion
  • minigeek
    minigeek over 7 years
    @Zacharee1 This is gift from windows anniversary update to include ubuntu bash and remove existing ubuntu if done online....this is huge problem running over internet since update rolled out.