22
Hardware considerations for a new dual boot PC
(lemmy.world)
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.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Some people recommend having Linux and Windows on entirely separate drives since Windows doesn't always like to play nicely with Linux. The only issue I've ever had with them on the same drive was the time Windows ate my bootloader when upgrading from Vista to 7. Another thing is that you should install Windows first because it will eat the bootloader (as previously mentioned) if Linux is installed first. I also recommend keeping a flash drive with System Rescue CD installed handy in case you have to repair the bootloader.
Edit: Typo
Windows will eat the bootloader every time it updates the boot partition. Which generally isn't a whole lot of the time, but it's always a surprise, that's for sure.
So if they are on different disks, does that keep windows from eating the linux bootloader? Also, do you use something other than UEFI to manage which OS boots? Seems like a lot of people just use UEFI if things are on different disks.
If you install the Linux bootloader on the other drive with Linux, Windows basically just doesn't know or care that the it exists to bother writing over it. You can use UEFI to choose what to boot, but GRUB works fine with entries across different drives.
That said, it's not actually that hard to fix with a live USB if Windows does decide to eat GRUB on the same drive. I've been taking my chances on laptops particularly for years. So far, the only real problem I've run into was doing something stupid while dead tired and managing to nuke the Windows bootloader all on my own--somewhat ironically, while I was setting up another Linux distro to boot off a new drive! Which was also totally fixable, but a bigger pain than reinstalling GRUB would have been. (Especially with not being nearly as comfortable dealing with Windows stuff.)
My understanding of what happens when using separate drives is that one drive is given priority in the BIOS/UEFI menu and then people just use the device menu when using the secondary drive. Windows really only cares about its own drive with this setup, so the bootloader on the other drive is safe. I've never actually done this myself since the only system I dual boot on is my laptop and it only has one drive installed. To answer your second question, I just use my bootloader (GRUB in my case) to select which OS I boot into.
No that doesn’t keep windows from changing anything.
Just learn how to repair your bootloader how your distribution wants it done and you’ll be fine.
I'm guessing boot to a USB and run some kind of repair utility?
Some distributions have that. Some have it built into the tools like arch. For some you just boot your installation media and run only the “install bootloader” step.
About the only universal way is to boot usb, pivot-root or chroot to switch to the installed system you wanna run and do grub-install, although you need to understand a few things about your system to not make errors.
Once you pick something to stick with, go ahead and look up its process. Think of it like practicing changing a tire in the grocery store parking lot before you actually need to do it on the side of the road.