I always found having each OS have a separate physical drive is much better, but partitioning is fine if you must.
Linux
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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Third world countries: We must 😔...
It's a luxury indeed. Hopefully maybe a little less now that decent storage has come down in price a lot
Have to agree on that. SSD and RAM prices have gone down significantly.
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.
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
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
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.
A couple of years ago, don't know exactly, but maybe 2018? Somewhere around there at least
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.
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.
So much this, having each OS in a separate drive saves so many headaches
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.
Just in case anyone stumbles in to this, there is a fix for the time issue:
The better way is to fix Windows to use a sensible system time. https://wiki.archlinux.org/title/System_time#UTC_in_Microsoft_Windows
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.
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.
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.
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?
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.
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.
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.
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.
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.
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
We used to dual boot before virtualization matured.
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.
Only did it bc anti cheats. I would use vms otherwise.
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.
Unfortunately no, I'm trying to save money atm.
Are there any performance losses running Windows VM to play games? Asking as I am new to this.
I only boot windows for Fortnite and The Crew 2 because of BS DRM. Everything else runs great.
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.
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.
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
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.
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
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
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.
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