• slembcke@lemmy.ml
    link
    fedilink
    arrow-up
    52
    ·
    22 days ago

    Doesn’t Windows break dual booting semi-regularly? I’ve always avoided it as I’ve had friends get burned by this in the past. I guess I just keep different OSes on different drives, but that obviously isn’t feasible for everyone.

    • Petter1@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      21 days ago

      I have dualboot set-up on my MacBook and have no. But it is a long time ago, since I last started macOS and my Mac would not get new macOS updates anyway😂 that was the reason to install Linux in the first place 😝

    • morbidcactus@lemmy.ca
      link
      fedilink
      arrow-up
      5
      ·
      21 days ago

      Legit have never had an issue with multi boot and windows like ever, tbf I don’t go into windows that frequently anymore but it’s never given me grief in at least a decade. I know my experience isn’t universal though, so sorry to anyone who does have boot issues after windows updates.

      In the worst case, could use bcdedit and use the windows boot loader (tbh I have no idea if that works here, but could be worth a try)

    • NauticalNoodle@lemmy.ml
      link
      fedilink
      arrow-up
      16
      ·
      edit-2
      22 days ago

      I know that used to be the case. It’s why I stopped trying to use a dual-booting system and instead just installed windows in Virtualbox.

  • timmytbt@sh.itjust.works
    link
    fedilink
    arrow-up
    8
    ·
    21 days ago

    So, excusing my ignorance as a fairly recent Linux convert, what does this mean for my dual boot system?

    I haven’t booted windows for weeks and am pretty sure there have been no updates since it was freshly reinstalled (maybe 6 months ago) as a dual boot with Debian.

    Is this only a problem if I allow Windows to update?

    Are Microsoft likely to fix the issue in a subsequent release?

    • Kuma@lemmy.world
      link
      fedilink
      arrow-up
      11
      ·
      21 days ago

      Yes, you don’t have to worry as long as you don’t boot up windows and let it install the update.

      This is not the first time they break dual boots by touching the partitions, but this is the first time they deliberately break it (that I know of). I always had windows on its own drive because of that. If you don’t use windows a lot then I would suggest to do the same. You have to change to windows through bios but it isn’t that much more work.

      • Kuma@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        21 days ago

        And just in case when installing windows on its own drive, only have the windows drive mounted so it doesn’t write to the linux drive.

      • timmytbt@sh.itjust.works
        link
        fedilink
        arrow-up
        7
        ·
        21 days ago

        Thanks for the reply, and good to know!

        I think I’ll blow away the windows install on this machine completely.

        I still have another pc for some audio tools that don’t run under Linux, but this machine is my daily driver now and I couldn’t be happier.

    • ochi_chernye@startrek.website
      link
      fedilink
      arrow-up
      4
      ·
      20 days ago

      FWIW, I’m dual-booting windows and mint atm. Separate drives, but just one EFI partition, and this update hasn’t borked things for me.

  • h0bbl3s@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    22 days ago

    I dual booted a few times back in the days of winxp and win7. Never had a good experience somehow windows or a grub update always messed up things. Haven’t ran windows in years but when I have to it goes on a separate drive now.

  • Nick@lemmy.world
    link
    fedilink
    arrow-up
    111
    arrow-down
    2
    ·
    22 days ago

    So they were trying to patch systems that use GRUB for Windows-only installs? What a load of BS. Why would anybody install GRUB to boot only Windows with that? Or am I overlooking something?

    Furthermore, if GRUB has a security issue, they should’ve contributed a patch at the source instead of patching it themselves somehow. I’m a bit stunned at the audacity of touching unmounted filesystems in an OS patch. Good thing Windows still doesn’t include EXT4 and BTRFS drivers because they might start messing with unencrypted Linux system drives at this rate

    • CrabAndBroom@lemmy.ml
      link
      fedilink
      English
      arrow-up
      11
      arrow-down
      3
      ·
      22 days ago

      In the mind of Microsoft, Windows is the only OS and all things on computers exist to facilitate Windows.

    • umbrella@lemmy.ml
      link
      fedilink
      arrow-up
      8
      ·
      21 days ago

      lol they fuck with my BIOS boot settings to the point i had to password it. they are that bad.

    • Skull giver@popplesburger.hilciferous.nl
      link
      fedilink
      arrow-up
      64
      arrow-down
      2
      ·
      22 days ago

      They updated the system key store to invalidate known vulnerable boot configurations. One of those configurations was old versions of Grub, which had a pre-boot exploit a couple of years ago.

      The issue has already been patched for years, but it appears some Linux distros never bothered to update their system configuration. Not sure if this is a shortcoming of Grub or one of the distro maintainers that were affected, though.

      In fact, Microsoft tried to not apply this patch on dual boot systems, leaving them vulnerable but working, but clearly their detection failed. I think their detection required chainloading the Windows bootloader or something?

      Either way, the only Linux file that Windows will ever touch with updates is the “fallback for when the boot configuration is completely fucked” bootloader, which both Linux and Windows overwrite after installation, incase the boot configuration gets completely fucked. If you’re relying on that bootloader, you were always going to get fucked by some update eventually; either your installation failed or your motherboard is broken.

      • murtaza64@programming.dev
        link
        fedilink
        arrow-up
        3
        ·
        21 days ago

        What is that latter fallback called? I set up my boot manually using an EFI stub last time I installed arch but wasn’t aware of any fallback bootloader

        • I don’t know what systemd-boot does, but the normal way to install a bootloader is to copy an efi file to the right folder (/EFI/archlinux/grubx64.efi or whatever) and register the bootloader in the boot configuration store. This allows you to pick the OS from a list by hitting the boot menu key for your device (f8/f12 usually I think?) rather than having to rely on something like systemd-boot or Grub to list all of your operating systems. This way, you can also boot UKIs and other Linux kernels compiled to simple EFI files, without ever even touching an independent bootloader.

          As a fallback, both Windows and some Linux bootloaders copy their files to the /EFI/Boot/bootx64.efi directory. This makes the drive bootable in cases where the boot configuration store is broken, or if the drive wasn’t hooked up to the same motherboard when the installation was done. This is particularly important for installer drives, because you don’t want to add a boot entry to your motherboard for every installer you plug in.

          The downside of this fallback file is that it’s just one single file in a preset directory, like the MBR of old. Some motherboards come with a file browser to select the EFI application you want to boot, but many will just give you a boot menu and nothing more. Because it’s a single file, that bootloader can either be Windows or it can be Linux. This isn’t a problem normally, but on broken motherboards this can render a system Windows-bootloader only or Linux-bootloader only. You can add both Linux and Windows to either, but the file being booted it always the last one that got updated.

          There’s also a weird edge case for when you install Linux on a GPT disk from CSM mode, where the GPT disk will have an MBR. That makes the Linux system incapable of using any UEFI features and it has the same problem: if Windows puts its bootloader there, the drive will boot Windows.

          As for bootloaders themselves, you generally only install one (though there’s nothing preventing you from installing both and having both be bootable, because they’re just entries in the UEFI menu!). If you want, you can install bootable Linux kernels as well, without any bootloader, though those don’t let you pick your boot options.

          • murtaza64@programming.dev
            link
            fedilink
            arrow-up
            3
            ·
            21 days ago

            Thanks for the detailed explanation, makes a lot of sense! I guess what I did was set up a UEFI entry that specifies the location of the Linux kernel without any intermediate bootloader. Pretty sure I didn’t set the fallback, so I’m guessing that’s still owned by windows.

            • Yes, I think you did. In that case, I don’t think Linux will claim the fallback loader entry. Windows doesn’t always copy its files there, so the file may not even exist. If that’s the case, you’ll only ever encounter the fallback paths on an installer/recovery disk.

    • NaN@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      7
      ·
      edit-2
      21 days ago

      Grub has already been patched, that doesn’t mean distributions shipped it. SBAT broke systems that hadn’t been updated.

    • DacoTaco@lemmy.world
      link
      fedilink
      arrow-up
      3
      arrow-down
      13
      ·
      edit-2
      21 days ago

      I agree they should have sent a patch to the grub source, but keep in mind big software companies like microsoft, Verizon, … do not normally allow their product teams to send a patch or PR to open source projects. This is because in their contract it states that all code written on and during company times is owned by the company. This means that it is impossible for them to make a patch or PR because it would conflict with the projects licence and fact its open source.
      This changes when the team explicitly works on the foss product/project like the ms wsl team or the team working on linux supporting azure hardware, but that is an exception. I do not believe the microsoft kernel/bootloader team is allowed to send patches to grub.

      Its a terrible thing, and it shouldnt be, but thats the fact of the world atm.

      • Pup Biru@aussie.zone
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        edit-2
        22 days ago

        this changes nothing: microsoft should have sent a patch remains microsoft should have sent a patch; internal policies are irrelevant to actions effecting external projects

      • Amju Wolf@pawb.social
        link
        fedilink
        English
        arrow-up
        8
        ·
        21 days ago

        This means that it is impossible for them to make a patch or PR because it would conflict with the projects licence and fact its open source.

        That’s not how it works. It just means the company owns the code for all intents and purposes, which also means that if they tell you that you can release it under a FOSS license / contribute to someone else’s project, you can absolutely do that (they effectively grant you the license to use “their” code that you wrote under a FOSS license somewhere else).

        • DacoTaco@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          21 days ago

          Yes, but not all devs within microsoft are allowed to work on non-ms foss projects. I assume wsl devs are allowed to send stuff to linux but visual studio devs probably are not.

          • nous@programming.dev
            link
            fedilink
            English
            arrow-up
            1
            ·
            21 days ago

            The wrote and released VS Code - a completely opensource development environment. If they wanted to patch Grub I bet they could have found the permissions internally to do that. Microsoft is a lot more open to OSS contributions then they were in the past.

            • DacoTaco@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              19 days ago

              Not saying youre wrong, but you took the wrong project as an example hehe.
              Visual code is not open source. Its core is, but visual code isnt. The difference is what visual code ships with, on top of its core.
              Its like saying chrome == chromium ( it isnt ).

              Visual code comes with a lot of features, addins and other stuff that isnt in the core.
              .net debugger for example, is not found in vscodium ( build of the vscode core ). And there is more stuff i cant think of now but have come across. Source: been using vscodium for a few months instead of vscode

              • nous@programming.dev
                link
                fedilink
                English
                arrow-up
                1
                ·
                19 days ago

                Sure, my bad. But it does not change my point. They have released stuff as opensource even if not all of it. Which means they can if they want to.

                • DacoTaco@lemmy.world
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  19 days ago

                  I know, hence why i said youre not wrong but the example was wrong :p
                  Also, its more complex than that. Some teams can, some cant. And if they can it all depends on what project or context. The business world isnt that cut and dry hehe

        • DacoTaco@lemmy.world
          link
          fedilink
          arrow-up
          1
          arrow-down
          5
          ·
          edit-2
          21 days ago

          And not every team is allowed to do that.
          Also, youre telling somebody who has worked with big companies not allowing it in their employer contract that he is lying? Riiiight…
          A lot of google devs also are not allowed to do any linux work outside of work without explicit permissions because of all the internal docs, teams and other work being done on linux from within google. Development rights is an absolute mess, legally.
          I usually dont care and do what is right, despite what my emploter contract says, but i have gotten in trouble for it

          • Tired and bored@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            21 days ago

            I’m not saying you’re lying, but you said

            do not allow software developers to send a patch or PR to open source projects.

            But this sentence in particular was misleading. Maybe you specifically did not have the right to do so, but in the Linux and BSD codebases there are a lot of @microsoft @netflix @oracle contributions, so at least there is someone in those companies authorized to do so

            • DacoTaco@lemmy.world
              link
              fedilink
              arrow-up
              2
              ·
              21 days ago

              Fair, and ill edit my post accordingly!

              There are teams that are allowed, and within those companies are teams that are directly related to foss projects because those companies are in the foundation or supports of the foundation. However, thats doesnt mean every (product) team in the company is allowed to or that they can do or change whatever they like. Its a complex mess

          • Petter1@lemm.ee
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            21 days ago

            They can forbid you to work on opensource stuff while being in free time? I mean, I understand that you are not allowed to generate open code that utilises private know how of the company you work for. But not working on Linux in free time seems very strange to me 😮

            Edit: deleted wrong “Edit:”

            • Tired and bored@lemmy.world
              link
              fedilink
              arrow-up
              3
              ·
              21 days ago

              Yeah if you write proprietary code and then work on a similar project in your spare time, your company might sue you because you’re likely reusing code you’ve seen or written at work.

              For example Windows developers are forbidden from working on ReactOS

            • DacoTaco@lemmy.world
              link
              fedilink
              arrow-up
              2
              ·
              edit-2
              21 days ago

              Thats just dual booting. That wont work with the law if the contract says anything created using company hardware is theirs.
              And yes, some companies need to give you a green light to work on projects in your free time, because they might have a team doing similar things somewhere, it might compete in something they would like to do in the future or like you said, might use company know how which is a huge nono. Its bs imo, but those clauses and rules are found in some employment agreements.
              Remember, always read your employment agreements!

    • Jeena@piefed.jeena.net
      link
      fedilink
      arrow-up
      43
      ·
      22 days ago

      I never did dual boot. The first time moving from windows 2000 to Linux, my hard drive was only 2 GB and I couldn’t fit both of the OS:es on it, so I nuked the windows one.

      • azimir@lemmy.ml
        link
        fedilink
        arrow-up
        24
        ·
        22 days ago

        At one point my 1GB disk was the “big one” in the dorm. It was the windows share of some random media. I had room for the whole 40MB videos “Jesus vs Frosty” (The Spirit of Christmas) and “Jesus vs Santa Claus”. It was before South Park became an actual show, but people watched those 100’s of times off my hard drive.

        When I bought a 3GB from Fry’s it was an open question how we’d fill it. Of course, that was just as the mp3 codec started to gain traction… Problem solved.

    • Ensign_Crab@lemmy.world
      link
      fedilink
      English
      arrow-up
      38
      arrow-down
      2
      ·
      22 days ago

      People who dual boot are likely to be linux newbies just trying it out. They’re more likely to blame linux when microsoft does what it does to competitors.

      • MagnumDovetails@lemmy.world
        link
        fedilink
        arrow-up
        11
        ·
        22 days ago

        I dual boot and am maybe considered a newbie. But I’ve had this set up for about a year slowly preparing to stop using Microsoft crap. It’s part of a longer path to digital privacy that was kicked into gear when the win 11 update made my Wi-Fi card disappear, like gone- like it was never installed. Fuck HP and Microsoft

        Ironically I had disabled secure boot to try another distro. Was going to drop Ubuntu for something else, still might but no rush, plenty to learn.

        • ThunderChunk@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          2
          arrow-down
          3
          ·
          22 days ago

          As a noob myself I can suggest KDE Neon. It’s quite similar to Windows. I switched 2 of my machines over and when the security updates stop for Windows 10 my gaming machine will switch also. I’m very satisfied 6 months in.

        • obbeel@lemmy.eco.brOP
          link
          fedilink
          arrow-up
          12
          ·
          22 days ago

          It’s not just about privacy. Linux and open source communities are a safespace for a novel way of doing things.

          • MagnumDovetails@lemmy.world
            link
            fedilink
            arrow-up
            4
            ·
            22 days ago

            I’ve noticed that, I also appreciate you can kinda tinker which I appreciate. It’s wild being so accustomed to the limited control you have from using windows and mainstream software

      • Unquote0270@programming.dev
        link
        fedilink
        arrow-up
        8
        arrow-down
        2
        ·
        22 days ago

        That’s not necessarily true, I dual boot and I’ve been using Linux for my main OS for about 15 years now. I rarely use mine but it is useful/needed occasionally.

      • NaN@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        21 days ago

        I blame Linux distributions for not updating when the issue has been fixed for years a little more than I blame Microsoft for untrusting old vulnerable software versions. That said, failing to figure out if it is dual booting or not when there are multiple ways of doing it was not really a surprise.

        (I also remember when some Fedora ISOs were unbootable immediately after release a few years ago for similar issues, they hadn’t updated shim or similar)

  • njordomir@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    21 days ago

    Is there any issue with having windows on one drive and Linux on the other and toggling in the bios at boot? Do I introduce any problems by keeping my rarely used windows installation on a separate disk like this?

    • obbeel@lemmy.eco.brOP
      link
      fedilink
      arrow-up
      1
      ·
      21 days ago

      I’m not sure, but clearly something happens on the background, as my Debian drive broke after I changed it back and forth for the Windows drive. Grub fell back to rescue mode. After following some instructions and trying to boot from grub command line, Debian wouldn’t boot after it recognized the mouse. That’s what I know. Even in different drives, something happens on the PC when you go back and forth with Windows and Linux.

      • njordomir@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        21 days ago

        I should have been more clear,

        Assuming dev/sda is Linux and dev/sdb is Windows, I have grub on sda and Windows bootloader on sdb. I use a hotkey at boot to tell the bios which drive to boot from.

        Theoretically windows thinks it’s the only OS unless it’s scoping out that second hard disk.

        • Avatar_of_Self@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          21 days ago

          It updates Secure Boot in the BIOS, so you could completely remove Windows but the Secure Boot update would still be in the BIOS and affect the boot loader.