• Blaster M@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    2 years ago

    What’s actually happening here is Windows is setting its bootloader first in your EFI when it gets updated. Linux isn’t gone, you just have to press the “boot another drive” button and boot to it, or go into your EFI setup and switch the bootloader back to the Linux one.

    Linuxes do the same thing when updating their bootloader.

    Note for the Ackshually crowd: If you’re still booting MBR (which comes with the partition eating risk on dual boots) you have a system that is older than Windows 8 - 11+ years old, so eating the MBR is something you’ll have to deal with unconventionally, as all modern systems, OS, and hardware expect you to be using EFI.

    • spaghettiwestern@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      2 years ago

      Not the case. What’s happening here is Windows is removing the ext4 partition completely, expanding the ntfs partition and writing to all of it.

      Windows update did that to my <1 year old laptop. I figured it had just wiped out grub, but when it was booted from a live-usb there was no ext4 partition there at all. This has been reported many times.

      Microsoft should be sued for this shit. Legal protection from destroying people’s data that is not part of Windows or in a Windows partition, whether deliberately or by negligence, is not something that can be legitimately covered by a license agreement.

    • Barbarian@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 years ago

      Grub does not do the same thing unless something has gone wrong. It detects windows and offers you the choice on boot as to which OS to start.

      • Blaster M@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        Grub is still the first bootloader in that case. You would not notice if it was putting itself first after an update unless you have Windows booting first.

        You might notice if you are booting between multiple linuxes, all with their own version of grub.

        • Barbarian@sh.itjust.works
          link
          fedilink
          arrow-up
          0
          ·
          edit-2
          2 years ago

          Again, unless something has gone wrong, the grub config should auto-detect the other Linux distros installed and add them to the boot menu. It should look like this:

          EDIT: Also, what can happen is that the grub timeout (the time that menu is on screen) is set to 0 seconds. You can get the grub menu to stay up by holding left shift during boot if that’s the case.

          • Blaster M@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            2 years ago

            Having dual booted Fedora and Ubuntu before, I will point out that they will both install Grub in the EFI under separate folders and do battle for first boot dominance every time there’s a kernel update.