How to get windows to not do disk checking or ruin my bootloader when i add a linux partition on the same drive. I don’t like the windows panicking when there is a linux partition on it and doing a variety of things, even if its not on the same ssd it STILL does disk checking but I have not seen anything worse than that on the same partition, but I need the space.

Dunno if this belongs in the linux subreddit but I mean if there is any way i can hide linux that could also work.

  • _thebrain_@sh.itjust.works
    link
    fedilink
    arrow-up
    9
    ·
    10 hours ago

    If using efi (instead of bios), set up a second efi boot partition. Use one efi for windows and the second for Linux. It’s “non standard” but the efi spec does not explicitly forbid you having multiple partitions, and it will keep windows from disabling anything on the Linux boot partition.

    • Ooops@feddit.org
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      9 hours ago

      set up a second efi boot partition

      This may or may not work. Recognizing a second ESP on the same disk is not required in the EFI standard. So it’s down to your board’s implementation if it works or just stops the moment it finds the first one.

      • _thebrain_@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        6 hours ago

        Whereas I agree that it’s not guaranteed to work, I have set up more then a dozen systems this way and have never had it be an issue.

    • Korkki@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      9 hours ago

      set up a second efi boot partition.

      I have had a bad history with this. The windows partion constantly (noticed the competition and) overwrote the bootloader when it updated. With separate drives for both OS I no longer have this problem.

      • _thebrain_@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        6 hours ago

        I’ve done it with over a dozen computers by different manufacturers: primarily laptops: Lenovo, HP, toshiba, and I have yet to run into any issue.

        Windows assumes there is only ever going to be one efi, so it totally ignores the second partition. Linux has you mount the efi partition so you can choose it over the windows one.

        What problems have you had with it? There is lots of advice out there on the Internet saying this is the best setup, not just me.

        • hexagonwin@lemmy.today
          link
          fedilink
          arrow-up
          1
          ·
          3 hours ago

          have tried to do this once after seeing it somewhere, my motherboard firmware couldn’t boot from the second efi partition and only recognized the first partition. (i believe this was a gigabyte motherboard but not too sure)