Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Boot loader setup for two drive systems, power switches

  1. #1

    Default Boot loader setup for two drive systems, power switches

    Hello all. I have a custom setup with power switches for SATA1 and SATA2 (Tap into +5 (red) and +12 (yellow) power. I asked MSI tech support about how to use these power switches safely. Power the computer completely down, fans off, etc.

    SATA 1 -> SSD (MS Windows)
    SATA 2 -> Magnetic Drive (Linux)

    I'v tried to swap cables: SATA1=MD SATA2= SSD

    Linux booted, but MSWIN gave a boot error. So, I had to switch back. It looks like MSWIN won't boot anywhere but SATA1. ?? Is there anyway to fix that? MSI tech support can't figure it out.


    SWITCH 1 = SATA1 power
    SWITCH 2 = SATA2 power

    So, your wondering why? Security. Separate drives: more security, partition failures, etc.

    I can isolate windows from linux by turn the power off. No smart viruses can read anything off the linux drive if it's power is off. You see the effect in the boot menu.

    #note this I use when I need to virus scan mswin drives.
    SSD (SATA1) = on
    MD (SATA2)= on

    SSD (SATA1) = on

    MD (SATA2)= on

    Once I change the power switches before bootup, any changes in boot drive order are erased by the bios. So, I have to use the bios boot menu everytime I have both switches on. If you follow this, how do I use the grub menu to work with this complex setup?

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    23,241
    Blog Entries
    15

    Default Re: Boot loader setup for two drive systems, power switches

    Hi
    I would imagine it's to do with the BIOS, drive detection and boot order.....

    Why not just disable the relevant controller in either OS to offline the device?

    What booting method is being used Legacy or UEFI?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    openSUSE Leap 42.2 (x86_64) GNOME 3.20.2
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3

    Default Re: Boot loader setup for two drive systems, power switches

    Quote Originally Posted by malcolmlewis View Post
    Hi
    I would imagine it's to do with the BIOS, drive detection and boot order.....

    Why not just disable the relevant controller in either OS to offline the device?
    https://www.msi.com/Motherboard/supp...ml#down-manual

    Disable the device in the BIOS. No feature to do that. That's why I added the power switches.
    However, you can make SATA port a hot plug and unplug.

    What booting method is being used Legacy or UEFI?
    Boot Mode Select [LEGACY+UEFI]
    Sets the system boot mode from legacy or UEFI architecture depending on OS
    installation requirement. This item will become unselectable and will be configured
    automatically by BIOS when “Windows 8/ 8.1 Feature” is enabled.
    [UEFI] Enables UEFI BIOS boot mode support only.
    [LEGACY+UEFI] Enables both Legacy BIOS boot mode and UEFI BIOS boot.

    LEGACY+UEFI boot

    What is the difference? What is UEFI boot? I know boot linux has it's own method and mswin has boot MBR.



    SATA 1: on
    SATA 2: on

    Set the boot order to SATA 2. Power down and change power switch config SATA 1 on only. Boot to windows and shut down. Change switches to both on. Boot order returns to SATA 1 first. It means have have to use the bios boot menu every time I change switch configs.

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    23,241
    Blog Entries
    15

    Default Re: Boot loader setup for two drive systems, power switches

    Hi
    No disable the controller in the operating system, In Windows device properties, find the relevant drive and disable it, then it won't see it...

    In Linux, no worries, don't mount it.....

    If you used UEFI and secure boot, you could have separate EFI partitions on each drive and boot from those, even if not secure boot at least with GPT disk the MBR is protected, so no chance of a win boot virus...
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    openSUSE Leap 42.2 (x86_64) GNOME 3.20.2
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5

    Default Re: Boot loader setup for two drive systems, power switches

    Quote Originally Posted by malcolmlewis View Post
    Hi
    No disable the controller in the operating system, In Windows device properties, find the relevant drive and disable it, then it won't see it...

    In Linux, no worries, don't mount it.....
    As I said, smart viruses will just turn it back on or the hacker will soon after creating a backdoor. I like my switches idea better, hardware fix.

    [QUOTE}If you used UEFI and secure boot, you could have separate EFI partitions on each drive and boot from those, even if not secure boot at least with GPT disk the MBR is protected, so no chance of a win boot virus...[/QUOTE]

    I used default settings for both linux and mswin. I didn't do an LVM setup on linux install. I'v read that you can't use secure boot with linux.

    UFEI is used instead of a bios. I still enter a bios to change settings. EFI boot partition? Should I be using EFEI only in the bios?

  6. #6
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    9,164
    Blog Entries
    3

    Default Re: Boot loader setup for two drive systems, power switches

    Quote Originally Posted by lord_valarian View Post
    I'v read that you can't use secure boot with linux.
    Sure you can. I'm using it.

    At least opensuse, Fedora and Ubuntu support secure-boot. There are probably others (including, I assume, RedHat and SuSE Enterprise). But some distros do not support it.
    opensuse Leap 42.3; KDE Plasma 5;
    opensuse tumbleweed; KDE Plasma 5 (test system);

  7. #7
    Join Date
    Nov 2009
    Location
    West Virginia Sector 9
    Posts
    14,592

    Default Re: Boot loader setup for two drive systems, power switches

    If an intruder can mod your boot stack then he already owns you. Also nothing stops him from modifying the stack it just stops you from booting when he does. Secure boot is a scam

  8. #8

    Default Re: Boot loader setup for two drive systems, power switches

    In the BIOS/UEFI, should I set it to UEFI boot or UEFI + LEGACY?

  9. #9
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    9,164
    Blog Entries
    3

    Default Re: Boot loader setup for two drive systems, power switches

    Quote Originally Posted by lord_valarian View Post
    In the BIOS/UEFI, should I set it to UEFI boot or UEFI + LEGACY?
    Personally, I would go with UEFI. It can always be changed later if the need arises.
    opensuse Leap 42.3; KDE Plasma 5;
    opensuse tumbleweed; KDE Plasma 5 (test system);

  10. #10
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    9,164
    Blog Entries
    3

    Default Re: Boot loader setup for two drive systems, power switches

    Quote Originally Posted by gogalthorp View Post
    Secure boot is a scam
    I wouldn't go that far. It probably makes it harder to push a pirated windows version on an unwitting customer.

    But it doesn't offer any real value to the linux user (other than the ability to test whether it works with your system).
    opensuse Leap 42.3; KDE Plasma 5;
    opensuse tumbleweed; KDE Plasma 5 (test system);

Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •