I am building a new PC. I want to run Linux and windows on separate SATA 2.5/3.5 SSD hard drives. I need windows (Winn11 Pro) for work. Linux will run all personal computing needs.

I have a horrible history with dual booting Linux and windows (grub getting murdered).

I currently plan to shut down the PC, switch power to the drives, and start up on the other OS.

Can i use a switch which only toggles power to each drive while keeping data cables attached to accomplish this? Will this be possible with windows on one drive?

Is there a smarter solution?

Example: https://www.amazon.com/Kingwin-Optimized-Controls-Provide-Longevity/dp/B00TZR3E70

Thanks!

  • Kongar@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    4 months ago

    I’m not sure I’d go that far to be honest. 1) windows behaves much better when it has its own drive to install on and 2) linux boot loaders become less important because if you break it, you can use your bios to force boot windows and it’ll still boot.

    IMHO, two drives is the way to go with dual boot. Set the Linux drive in the bios as the primary boot drive, and configure the bootloader to add the windows drive to the menu. While you’re learning that, you can boot windows through the bios, once you get it, you’re always presented with a menu upon boot to pick which one you want.

    One final word of advice, buy different drives. Either manufacturer or size. It’ll be easier to tell them apart when you’re doing disk operations.

    Good luck!

    • untorquer@lemmy.worldOP
      link
      fedilink
      arrow-up
      3
      ·
      4 months ago

      Thanks! I’ll try this first.

      Rip… Both drives will be the same hw. But as long as there always in the same order in bios/bootloader it should be fine.

      • Kongar@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        4
        ·
        4 months ago

        It’s fine they are identical. In the past, it was easy to just unplug the drive you didn’t want to mess with just to be sure (sata cables), but it’s a little harder with m.2 drives. Write the uuid #s down and identify them that way…