Revising dual boot to add Linux Mint


  1. Posts : 43
    W10 Home 20H2 x64
       #1

    Revising dual boot to add Linux Mint


    System:
    2 internal SATA hard drives
    Windows 10 Home 1909 on HD0 / Windows 7 on HD1
    BIOS/MBR boot (boot order CD, HD0, USB, HD1)
    OS installs on dedicated partitions
    bootloader on HD0 (Win10)

    I want to install Linux Mint to HD1 to replace Windows 7. Basic steps AFAIK: create new space/partition, install Linux, delete 7 partition. My concern is confusion over the resulting boot setup, because that's the outer edge of my pay grade: I prefer to end up with Windows 10 (HD0) being in charge, as it is now, rather than GRUB on HD1.

    Is that possible? is it a good/bad idea? what else don't I know about this?

    THX
      My Computer


  2. Posts : 6,361
    Windows 11 Pro - Windows 7 HP - Lubuntu
       #2

    Before you proceed, please post a Disk Manager full screen image expanding the columns so we can read them. I want to see if each drive (Hd0 and Hd1) has its own boot loader. If you didn't detach HD1 when installing win 10, the boot loader may be on HD1 and Win 10 on HD0

    You can keep win 7 and install Linux Mint.

    The most important advice: Detach ALL other drives from the MB (SATA or power cable) leaving on only Hd1.

    You can make a 20G partition on Hd1 and install Linux Mint on it.
    On a legacy-mbr drive, it will install Grub boot loader with Mint and Win 7 as boot able options.
    That is what I have in my computer.
    Revising dual boot to add Linux Mint-dm2.jpg
    If you don't want to keep win 7, delete all partitions on drive Hd1 and proceed. Some Linux will ask what size you want the swap partition. Select at least the size of your memory.

    Only attach the Hd0 (win 10) after everything is working well on Hd1
      My Computers


  3. Posts : 43
    W10 Home 20H2 x64
    Thread Starter
       #3

    Megahertz said:
    Before you proceed, please post a Disk Manager full screen image expanding the columns so we can read them. I want to see if each drive (Hd0 and Hd1) has its own boot loader. If you didn't detach HD1 when installing win 10, the boot loader may be on HD1 and Win 10 on HD0

    You can keep win 7 and install Linux Mint.

    The most important advice: Detach ALL other drives from the MB (SATA or power cable) leaving on only Hd1.

    You can make a 20G partition on Hd1 and install Linux Mint on it.
    On a legacy-mbr drive, it will install Grub boot loader with Mint and Win 7 as boot able options.

    If you don't want to keep win 7, delete all partitions on drive Hd1 and proceed. Some Linux will ask what size you want the swap partition. Select at least the size of your memory.

    Only attach the Hd0 (win 10) after everything is working well on Hd1
    OK a couple of things: (1) I will be removing Windows 7 partition no matter what, partition for Linux install already created on HD1; (2) Can't delete all partitions on any drive, as you can see there are dedicated data partitions (odd drive letters used for work files, I've blurred disk labels).

    I've also read that detaching the Windows drive before a Linux install means GRUB won't recognize the Windows disk, and booting requires using the BIOS boot menu to point to the desired disk each time, which I don't want to have to do.

    Thanks, glad to provide other details as needed.
    Attached Thumbnails Attached Thumbnails Revising dual boot to add Linux Mint-parto.jpg  
      My Computer


  4. Posts : 6,361
    Windows 11 Pro - Windows 7 HP - Lubuntu
       #4

    My suggestion is to have independent OSs (Win 10 and Mint) on different drives.
    You don't need to change BIOS boot order, but during POST you launch boot menu (F8 , F12 depending the MB) and select the Mint.

    Edit
    Linux Grub boot loader will find the windows on the other drive and add a option to boot from it.
    Detaching Windows drive during installation makes changes only to the Linux drive and I highly recommend to do it.
    Last edited by Megahertz; 10 Nov 2020 at 10:59.
      My Computers


  5. Posts : 43
    W10 Home 20H2 x64
    Thread Starter
       #5

    Megahertz said:
    My suggestion is to have independent OSs (Win 10 and Mint) on different drives.
    You don't need to change BIOS boot order, but during POST you launch boot menu (F8 , F12 depending the MB) and select the Mint.
    Yes, that's what I meant, had a Senior Moment. THX
      My Computer


  6. Posts : 43
    W10 Home 20H2 x64
    Thread Starter
       #6

    OK I installed Linux Mint 20 successfully to HD1 after pulling the data cable for HD0 (Windows); removed Windows 7 partition. Windows 10 and Linux Mint both boot, though I do have to set the HD via BIOS boot menu each time.

    FWIW you're SUPPOSED to be able to set up dual-boot simply enough with something like NeoSmart's EasyBCD -- it allows adding entries for different operating systems -- I used it for Windows 10 / 7 dual setup -- but every time I try it Linux won't boot. I believe EasyBCD's "boot here" instruction to Windows fails because Windows can't read the ext4 Linux partition and Linux doesn't have a record of Windows since it was installed when the drive was isolated. Or something like that.

    Anyway I'll mark this SOLVED (sorta) ~ thx all
      My Computer


  7. Posts : 34
    Linux
       #7

    Windows 10 won't help you boot Linux, at least not without 3rd party software.

    But if you run update-grub in Linux, then grub will include a Windows entry. But it has been a long time since I have dealt with dual boot on a legacy system.
      My Computer


  8. Posts : 1,775
    Windows 10 Pro
       #8

    Megahertz said:
    My suggestion is to have independent OSs (Win 10 and Mint) on different drives.
    You don't need to change BIOS boot order, but during POST you launch boot menu (F8 , F12 depending the MB) and select the Mint.

    Edit
    Linux Grub boot loader will find the windows on the other drive and add a option to boot from it.
    Detaching Windows drive during installation makes changes only to the Linux drive and I highly recommend to do it.
    Sorry to necro an old thread. If you can't remove the Windows drive, is there any way to edit the Grub boot loader to "forget" about Windows? I'm down with using the BIOS Boot Manager to switch between Windows and Linux, but I don't want to risk any interactions.

    To explain, I'm planning to install Ubuntu 22.4 LTS on a different drive from my windows drive. However, the Windows partitions are on an NVMe, which I really, really don't want to remove.
      My Computers


  9. Posts : 295
    Windows 10 Pro
       #9

    I just use EasyBCD or its equivalents Grub2Win or Visual BCD Editor.

    Edit-

    Damn it! I just saw the date and this necro post.
      My Computer


  10. Posts : 6,361
    Windows 11 Pro - Windows 7 HP - Lubuntu
       #10

    x509 said:
    Sorry to necro an old thread. If you can't remove the Windows drive, is there any way to edit the Grub boot loader to "forget" about Windows? I'm down with using the BIOS Boot Manager to switch between Windows and Linux, but I don't want to risk any interactions.

    To explain, I'm planning to install Ubuntu 22.4 LTS on a different drive from my windows drive. However, the Windows partitions are on an NVMe, which I really, really don't want to remove.
    The Grub boot loader use grub.cfg configuration file as a script.

    The grub.cfg file is automatically generated by grub-mkconfig or sudo update-grub, using templates from /etc/grub.d and settings from /etc/default/grub.

    The grub.cfg file is generated from individual templates on /etc/grub.d
    00_header
    05_debian_theme
    10_linux
    10_linux_zfs
    20_linux_xen
    20_memtest86+
    30_os-prober
    30_uefi-firmware
    35_fwupd
    40_custom
    41_custom

    The 30_os-prober is responsible to insert Windows as an option to boot from grub.
    As Root, create /etc/grub.d/orig folder and move 30_os-prober from /etc/grub.d to /etc/grub.d/orig.
    Whenever the grub.cfg is regenerated it won't find 30_os-prober and wont insert Windows as an option to boot from grub.

    Now you have a complete independent Win and Linux, each one on their own drive. You choose witch one to boot from by launching the Boot Menu (F12?) during POST.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:06.
Find Us




Windows 10 Forums