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

Linux

48104 readers
725 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
 

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 47 comments
sorted by: hot top controversial new old
[–] bdonvr@thelemmy.club 48 points 11 months ago (2 children)

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

[–] 0x4E4F@infosec.pub 21 points 11 months ago (1 children)

Third world countries: We must 😔...

[–] bdonvr@thelemmy.club 8 points 11 months ago (2 children)

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

[–] 0x4E4F@infosec.pub 7 points 11 months ago* (last edited 11 months ago)

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

[–] BCsven@lemmy.ca 9 points 11 months ago (1 children)

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

[–] EddoWagt@feddit.nl 1 points 11 months ago (2 children)

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

[–] jbk@discuss.tchncs.de 2 points 11 months ago (1 children)

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.

[–] EddoWagt@feddit.nl 1 points 11 months ago

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

[–] BCsven@lemmy.ca 2 points 11 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.

[–] YurkshireLad@lemmy.ca 24 points 11 months ago (1 children)

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.

[–] DudeDudenson@lemmings.world 7 points 11 months ago

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

[–] monsterpiece42@reddthat.com 21 points 11 months ago (3 children)

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.

[–] Almaut@lemmy.world 7 points 11 months ago (1 children)

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

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

[–] rotopenguin@infosec.pub 13 points 11 months ago* (last edited 11 months ago) (1 children)
[–] KISSmyOS@lemmy.world 11 points 11 months ago

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

[–] BCsven@lemmy.ca 5 points 11 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.

[–] PainInTheAES@lemmy.world 5 points 11 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.

[–] Bluefruit@lemmy.world 16 points 11 months ago (2 children)

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.

[–] JPAKx4@lemmy.blahaj.zone 10 points 11 months ago (2 children)

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

[–] Bluefruit@lemmy.world 1 points 11 months ago (1 children)

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.

[–] JPAKx4@lemmy.blahaj.zone 4 points 11 months ago

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

[–] Rooskie91@discuss.online 1 points 11 months ago

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

[–] possiblylinux127@lemmy.zip 14 points 11 months ago

We used to dual boot before virtualization matured.

[–] KISSmyOS@lemmy.world 12 points 11 months ago* (last edited 11 months ago) (2 children)

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.

[–] milkjug@lemmy.wildfyre.dev 7 points 11 months ago (1 children)

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.

[–] You999@sh.itjust.works 3 points 11 months ago (1 children)

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

[–] milkjug@lemmy.wildfyre.dev 1 points 11 months ago* (last edited 11 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.

[–] uzay@infosec.pub 4 points 11 months ago (1 children)

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

[–] bellsDoSing@lemm.ee 1 points 11 months ago

That's why regular backups are advisable.

[–] stellarforce@kbin.social 8 points 11 months ago

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

[–] rtxn@lemmy.world 8 points 11 months ago (2 children)

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.

[–] KISSmyOS@lemmy.world 2 points 11 months ago* (last edited 11 months ago) (1 children)

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.

[–] rtxn@lemmy.world 6 points 11 months ago

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

[–] JPAKx4@lemmy.blahaj.zone 1 points 11 months ago (1 children)

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.

[–] derbolle@feddit.de 4 points 11 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

[–] fxt_ryknow@lemmy.world 5 points 11 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

[–] ICastFist@programming.dev 5 points 11 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.

[–] DaveedMee@beehaw.org 3 points 11 months ago (1 children)

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.

[–] Astaroth@lemm.ee 2 points 11 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

[–] LoveSausage@lemmygrad.ml 3 points 11 months ago* (last edited 11 months ago)

I had an old windows AME install on a separate drive I forgot about. Updated grub in peppermint (Debian) voila all of the sudden my windows was added , no fuss at all. Simple nowadays