this post was submitted on 03 Jul 2024
8 points (83.3% liked)

Buildapc

3843 readers
13 users here now

founded 2 years ago
MODERATORS
 

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!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 5 months ago (2 children)

I might be missing someone here but could you not just set them up independently then just use the uefi boot menu to boot your ssd of choice? No need for power switcher or extra parts or software then no?

[–] untorquer 2 points 5 months ago* (last edited 5 months ago) (1 children)

Historically I've had issues with windows(update) blasting grub config leading to Linux delete and painful recovery of windows boot

[–] vikingtons 3 points 5 months ago* (last edited 5 months ago) (1 children)

I hear about this happening with disk partitions, but this shouldn't happen on independent disks. I've been using fedora alongside win10 and 11 for several years now with no issues.

One thing worth noting is that windows will attempt to place it's bootloader on SATA 0, regardless of where its OS files are situated. I'd recommend disconnecting all other disks when installing Windows.

The device you linked is interesting, however. I wish there was a a hardware mechanism which offered you different power buttons for the OS you'd like to start into from a cold boot, though I could see the option you linked working depending on boot order.

[–] untorquer 2 points 5 months ago (1 children)

Cool thanks for the info! Ill put win on sata 0 and install before putting the second drive in!

The hardware switch idea would be to preclude bios boot leader selection altogether

[–] vikingtons 2 points 5 months ago

It'll only attempt to place those files on sata 0 if there's a disk connected. I'm not sure if it will move up the index in lieu of disk0, I suppose I should test that at some point.

In any case, you can just isolate it on first install at any SATA slot you find convenient; in-place systme upgrades shouldn't move things around afterwards.