this post was submitted on 28 Nov 2023
76 points (79.2% liked)

Linux

48102 readers
766 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 50 comments
sorted by: hot top controversial new old
[–] bdonvr@thelemmy.club 49 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.

[–] TheAnonymouseJoker@lemmy.ml 1 points 11 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.

[–] 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 25 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 22 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 8 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 14 points 11 months ago* (last edited 11 months ago) (1 children)
[–] 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.

[–] 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.

[–] TheAnonymouseJoker@lemmy.ml 18 points 11 months ago (2 children)

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.

[–] callyral@pawb.social 6 points 11 months ago (4 children)

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?

[–] LeFantome@programming.dev 5 points 11 months ago* (last edited 11 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.

[–] Froyn@kbin.social 5 points 11 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.

[–] mateomaui@reddthat.com 2 points 11 months ago* (last edited 11 months ago) (1 children)

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.

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

[–] TheAnonymouseJoker@lemmy.ml 1 points 11 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.

[–] JPAKx4@lemmy.blahaj.zone 1 points 11 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

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

We used to dual boot before virtualization matured.

[–] 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.

[–] 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.

[–] 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

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

[–] 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

[–] 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

[–] 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