DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Possible to dual boot via boot priority swapping?  (Read 9,935 times)

nite_monkey

  • Member
  • Joined in 2006
  • **
  • Posts: 753
Possible to dual boot via boot priority swapping?
« on: January 15, 2021, 03:53 PM »
I recently got back into linux. I have an old laptop that I am using as a dedicated linux box, however, I just upgraded my desktop to a motherboard that has two m.2 slots. So my question is, would I run into any problems if I were to buy a second m.2 sata drive, temporarily remove my windows m.2, install linux onto my second m.2, and then install both m.2 drives back into the computer? I would then go into the bios and select which drive I want to boot into as the first boot option. I was planning on doing this instead of the typical dual boot method, because in the past, that caused problems when I decided to remove linux, and go back to just single booting windows. I also don't want to run linux in a virtual machine.
[Insert really cool signature here]

4wd

  • Pedantic Old Bastard
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,652
    • Coding Snacks
Re: Possible to dual boot via boot priority swapping?
« Reply #1 on: January 15, 2021, 10:08 PM »
Not sure what previous method you're referring to, (Grub?), so I'll mention one I've used previously, EasyBCD (community edition).

It lets you add/remove entries to the normal Windows bootloader and then you can select which to boot into at startup.
I've used it to boot WIMs, ISOs, and VHDs but it can also do Linux, BSD, and MacOS.

Since it's using the normal Windows start mechanism, (BCD), and not having to install Grub, to remove Linux you'd just remove the entry from the BCD and remove the drive.

It's just an interface to the bcdedit command within Windows.

You could try it by installing Linux on a flash drive and using EasyBCD to set up an entry to boot into it before going the install to an M.2 option.

Otherwise, what you suggest would also work.
"I will not follow where the path may lead, but I will go where there is no path, and I will leave a trail." - Muriel Strode, 1903

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,954
Re: Possible to dual boot via boot priority swapping?
« Reply #2 on: January 15, 2021, 10:24 PM »
Have used that method in the past, had to do a performance test with Oracle DB software on Windows/Linux and Intel/AMD. Using BIOS/UEFI to boot from different drives made that a lot easier (and the test results lees prone to interpretation).

Spoiler (click to show/hide)
And if you were dying to know...Oracle on Windows was only a little bit faster, but the Intel system did not have patches for SPECTRE, while the AMD system did. Speed was the only performance counter that mattered for the companies that wanted this particular test done.
The easy path is usually downhill...

nite_monkey

  • Member
  • Joined in 2006
  • **
  • Posts: 753
Re: Possible to dual boot via boot priority swapping?
« Reply #3 on: January 16, 2021, 11:13 AM »
Not sure what previous method you're referring to, (Grub?), so I'll mention one I've used previously, EasyBCD (community edition).
I dual booted linux and windows several years ago, and I guess linux installed grub on top of/replacing windows' bootloader? (not a linux expert, just like to tinker with it and learn more about it) So when I went to remove it, I didn't know how to remove grub and go back to just windows' bootloader.

EasyBCD sounds pretty good. I might give it a try. If I don't end up liking it, then atleast I now know I can just use the method I was originally curious about.
[Insert really cool signature here]

Original address: https://www.donationcoder.com/forum/index.php?topic=50964.0