72
submitted 9 months ago by [email protected] to c/[email protected]

I was talking to my dad yesterday and he talked about how he dual booted windows and Linux in his college days. I immediately left to download Ubuntu, I feel so dumb for forgetting it's an option. I literally only use windows so I can play Fortnite with friends. PSA: you can have both Linux and Windows, or you can use a vm in Linux. Be (mostly) free from Microsoft's clammy hands.

all 50 comments
sorted by: hot top controversial new old
[-] [email protected] 48 points 9 months ago

I always found having each OS have a separate physical drive is much better, but partitioning is fine if you must.

[-] [email protected] 21 points 9 months ago

Third world countries: We must 😔...

[-] [email protected] 8 points 9 months ago

It's a luxury indeed. Hopefully maybe a little less now that decent storage has come down in price a lot

[-] [email protected] 7 points 9 months ago* (last edited 9 months ago)

Have to agree on that. SSD and RAM prices have gone down significantly.

[-] [email protected] 1 points 9 months ago

Not a luxury. A 128 GB SSD can be bought for about $25 (last year) or even cheaper now, and you buy once for many years, as home users write a lot less on SSDs.

[-] [email protected] 8 points 9 months ago

Partitioning is great with a boot partition for each OS,and linux chainloading to windows. Then I have aseparate NTFS drive as secondary drive in Windows and Linux, in case I need to work on data in either OS

[-] [email protected] 1 points 9 months ago

Partitioning is great with a boot partition for each OS

Until Windows eats your Linux boot partition. I've learned my lesson, I only dual boot with separate drives now

[-] [email protected] 2 points 9 months ago

And when's the last time that happened to you? I have Windows and Linux on my UEFI laptop on the same disk since 2020 and never had that happen on Windows 10 and 11.

[-] [email protected] 1 points 9 months ago

A couple of years ago, don't know exactly, but maybe 2018? Somewhere around there at least

[-] [email protected] 2 points 9 months ago

Windows wont if you set two independent boot partitions, and you chainload from kinux grub to windows. windows never realizes there is another boot partition. Grub is your BIOS EFI default and Grub has an entry to kickoff windows boot. You can even boot to linux right after what ahould be a windows update restart, do your linux work and when you kickoff windows again the reatart and update continues. i have had this setup since 2017.

[-] [email protected] 25 points 9 months ago

I installed a second SSD into my new laptop and installed Debian on it. I set the new drive as the primary boot drive so windows doesn’t get a say and only loads when I select it from the boot menu. This way windows can’t trash the boot loader when it updates.

[-] [email protected] 7 points 9 months ago

So much this, having each OS in a separate drive saves so many headaches

[-] [email protected] 22 points 9 months ago

As others have said, I also highly recommend physically separate drives. I have found both Linux and Windows affect each other sometimes especially when you're getting your bearings with dual booting.

For instance, after running Linux the clock in Windows will be wrong. And Windows will eat the Linux boot partition especially after feature packs (formerly called service packs), which come out about 1-2/year.

[-] [email protected] 8 points 9 months ago

Just in case anyone stumbles in to this, there is a fix for the time issue:

https://itsfoss.com/wrong-time-dual-boot/

[-] [email protected] 14 points 9 months ago* (last edited 9 months ago)
[-] [email protected] 12 points 9 months ago

Damn, the Arch Wiki is even the best documentation for Windows!

[-] [email protected] 5 points 9 months ago

Anecdotally I've been dual booting Windows 11/Linux on my laptop for a couple years and I've never had issues with Windows affecting the boot partition and I feel like this is much less common with EFI. You can even have a separate EFI partition for Linux and choose boot order from the BIOS.

I've always done partition based dual booting since I first started using Linux and the last time I remember having an issue with Windows fucking with boot setup was like early/mid 2010s and it's only happened a couple times in like 10 years of on and off dual booting.

[-] [email protected] 5 points 9 months ago

Just install linux 2nd and have it probe foreign OS, and create a linux only boot partition. Grub will then make a chainloader entry to windows boot partition. Linux won't care if you select windows chainload option, and Windows won't know it ia being chainloaded. No OS overlap. just set Grub Boot entry as primary boot in BIOS, EFI.

[-] [email protected] 16 points 9 months ago

imo dual booting is kinda clunky. Id rather have a vm of windows tbh. I dont like restarting my pc to swtich OS.

But hey if you like it, more power to you man.

[-] [email protected] 10 points 9 months ago

Only did it bc anti cheats. I would use vms otherwise.

[-] [email protected] 1 points 9 months ago

Ah I gotcha. Another option im considering is using a separate pc for windows and using a kvm to switch between them. That may be a good option for you as well if you can swing it.

[-] [email protected] 4 points 9 months ago

Unfortunately no, I'm trying to save money atm.

[-] [email protected] 1 points 9 months ago

Are there any performance losses running Windows VM to play games? Asking as I am new to this.

[-] [email protected] 16 points 9 months ago

Buy a $30 SSD and put Windows on it. Boot to SSD when you want to use Windows, and put it down the booting order list in BIOS, so Linux always gets booted by default.

You will hear less about dual booting in Linux community because Windows loves to destroy GRUB bootloader, and also Windows is just becoming more and more annoying so there is a "nudging" or push to adopt Linux, forcibly or otherwise.

[-] [email protected] 5 points 9 months ago

wait, you can have two different systems, on two SSDs, on the same computer? this will be useful once i get to build my pc. Thanks!

i'm guessing having windows on a separate drive will mean that it won't break GRUB?

[-] [email protected] 4 points 9 months ago

Muahaha, long ago had a system with a removable 5.25" HDD bay. Matching drives in enclosures, 1 linux, 1 windows. One "permanent" drive in the machine for user data.
Super easy to swap between the OS when you're physically changing the first drive on the IDE chain.

[-] [email protected] 4 points 9 months ago* (last edited 9 months ago)

I think they may actually be suggesting that you let each OS be the primary OS and then just control which one you want via boot order in the BIOS.

But yes, if Windows is able to install its boot loader on its own drive, it will not mess up the Linux boot loader on another drive. The Linux boot loader can detect Windows though and allow you to boot to it ( and Linux too of course ). That is why you make sure Linux boots first.

[-] [email protected] 2 points 9 months ago* (last edited 9 months ago)

I triple boot Windows with a Debian distro and an Arch distro. Windows is on one drive with its boot loader there so it doesn’t mess with the linux boot loaders and vice versa, and the two linux distros and their boot loaders are on a second drive. Just make sure Windows is already there and the linux boot loaders will pick it up.

[-] [email protected] 2 points 9 months ago

Yeah, AFAIR, the issue of "windows messing up grub" could happen when it's installed on the same disk (e.g. on a laptop with one disk). Something about it overwriting the "MBR sector". At least that was a problem back before UEFI.

I too have been dual booting Windows 10 and Linux for many years now, each having their own physical disk, Linux one always being first in boot order. Not once did a Windows 10 update mess up grub for me with this setup.

[-] [email protected] 1 points 9 months ago

Many ThinkPad models have a separate extra M.2 WWAN slot for 4G SIM modem, something you can check with respective models' PSREF sheet. You can put either 128 or 256 GB (whatever specified) M.2 SSD of sizes either 2230 or 2242, which I was able to do on my L470 (a very modern laptop).

On a desktop, it is obviously easy, but on laptops, it depends, but you will find ThinkPads to be the most pro-consumer and pro-poweruser laptops.

[-] [email protected] 1 points 9 months ago

My current setup is two drives, a 500gb with windows and a 1tb sad with my Linux install on it. I set the 1tb to my first boot drive, so hopefully no windows shenanigans. I'm going to see if I can set up automatic backups soon just in case

[-] [email protected] 16 points 9 months ago

We used to dual boot before virtualization matured.

[-] [email protected] 13 points 9 months ago* (last edited 9 months ago)

Most people forget you can also run a Linux VM inside Windows if all the other options don't work for you.
It protects your private data from virusses, doesn't let Microsoft's telemetry spy on your usage and browsing, and gives you more control.
Just limit what you do in Windows to what needs it running natively and do everything else inside the VM.

[-] [email protected] 7 points 9 months ago

This generally works for people who only need command-line or headless access though. I've been waiting for proper GPU virtualization and partitioning to actually work on consumer gpus for so long now that I'm doubtful it will ever be a thing. And the hardware industry has gradually transitioned to single GPU setups now so PCIe lanes for multi-GPU setups are harder to come by, especially with recent motherboards dedicating more and more PCIe lanes to NVMe slots. Still, even GPU pass-through with VFIO is not a trivial thing at all to get up and running. Its a travesty that CPU virtualization is so mature and far along in the consumer space, juxtaposed with a seemingly absolute big fat zero on the GPU virtualization front.

You could get away with using VMWare for their proprietary GPU virtualization feature but besides simple sandboxes for testing, I will not personally get too far into it as the experience is not great.

[-] [email protected] 3 points 9 months ago

Proper vGPU would be so much better if nvidia weren't twats. Anyways if you use proxmox you can unlock vGPU support for most consumers GPUs using this script

[-] [email protected] 1 points 9 months ago* (last edited 9 months ago)

Great find! Thanks, this is new to me. I would have taken this out for a whirl immediately but I just read the docs and sadly it doesn't support my 3000 series nvidia card. Team Green is seriously getting on my nerves for their anti consumer practices, enough for me to go all in into Team Red or Intel for my next GPU.

At this point, Intel (if you're listening), the single most important feature you can implement to get an immediate buy from me, is SR-IOV on your Arc cards. I will probably buy a few of them for each of my PCs as well.

[-] [email protected] 4 points 9 months ago

It only protects your data if you encrypt the virtual disk. And then you could still lose it to a ransomware attack.

[-] [email protected] 1 points 9 months ago

That's why regular backups are advisable.

[-] [email protected] 8 points 9 months ago

I only boot windows for Fortnite and The Crew 2 because of BS DRM. Everything else runs great.

[-] [email protected] 8 points 9 months ago

Be aware that Windows will snitch on you if you run it in a VM. I don't know about Forkknife in particular, but if a game's TOS prohibits it, or the anti-cheat is having a bad day, it might get you banned. There are ways to trick Windows into thinking it's running on metal, but it's always a risk.

[-] [email protected] 2 points 9 months ago* (last edited 9 months ago)

Windows doesn't "snitch" on you. Invasive anti-cheat measures demand to act as a root-kit on your pc that reads out literally everything about your system, including CPU, hardware ID of the mainboard, etc. So of course it will see that it's installed on a VM and you gave it the right to send that info wherever during installation of the game.
Since the point of this measure is to keep people from evading a ban by reinstalling, it will not like seeing that it's in a VM.

[-] [email protected] 6 points 9 months ago

Taskmgr will literally list that the OS is running in a VM. You don't need a rootkit to detect it.

[-] [email protected] 1 points 9 months ago

That's why I went with dual booting over a vm. Battleye and ez anti cheat both try to detect even Microsoft's hyper-v.

[-] [email protected] 4 points 9 months ago

thats the reason i dont play those Games anymore(although i would love to). i cannot live with the fact, that i am not in charge on my own device

[-] [email protected] 6 points 9 months ago

Use Grub2Win (https://sourceforge.net/projects/grub2win/) whenever Windows manages to break dual booting. It'll stop fucking up afterwards, as it'll be installed within one of the windows boot partitions.

[-] [email protected] 5 points 9 months ago

Personally I'm not a fan of dual booting. Admittedly it's been many years since I have evn tried (now that virtualization is what it is), but when I did, grub would always break on me. It just wasn't worth the hassle. Now to think of having to reboot to switch just makes me cringe. Lol

[-] [email protected] 3 points 9 months ago

i dual boot bc of the adobe software i use for work and wine/proton doesn't work with the shit ton of skyrim mods I play with. straight up crashes.

[-] [email protected] 2 points 9 months ago

re: Skyrim, could just be that some SKSE mod you're using needs some newer .net runtime or similar

could also be not enough vram (even if you have enough ram wine/proton could have it's vram allowance set too low)

 

If you don't already have one get a crashlogger, for SkyrimSE 1.5.97 I would recommend .NET Script Framework (and use SSE Engine Fixes skse64 preloader instead of DLL Plugin Loader)

 

If you already knew about all this and still having issues then don't mind me

this post was submitted on 28 Nov 2023
72 points (78.6% liked)

Linux

47345 readers
1350 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS