There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

What is the most painless and minimal way to dual boot these days?

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.

SidewaysHighways ,

Tiny10 on a VM

I’m sluggishly in the middle of the same thing.

some_random_nick ,

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.

SynopsisTantilize ,

Do this.

Kazumara , (edited )

Using modern UEFI booting with a 1GB shared ESP and grub2 has worked just fine for me in the last 8 years. os-prober has always just found the Windows install and generated the necessary boot entry for grub. Windows has never trespassed into the Fedora or Ubuntu folder of the ESP as far as I can tell.

data1701d ,
@data1701d@startrek.website avatar

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.)

NutWrench ,
@NutWrench@lemmy.ml avatar

I’ve got two separate drives. Linux Mint on an SSD and Windows 10 on an older, mechanical drive. Leave the Windows drive alone. Make the Linux drive the first drive in your BIOS boot order, with the option to boot to Windows as your second drive.

If your GRUB menu doesn’t show the Windows drive yet, run “sudo update-grub” to detect it. When your reboot, the bootloader should show both options.

JoMiran ,
@JoMiran@lemmy.ml avatar

I like rEFInd

kuberoot ,

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.

recarsion OP ,

It does look like the easiest option so I will definitely use it, thanks!

possiblylinux127 , (edited )
  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
fuckwit_mcbumcrumble ,

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.

possiblylinux127 ,

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

rotopenguin ,
@rotopenguin@infosec.pub avatar

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.

friend_of_satan ,

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.

IzzyChambers ,
@IzzyChambers@vivaldi.net avatar

@friend_of_satan @recarsion yes, I’ve been using Windows 11 as a guest OS in VirtualBox for two months, after I switched to Linux as my main OS. I like it much more than dual booting.

recarsion OP ,

Good thinking, I’ll definitely look into that. One caveat is I’m going to need a driver that’s also Win-only so I’ll have to see if that works in a VM.

possiblylinux127 ,

For what hardware?

recarsion OP ,

Fanatec racing wheel and pedals - although this one technically works on Linux as well through hid-fanatecff which is what I’m currently using but the official ones would be better

SteelCorrelation ,

Yeah, VMs are a good route since the OP didn’t mention gaming.

recarsion OP ,

I should have, gonna edit the post

ionizedgears ,

I recommend QEMU/KVM with GPU passthrough (will require two GPUs but an iGPU will suffice for the host Linux install if you don’t need a powerful GPU for it). You don’t get complete bare metal performance but it’s close.

You can do USB passthrough for your gaming peripherals with the windows-only drivers installed on the VM.

I actually do this now for video games but with a windows VM running on a headless proxmox host that I remote into with Parsec. I had to scrap and remake the VM a few times in the beginning while figuring everything out but the VM has been going strong without breaking for around 1.5 years now.

KiLoB0 ,

I used to use my VM a lot for gaming. Unfortunately as of late the games I’ve been wanting to play like spectre divide were blocking VM users.

I still think that a gpu passthrough VM is super cool though. I did mine with only one gpu too.

2xsaiko ,
@2xsaiko@discuss.tchncs.de avatar

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.

recarsion OP ,

Does it not? I’ve seen posts about grub being borked after Windows updates, or was that only on legacy BIOS systems?

Treble ,
@Treble@lemmy.blahaj.zone avatar

An update borked my eufi setup last year, good riddance, Microsoft.

vulgarcynic ,
@vulgarcynic@sh.itjust.works avatar

can report UEFI installs of PopOS and Mint were recently borked by a Win11 update.

fuckwit_mcbumcrumble ,

It’s not supposed to at least. There was a bug recently where it broke the bootloader. But windows is supposed to be able to tell there’s another OS and not break it.

2xsaiko ,
@2xsaiko@discuss.tchncs.de avatar

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)

possiblylinux127 ,

Not true as of late

Quintus ,
@Quintus@lemmy.ml avatar

I would recommend going for the IoT LTSC versions of Windows.

massgrave.dev/windows_ltsc_links

just_another_person ,

If by “these days” you mean a motherboard that supports UEFI, then it honestly doesn’t matter anymore. Your board controls the boot order, and there isn’t an MBR for Windows to mess with anymore. Just plan out your partitioning careful before hand, and if you plan on using a lot of files in both OS’s, make a plain storage partition that is easily mounted under Windows (NTFS does not count).

Honestly, aside from a very scant number of apps or games, there isn’t a real need to dual boot anymore. If you can’t run something under Proton or Wine, having a Windows VM will get the job done.

recarsion OP ,

NTFS does not count

Aren’t NTFS and exFAT pretty much the only option?

just_another_person ,

Well, you can really mount whatever works in Linux with ESL, so that’s an option. Linux does have native NTFS support in the kernel, but I wouldn’t suggest using it for read/write because it can’t repair itself. It will almost certainly corrupt over time.

You can still use ext2fsd to use ext partitions in Windows I believe. FAT isn’t going to be the easiest to get along with more than likely.

lurch ,

a bootable removable medium that can display and chainload all the installed OSes

Balinares ,

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.

thatsnothowyoudoit ,
@thatsnothowyoudoit@lemmy.ca avatar

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 OP ,

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 , (edited )

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.

recarsion OP ,

Fair point, xkcd was right xkcd.com/2347/

superkret ,

All my machines are running a distro maintained since 1993 by one guy who’s slowly running out of money.
But the beauty of open source is: If there’s demand for something, other devs will pick up the project, or develop a replacement.

pbjamm ,
@pbjamm@beehaw.org avatar

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

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines