Why didn't anyone remind me the dual booting exists?
from JPAKx4@lemmy.blahaj.zone to linux@lemmy.ml on 28 Nov 2023 00:31
https://lemmy.blahaj.zone/post/5887683

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.

#linux

threaded - newest

YurkshireLad@lemmy.ca on 28 Nov 2023 00:36 next collapse

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 on 28 Nov 2023 01:47 collapse

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

rtxn@lemmy.world on 28 Nov 2023 01:05 next collapse

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 on 28 Nov 2023 07:31 next collapse

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 on 28 Nov 2023 08:36 collapse

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

KISSmyOS@lemmy.world on 28 Nov 2023 09:03 collapse

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 on 28 Nov 2023 10:27 collapse

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

<img alt="" src="https://lemmy.world/pictrs/image/6086f13c-4939-40ea-a228-2add5789f706.png">

bdonvr@thelemmy.club on 28 Nov 2023 01:47 next collapse

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

0x4E4F@infosec.pub on 28 Nov 2023 01:58 next collapse

Third world countries: We must 😔…

bdonvr@thelemmy.club on 28 Nov 2023 02:10 collapse

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

0x4E4F@infosec.pub on 28 Nov 2023 02:50 next collapse

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

TheAnonymouseJoker@lemmy.ml on 28 Nov 2023 12:30 collapse

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 on 28 Nov 2023 05:27 collapse

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 on 29 Nov 2023 21:43 collapse

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 on 29 Nov 2023 21:50 next collapse

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 on 30 Nov 2023 06:38 collapse

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

BCsven@lemmy.ca on 30 Nov 2023 01:15 collapse

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.

monsterpiece42@reddthat.com on 28 Nov 2023 02:12 next collapse

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 on 28 Nov 2023 02:18 next collapse

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

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

rotopenguin@infosec.pub on 28 Nov 2023 03:08 collapse

The better way is to fix Windows to use a sensible system time. wiki.archlinux.org/title/System_time#UTC_in_Micro…

KISSmyOS@lemmy.world on 28 Nov 2023 08:42 collapse

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

BCsven@lemmy.ca on 28 Nov 2023 05:24 next collapse

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 on 28 Nov 2023 05:25 collapse

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.

stellarforce@kbin.social on 28 Nov 2023 05:19 next collapse

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

DaveedMee@beehaw.org on 28 Nov 2023 06:55 next collapse

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 on 28 Nov 2023 08:02 collapse

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

KISSmyOS@lemmy.world on 28 Nov 2023 07:44 next collapse

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.

uzay@infosec.pub on 28 Nov 2023 10:59 next collapse

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 on 30 Nov 2023 01:47 collapse

That’s why regular backups are advisable.

milkjug@lemmy.wildfyre.dev on 28 Nov 2023 11:58 collapse

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 on 28 Nov 2023 18:11 collapse

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 on 29 Nov 2023 01:55 collapse

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.

[deleted] on 28 Nov 2023 09:30 next collapse

.

LoveSausage@lemmygrad.ml on 28 Nov 2023 11:06 next collapse

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

TheAnonymouseJoker@lemmy.ml on 28 Nov 2023 12:24 next collapse

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 on 28 Nov 2023 17:09 next collapse

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?

Froyn@kbin.social on 28 Nov 2023 17:39 next collapse

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.

TheAnonymouseJoker@lemmy.ml on 28 Nov 2023 18:39 next collapse

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.

mateomaui@reddthat.com on 28 Nov 2023 18:45 next collapse

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 on 30 Nov 2023 01:39 collapse

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.

LeFantome@programming.dev on 29 Nov 2023 07:22 collapse

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.

JPAKx4@lemmy.blahaj.zone on 29 Nov 2023 21:40 collapse

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

Bluefruit@lemmy.world on 28 Nov 2023 20:39 next collapse

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 on 28 Nov 2023 22:25 next collapse

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

Bluefruit@lemmy.world on 29 Nov 2023 14:24 next collapse

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 on 29 Nov 2023 21:23 collapse

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

[deleted] on 29 Nov 2023 17:45 collapse

.

Rooskie91@discuss.online on 28 Nov 2023 21:37 collapse

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

possiblylinux127@lemmy.zip on 28 Nov 2023 21:19 next collapse

We used to dual boot before virtualization matured.

ICastFist@programming.dev on 29 Nov 2023 15:06 next collapse

Use Grub2Win (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 on 29 Nov 2023 22:04 collapse

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