I’ve been happily Windows-free for about 5 years, but lately I need some Win-only software including a few games that don’t work at all on Linux. My main questions:

  • How to avoid Windows messing with my Linux install? Having a separate PC is not possible for me right now. I’m considering uninstalling grub and instead selecting the boot device I want from UEFI, idk if this is advisable though.

  • I’m also interested in how to get a Windows install that’s as minimal as possible: I don’t want to log in to a Microsoft account, I don’t want telemetry etc, I only want whatever is strictly required to make my system functional. The one thing I do want is Windows Defender cause ain’t no way I’m dealing with an antivirus.

  • Should I go for Win 11 or stick to 10?

Any tips or experiences are welcome!

Ps: I know this information is probably all out there, but I thought a post in this community about it would be useful for others as well.

UPDATE: I ended up going with a regular old dual boot using Windows 10 iot LTSC - there’s a few games I wanted to run and a driver as well so I chose to install directly on hardware as opposed to a VM. I created the install media using Ventoy, and UNPLUGGED EVERY OTHER DRIVE during installation except the one Windows was supposed to come on. Afterwards I had to boot in with a live Linux USB (the nice thing about Ventoy is that you can write multiple ISOs to your USB so it came in handy) to manually install rEFInd onto the original EFI partition that my Linux install uses, then I just had to set up the correct boot order in UEFI and everything is working. I also had to fuck around on the boot partition and with efibootmgr to remove all traces of grub so things don’t get tangled up which was a bit scary but things are working perfectly now.

  • @terminhell@lemmy.dbzer0.com
    link
    fedilink
    503 months ago

    Two physical drives. Install windows first in one, then Linux on the other. If you don’t do this order windows boot manager will take over and you’ll have to boot Linux from bios.

    • @Foofighter@discuss.tchncs.de
      link
      fedilink
      93 months ago

      I’m not using dual boot anymore, but when I did, I always selected the partition from BIOS, which was totally fine for me. Are there arguments against it?

      • @I_Miss_Daniel@lemmy.world
        link
        fedilink
        English
        73 months ago

        Only an issue if you don’t disable fast shutdown on Windows. A hibernated system might get surprised if another OS moves files about while it was asleep.

        • @Wolf314159@startrek.website
          link
          fedilink
          13 months ago

          Windows is never going to like an NTFS that has been touched by another OS even if it windows was completely shutdown during that time. Reading the NTFS partition might be okay. But, last I checked none of the Linux drivers could write without windows noticing and fouling things up. If that has changed it would be welcome news to me despite my warning use of windows.

          If windows (and to a lesser extent that other OS) came bundled with some ability to mount, read, and write filesystems popular with other operating systems this wouldn’t be such a problem. One shouldn’t have to involve the network stack or 3rd party drivers just to share a partition on the same hardware or a portable drive with a modern file system.

      • @Mambert@beehaw.org
        link
        fedilink
        123 months ago

        I’d recommend having the Linux drive unplugged during the windows installation. Windows, for some reason, will install the boot loader in an entirely different drive than what you selected. There’s no question or prompt to prevent this. The only way to easily prevent this is to just have the one drive plugged in.

        • @GenderNeutralBro
          link
          English
          23 months ago

          Yeah, I had to disconnect all my SATA HDs to stop the Windows installer from shitting all over them.

          I’d be worried about Windows updates doing the same thing now, after the the recent glitch that broke bootloaders.

          • @Mambert@beehaw.org
            link
            fedilink
            23 months ago

            It’s common for windows updates to delete boot parts or Linux, corrupt grub, etc. That is only when windows and Linux are installed on the same drive together. I have yet to see Windows corruping Linux on a separate drive entirely. Never happened to me despite how much I mess up my grub updates distro hop.

      • @hades@lemm.ee
        link
        fedilink
        43 months ago

        One problem with that is that you will end up with two EFI partitions. This is not supported very well by anything, really, so you will run the risk of Windows messing with the wrong partition anyway.

        • @scorp@lemmy.ml
          link
          fedilink
          English
          13 months ago

          i’ve been running two drives two EFI partitions dual boot for some time now and it never posed a problem specific to it. on the contrary it makes it easier to distro-hop since you can format the Linux EFI Drive and resize it however you want depending on the distro.

    • @SteelCorrelation@lemmy.one
      link
      fedilink
      33 months ago

      Yep, dual disks with the Windows installation done first is how I did/do it. GRUB/systemd-boot worked just fine from then on, and I am not on Windows 11, so I didn’t get hit with that fuck-up Microsoft did just a few days ago.

  • @some_random_nick@lemmy.world
    link
    fedilink
    253 months ago

    My aproach was to use two drives. I had Windows on the first, then disconected it and installed Linux on the second. That way I dont have grub and use F11 to open the bios bootloader to select the system I want.

  • @friend_of_satan@lemmy.world
    link
    fedilink
    English
    14
    edit-2
    3 months ago

    My first line of investigation here would be virtualization. It will solve the “don’t mess with my Linux install” problem and will let you use the windows apps you need at the same time as the Linux apps you normally use. Also VMs have all their other useful features like snapshots and portability.

    I did this in the distant past and it was quite convenient having the VM instead of a dual boot.

    • KubeRoot
      link
      fedilink
      English
      43 months ago

      I also recommend rEFInd for the bootloader if you don’t want to set anything up (and risk messing up). You don’t need to configure your boot entries, it scans for boot options and shows them with a graphical interface, so your Linux and Windows should just show up.

    • @erwan@lemmy.ml
      link
      fedilink
      13 months ago

      If I have a new PC with a blank hard drive, what should be the install order?

      Windows, then rEFInd, then Linux?

      • Jo Miran
        link
        fedilink
        13 months ago

        Linux, Win, rEFInd too. Windows is the destructive force here, so rEFInd should always go after it.

  • Random Dent
    link
    fedilink
    English
    103 months ago

    One thing I’ve been trying lately that’s a bit different: I happen to have an old SSD that had an enclosure with it (kind of like this) which essentially turns it into an external USB drive.

    I then used Rufus to install Windows on that drive, using the “Windows To Go” option and also checking the option to not allow Windows to access the internal drives. That way, my laptop can just happily run Linux by itself, and if I need to use Windows for anything I can just plug the drive in, hit F12 on boot and choose to boot from that drive instead. The added bonus is that Windows also can’t mess with anything on my regular system or monkey about with the boot loader.

    I’ve only had it on there for about a week but it seems to be working perfectly fine so far!

    Oh and also Rufus gives you the option to start with a local account already set up, so you don’t have to do the MS online account bullshit. And then after install I used ShutUp10 to turn off as much telemetry as I could.

  • @ExtremeDullard
    link
    73 months ago

    The most painless way to dual-boot is to install something that’s not Windows alongside something else that’s not Windows.

  • @thatsnothowyoudoit@lemmy.ca
    link
    fedilink
    53 months ago

    Is there a reason you need a dual book instance instead of a VM or even WINE?

    Unless you need direct access to hardware and if you have enough RAM, you can probably avoid dual booting altogether.

    • @recarsion@discuss.tchncs.deOP
      link
      fedilink
      23 months ago

      I exhausted the WINE route, some games I want to play don’t work with Proton no matter how much you tweak (the first time I’m running into this in a few years) as well as some additional software. There’s also a driver I need to run that’s technically available on Linux but it’s a reverse engineered solution developed by one guy so who knows if it’s gonna keep working.

      • @superkret@feddit.org
        link
        fedilink
        2
        edit-2
        3 months ago

        developed by one guy so who knows if it’s gonna keep working.

        If that scares you, don’t look too far behind the curtain on any open source project.

      • pbjamm
        link
        fedilink
        English
        23 months ago

        Dwarf Fortress runs fine in Linux. Are you telling me there are other video games?!?

  • Possibly linux
    link
    fedilink
    English
    5
    edit-2
    3 months ago
    1. Get 16gb of ram and CPU less than 5 years old.

    2. Install Windows 11 in a VM

    3. Install the virtio drivers from the Fedora project link

    4. Profit

    • How good are the virtio GPU drivers?

      I’ve only really messed with them on servers with their ancient ass GPUs from like the early 2000s. Back in 2015 I remember running GTA 5 on a 2013 iMac with iris pro. In windows I got 30+ gps at 1080p, and through parallels I got about the same FPS at 720p.

      • Possibly linux
        link
        fedilink
        English
        13 months ago

        On Windows they can’t really be used for gaming to my knowledge. However, they are used for the UI

  • @Balinares@pawb.social
    link
    fedilink
    English
    43 months ago

    The default actually works pretty well these days.

    Messing with the EFI partition, for instance by attempting to have two of those on separate disks, will probably cause you more pain than Windows will. As far as I understand, only one EFI partition can be configured in BIOS as the boot partition, so you will have to change the configuration in BIOS whenever you want to boot to the other OS.

    Windows does have a history of changing the default EFI bootloader once in a while; however your chosen bootloader is still there, just not marked as the default anymore. A Windows app like EasyUEFI will let you change the default back.

  • IninewCrow
    link
    fedilink
    English
    4
    edit-2
    3 months ago

    Swappable hard drives

    I have a ThinkPad with easy access to the hard drive. It’s one screw, remove a small panel and slide out the hard drive, slide in a new hard drive and reinstall the panel and screw. It all takes about a minute.

    I have a drive for my Linux setup and another for windows.

    I gave up setting up dual boot setups because I’m not as skilled or capable and I’ve lost entire setups in the past due to updates and changes and it was constantly frustrating for me. So I figured that just swapping hard drives was the easiest for me. No configuration, no changes and neither OS can interfere with one another.

    I use my Linux as my daily driver for everything and windows when I need something from windows. I only ever use windows maybe once a month or once every second month. I spend more time regularly updating windows than in actually using it.

  • 2xsaiko
    link
    fedilink
    43 months ago

    Windows doesn’t mess with the Linux install anymore, that was with BIOS boot. Just make sure the EFI partition is big enough so you can fit both.

      • 2xsaiko
        link
        fedilink
        33 months ago

        As far as I know, that only stops out of date versions of grub that have a certain vulnerability from running that would allow escaping Secure Boot. Meh. It doesn’t touch any Linux files or anything and you can boot if you turn off Secure Boot so you can fix it. Long shot from what used to happen where you could only have one boot loader installed at a time so installing Windows would wipe what was there before.

        (and by fix it I mean replace grub with systemd-boot)

  • data1701d (He/Him)
    link
    fedilink
    English
    43 months ago

    Like others have said, I just use two drives, and I can boot into Windows with GRUB.

    However, these days, I just do a VM with GPU passthrough. (I installed a second graphics card in my PC just for this.)

  • @rotopenguin@infosec.pub
    link
    fedilink
    English
    33 months ago

    Might as well go for Win11, you’re going to have to deal with it next year anyways.

    Windows doesn’t do minimal, it does whatever the hell it wants. There are some OOBE tricks to get a local account working.

    I have used the privacy.sexy app to strip down some of the most obnoxious Win11 bits - be warned that you have to disable defender to have it work. Is it doing bad things? Is MS doing incredibly shady shit with their detections? Who’s to say? When I turn on Defender afterwards, everything seems “fine”.

    There’s no need to get rid of grub, or play games with different boot drives. Get to know how EFI works. Look at efibootmgr’s output - that’s pretty much all that the firmware knows. The firmware has multiple entries consisting of a drive (magic device number), a program path (EFI\grub\grub_x64.efi), and maybe a string to pass along. There is a priority list (0003,0001,0002) which MS occasionally likes to re-arrange.