Dual Boot - Desktop Power Switch SSD - M.2 PCIe

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
M3shuggah
Level 1
Level 1
Posts: 14
Joined: Thu Dec 08, 2016 5:24 pm

Dual Boot - Desktop Power Switch SSD - M.2 PCIe

Post by M3shuggah » Sat Mar 31, 2018 8:21 pm

Hi guys,
I'd like to ask you a question since I'm planning on how to build my next desktop.
The idea is to use a Ryzen 3 2200g.
A while ago I followed the suggestion of Joe Collins "The Dual Boot Deception" on Youtube. Since I had bad experiences in the past with dual boots on the same hdd, I've bought another ssd, using a caddy for my laptop. Installing Windows and Linux Mint on those separated hard drive. So I'm not having issues doing dual boots using the bios instead of grub so far.
Now I would like to build a desktop pc, but I wonder if there's a way to have a physical power switch that can select the drive I want to use. Specifically I'd like to have 1ssd Windows + 1ssd Linux + 1hdd storage. So during installation and boot I'd like to have a power switch to select which drive I'm gonna use. I've googled it many times but I can't find anything. There's a switch by Kingwin and Oreco, or it's possible to build one following some tutorials. BUT this only works with SATA and I'd like to use M.2 PCI.
I don't think I can find anything like this and man if I've tried... I wonder if you have some suggestions. The idea is being able to use a fast storage system for the bootable drives. I'd prefer small capacity to save some money and because the real storage is gonna be on the HDD. That's why I'm focusing on PCIe.

Before you comment "why do you want the dual boot,it's BS" please let me say I found this setup being useful because I need some applications that are in windows, it's also useful if one of the 2 systems fails and I've an alternative OS ready. And with only $50 it's like having another PC where I can learn and experiment with Linux Mint since all the other hardware is shared. So I found this very convenient so far. (I'm even thinking to add a 3rd small SSD to try other distro if, with your help, I can come up with a solution)

Thank you for reading my post, I'd really appreciate your input
PS. I'd like to specify, that I'm looking for a power switch cause I don't want to remove the other SSD (opening the case etc) every time I need to install an OS to prevent mistakes. Also, having the other OS totally disconnected avoids issues during OS updates.
Last edited by M3shuggah on Tue Apr 03, 2018 1:41 pm, edited 1 time in total.


User avatar
catweazel
Level 14
Level 14
Posts: 5204
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Dual Boot - Desktop Power Switch - M.2 PCIe

Post by catweazel » Sat Mar 31, 2018 10:19 pm

Maybe it does but I venture to guess you're the only one who knows what it is.
A new scientific truth does not triumph by convincing its opponents and making them see the light, but rather because its opponents eventually die, and a new generation grows up that is familiar with it. - Max Planck

User avatar
sdibaja
Level 4
Level 4
Posts: 483
Joined: Sun May 08, 2011 12:57 pm
Location: Baja California, Mexico

Re: Dual Boot - Desktop Power Switch - M.2 PCIe

Post by sdibaja » Sat Mar 31, 2018 11:18 pm

catweazel wrote:
Sat Mar 31, 2018 10:19 pm
Maybe it does but I venture to guess you're the only one who knows what it is.
HP z620, less than $1000 on eBay. tool less removable disk trays. it is also capable of running a M.2 SSD

not a real hotrod like M3shuggah wants, but easy to swap drives, or just disengage for a while.
I do that when I run Windows.

Code: Select all

peter@debian9:~$ inxi -Fxzr
System:    Host: debian9 Kernel: 4.9.0-6-amd64 x86_64 (64 bit gcc: 6.3.0)
           Desktop: MATE 1.16.2 (Gtk 3.22.11-1)
           Distro: Debian GNU/Linux 9 (stretch)
Machine:   Device: desktop System: Hewlett-Packard product: HP Z620 Workstation
           Mobo: Hewlett-Packard model: 158A v: 0.00
           UEFI [Legacy]: Hewlett-Packard v: J61 v03.90 date: 06/01/2016
CPU(s):    2 Octa core Intel Xeon E5-2660 0s (-HT-MCP-SMP-) cache: 40960 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 70228
           clock speeds: max: 3000 MHz 1: 1225 MHz 2: 1276 MHz 3: 1439 MHz
           4: 1206 MHz 5: 1206 MHz 6: 1236 MHz 7: 1205 MHz 8: 1366 MHz
           9: 1199 MHz 10: 1199 MHz 11: 1200 MHz 12: 1262 MHz 13: 1231 MHz
           14: 1199 MHz 15: 1199 MHz 16: 1199 MHz 17: 1398 MHz 18: 1245 MHz
           19: 1199 MHz 20: 1203 MHz 21: 1259 MHz 22: 1438 MHz 23: 1207 MHz
           24: 1231 MHz 25: 1201 MHz 26: 1199 MHz 27: 1199 MHz 28: 1207 MHz
           29: 1202 MHz 30: 1199 MHz 31: 1200 MHz 32: 1231 MHz
Graphics:  Card: NVIDIA GK107GL [Quadro K2000] bus-ID: 04:00.0
           Display Server: X.Org 1.19.2 drivers: nouveau (unloaded: modesetting,fbdev,vesa)
           Resolution: 1920x1080@60.00hz
           GLX Renderer: Gallium 0.4 on NVE7
           GLX Version: 3.0 Mesa 13.0.6 Direct Rendering: Yes
Audio:     Card-1 NVIDIA GK107 HDMI Audio Controller
           driver: snd_hda_intel bus-ID: 04:00.1
           Card-2 Intel C600/X79 series High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.9.0-6-amd64
Network:   Card-1: Intel 82579LM Gigabit Network Connection
           driver: e1000e v: 3.2.6-k port: f040 bus-ID: 00:19.0
           IF: eno1 state: down mac: <filter>
           Card-2: Intel 82574L Gigabit Network Connection
           driver: e1000e v: 3.2.6-k port: e000 bus-ID: 01:00.0
           IF: enp1s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 12492.5GB (22.0% used)
           ID-1: /dev/sda model: WDC_WDS250G1B0A size: 250.1GB
           ID-2: /dev/sdd model: WDC_WD2003FYYS size: 2000.4GB
           ID-3: /dev/sde model: MD4000GBDS size: 4000.8GB
           ID-4: /dev/sdb model: SanDisk_SDSSDA24 size: 240.1GB
           ID-5: /dev/sdf model: MD4000GBDS size: 4000.8GB
           ID-6: USB /dev/sdc model: nal_USB_3.0 size: 2000.4GB
Partition: ID-1: / size: 17G used: 9.8G (64%) fs: ext4 dev: /dev/sda5
           ID-2: /home size: 123G used: 94G (80%) fs: ext4 dev: /dev/sda7
           ID-3: swap-1 size: 5.90GB used: 0.00GB (0%) fs: swap dev: /dev/sda6
Sensors:   System Temperatures: cpu: 55.0C mobo: N/A gpu: 35.0
           Fan Speeds (in rpm): cpu: N/A
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://ftp.us.debian.org/debian/ stretch non-free
           deb-src http://ftp.us.debian.org/debian/ stretch non-free
           deb http://security.debian.org/debian-security stretch/updates non-free
           deb-src http://security.debian.org/debian-security stretch/updates non-free
           deb http://ftp.us.debian.org/debian/ stretch-updates non-free
           deb-src http://ftp.us.debian.org/debian/ stretch-updates non-free
           deb http://ftp.us.debian.org/debian/ stretch-proposed-updates non-free
           Active apt sources in file: /etc/apt/sources.list.d/megasync.list
           deb https://mega.nz/linux/MEGAsync/Debian_9.0/ ./
           Active apt sources in file: /etc/apt/sources.list.d/syncthing.list
           deb https://apt.syncthing.net/ syncthing stable
Info:      Processes: 462 Uptime: 5 days Memory: 8702.3/64355.6MB
           Init: systemd runlevel: 5 Gcc sys: 6.3.0
           Client: Shell (bash 4.4.121) inxi: 2.3.5 
peter@debian9:~$ 

User avatar
coffee412
Level 5
Level 5
Posts: 809
Joined: Mon Nov 12, 2012 7:38 pm
Location: Indiana, USA
Contact:

Re: Dual Boot - Desktop Power Switch - M.2 PCIe

Post by coffee412 » Sun Apr 01, 2018 4:02 am

This is what you need:

https://www.newegg.com/Product/Product. ... 6811165098

separate on/off controls for each drive. Hot swap bays (5). Lots of room on the inside but the case is not huge like a lot of rack mount cases.

coffee
Ryzen x1800 Asus Prime x370-Pro 32 gigs Ram RX480 graphics
IceWarp * Samba AD * Mint 18.1 * RAID 1/5 * OpenVPN * Linux since kernel 2.0.36

M3shuggah
Level 1
Level 1
Posts: 14
Joined: Thu Dec 08, 2016 5:24 pm

Re: Dual Boot - Desktop Power Switch - M.2 PCIe

Post by M3shuggah » Sun Apr 01, 2018 6:06 am

thank you for the answers.
but that's not really what I asked, the solutions I've seen posted are all SATA and mostly 3.5inches
I'm looking for a switch for M.2 PCIe. I guess I described at the best of my knowledge what I'm trying to achieve.
If I was looking for a sata switch I would go with this: SISUN PW4101 or similar
https://www.newegg.com/Product/Product. ... 000H-00062

User avatar
coffee412
Level 5
Level 5
Posts: 809
Joined: Mon Nov 12, 2012 7:38 pm
Location: Indiana, USA
Contact:

Re: Dual Boot - Desktop Power Switch - M.2 PCIe

Post by coffee412 » Sun Apr 01, 2018 10:44 am

M3shuggah wrote:
Sun Apr 01, 2018 6:06 am
thank you for the answers.
but that's not really what I asked, the solutions I've seen posted are all SATA and mostly 3.5inches
I'm looking for a switch for M.2 PCIe. I guess I described at the best of my knowledge what I'm trying to achieve.
If I was looking for a sata switch I would go with this: SISUN PW4101 or similar
https://www.newegg.com/Product/Product. ... 000H-00062
I understand that you want to use M.2's in the build. However, You might gain certain advantages going with the case I suggested and some 2.5 ssd's instead. Its something to consider. Let look at it first.

catweazel in a similar post recommended a RAID card for a computer build instead of using mdadm. I lost the link I guess so if catweazel can repost it that would be great. The advantage here is that you can setup a hardware raid and mirror your two 2.5 ssd's so that in case of failure... you know. Also it would be very easy to swap them out in a case like that. With your M.2s your going to do a bit more work.

The extra 3.5 bays I used for mechanical drives and have them setup as a RAID 5 to house only my home directory. I can add more if I want to the raid or setup another mirrored raid in the left over 2 bays.

Plenty of room on the inside to install whatever you need. Much better cooling. Easy access by just pulling the top off. Each drive can be turned off independently and swapped out as you wanted.

Performance wise, I think your going to get about the same in performance and good Hardware raid for protection.

I will try and find the link to the raid card that catweazle mentioned. I saw it was only about 69.00 bucks when I looked it up last.

Just my .02 worth here.

coffee

Found the link :)

viewtopic.php?f=47&t=266290&p=1448061#p1448061


Adaptec Raid Controller ASR-6805T 8 Ports
Ryzen x1800 Asus Prime x370-Pro 32 gigs Ram RX480 graphics
IceWarp * Samba AD * Mint 18.1 * RAID 1/5 * OpenVPN * Linux since kernel 2.0.36

M3shuggah
Level 1
Level 1
Posts: 14
Joined: Thu Dec 08, 2016 5:24 pm

Re: Dual Boot - Desktop Power Switch - M.2 PCIe

Post by M3shuggah » Sun Apr 01, 2018 8:08 pm

Hey, I appreciate your effort, but that's not my purpose, don't get me wrong: I DO appreciate your support and info, as much the one of the other members that wrote here.
Unfortunately, that's not what I need now. If I was looking for the easy way out I would have gone with the SISUN PW4101 or similar for $20. And using SSD sata.
I wrote here just cause I was expecting to find users that might have more experience than me or a similar need.
If that's not the case: I think I've no other option than the sata sdd.
I badly need to find an easy way to switch the OS drivers off when I need to update or install OS and can't open a case every time.
I'm not looking for a RAID setup, I want an affordable built with 2 OS without grub, not bothering each other and without having to spend $400.
Quick recap: the concept would be:
128gb ssd Windows [$40 ] + 128gb ssd Linux [$40] + 1tb hdd Storage [$40] + switch SISUN PW4101 [$20] = $140
With $140 it would be like having 2 separated pc. It's affordable, and it's fail-proof cause you have another OS on the go if one fails.
M.2 PCIe would be even better cause faster. But if there's no company that thought about that, I have to live with this i guess.
Thanks again for taking the time to reply to my message.
I someone thinks that what I've just said is faulty or plain wrong, please let me know.
Happy Easter

M3shuggah
Level 1
Level 1
Posts: 14
Joined: Thu Dec 08, 2016 5:24 pm

Re: Dual Boot - Desktop Power Switch - M.2 PCIe

Post by M3shuggah » Sun Apr 01, 2018 8:33 pm

I've just found this
https://www.amazon.com/StarTech-com-PEX ... B01IR05DLK
and this
http://www.thessdreview.com/our-reviews ... -features/
Both seems not to have a switch that allow me to select which ssd to boot, am I wrong? I only see LED

User avatar
sdibaja
Level 4
Level 4
Posts: 483
Joined: Sun May 08, 2011 12:57 pm
Location: Baja California, Mexico

Re: Dual Boot - Desktop Power Switch - M.2 PCIe

Post by sdibaja » Sun Apr 01, 2018 8:41 pm

I appreciate your quest. You have some great concepts.
Windows 10 can do an automatic update and delete your Linux partitions, It happened to me.
Windows 7 and XP can not (to the best of my knowledge).
With Windows 10 I feel it is best to physically separate the drives, but with diligent backups there would be no data loss... just a bit of time.

Your Youtube guru is afraid of what he does not understand. Grub works Very Well. Dual booting is old hat, it works very well. And the clock thing? Give me a break! Both Linux and Windows can and will sync with time servers, non issue... I typically keep at least two operating systems on each computer, it helps with backups and partitioning... and I like to mess around.

Option: do the windows thing on your internal drive. Install a Linux of your choice on the external SSD on a USB dongle or in a case. Unplug the USB when you are using windows. It can't harm your Linux when it is just sitting and not running.

M.2 vs normal SSD? Not a noticeable difference, to me. My HP Elitebook 820 has both. Sometimes I run the OS on one, and sometimes I run another OS on the other drive. Both seem to be nearly the same. I suppose if I did some hard core gaming I might notice a difference.

I appreciate you doing diligent homework first, don't worry, just install and try. Brainstorm the hardware later if it still concerns you.
Happy Easter!

M3shuggah
Level 1
Level 1
Posts: 14
Joined: Thu Dec 08, 2016 5:24 pm

Re: Dual Boot - Desktop Power Switch - M.2 PCIe

Post by M3shuggah » Tue Apr 03, 2018 1:34 pm

sdibaja wrote:
Sun Apr 01, 2018 8:41 pm
Windows 10 can do an automatic update and delete your Linux partitions, It happened to me.
Windows 7 and XP can not (to the best of my knowledge).
With Windows 10 I feel it is best to physically separate the drives, but with diligent backups there would be no data loss... just a bit of time.
Yeah that's my point and also Linux updates have introduced Grub needlessly in my experience. and yes I need w10.
sdibaja wrote:
Sun Apr 01, 2018 8:41 pm
Your Youtube guru is afraid of what he does not understand. Grub works Very Well. Dual booting is old hat, it works very well. And the clock thing? Give me a break! Both Linux and Windows can and will sync with time servers, non issue...
He's not my "guru", never had such thing in my life. I just think he makes a lot of sense, especially cause I've experienced those issues he described.
I usually change the time management in windows with registries so far working fine, not really elegant tho. I didn't find a better way so far.
sdibaja wrote:
Sun Apr 01, 2018 8:41 pm
Option: do the windows thing on your internal drive. Install a Linux of your choice on the external SSD on a USB dongle or in a case. Unplug the USB when you are using windows. It can't harm your Linux when it is just sitting and not running.
What about the drive that is inside the case? that one is still running and what if the update starts? (please refer to your first statement)
So I prefer having the capability to switch off everytime the one that I'm not using
sdibaja wrote:
Sun Apr 01, 2018 8:41 pm
M.2 vs normal SSD? Not a noticeable difference, to me. My HP Elitebook 820 has both. Sometimes I run the OS on one, and sometimes I run another OS on the other drive. Both seem to be nearly the same. I suppose if I did some hard core gaming I might notice a difference.

Ok maybe I'm a bit OCD but since it's a new pc why should I use a technology designed 30years ago? :) please check NVMe vs AHCI and how they work
Sata SSD still use the AHCI interface that was developed for hdd... I see your point, but to me, there's something wrong.
sdibaja wrote:
Sun Apr 01, 2018 8:41 pm
I appreciate you doing diligent homework first, don't worry, just install and try. Brainstorm the hardware later if it still concerns you.
Happy Easter!
ok, maybe bit condescending imo but I'm aware it's hard to communicate properly online :)
Thanks anyway, I just wish there was a bit more of attention

M3shuggah
Level 1
Level 1
Posts: 14
Joined: Thu Dec 08, 2016 5:24 pm

Re: Dual Boot - Desktop Power Switch SSD - M.2 PCIe

Post by M3shuggah » Sat Apr 14, 2018 12:53 pm

so, has anyone here experience with dual boot on desktops?

Post Reply

Return to “Installation & Boot”