0 Members and 1 Guest are viewing this topic.
Quote from: m654321 on August 16, 2019, 03:08:13 PM...So, why don't you keep your dual-boot system on a single drive (keep it as /dev/sda) instead of the two OS on two different drives? That way I think your back-up drive will always be /dev/sdb whether it's switched on or not...Kinda funny you mentioned that. Actually I just broke my external drive OUT of its' box so that I could mount it internally and run it off the switch (LOL)! (Wanted to clear away some of the stuff around my PC and had already ordered the switch, so I decided internal was the way to go.I'm not sure if I tried it yet, but in my mind, if I set the Boot order to:1) Windows HD2) Grub3)Linux HDThen if the Windows HD is not present (turned OFF) it should move on to the next HD which would be the Grub partition. I will test it this evening.
...So, why don't you keep your dual-boot system on a single drive (keep it as /dev/sda) instead of the two OS on two different drives? That way I think your back-up drive will always be /dev/sdb whether it's switched on or not...
This is the HD switcher I was talking about. Basically it is an on/off switch for each of the internal Hard Drives. I use it to keep my backup disconnected when not in use, and was hoping to do the same with the unused OS.https://www.amazon.com/gp/product/B00TZR3E70/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8&psc=1
Just to clarify - nothing was damaged as far as Grub. If I Switch both HDs ON then it boots to Grub, I choose an OS, and it boots fine.
My goal is to: (before the computer is turned on) Choose the current OS by switching that HD ON and leaving the other off. Then have the computer boot to the OS that is turned ON.
Are there settings in "Grub Customizer" that might allow this? Or maybe a fresh install of Linux with the other HD turned off?
X:\sources>
bootrec /fixboot
bootrec /fixmbr
sudo mount /dev/sdb1 /mntsudo grub-install --boot-directory=/mnt/boot /dev/sda
sudo update-grub
https://www.nextofwindows.com/how-to-manually-troubleshoot-and-repair-windows-7-bootloader