[SOLVED] Dual boot with 2 separate drives - where to install GRUB?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Dual boot with 2 separate drives - where to install GRUB?
Hi,
I have a desktop PC with an internal SSD and a hard drive. Windows is installed on the SSD and I want to install Linux Mint on the hard drive. When I go to install GRUB do I install it on to the MBR on the SSD or the hard drive?
Thanks in advance.
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
Quote:
Originally Posted by rgbrock57
Hi,
I have a desktop PC with an internal SSD and a hard drive. Windows is installed on the SSD and I want to install Linux Mint on the hard drive. When I go to install GRUB do I install it on to the MBR on the SSD or the hard drive?
Thanks in advance.
Given an "internal SSD" is also a hard drive, what do you mean by "I want to install Linux Mint on the hard drive."?
A PATA HDD perhaps?
Which one is connected to the first PATA or SATA port on your motherboard?
I would install GRUB into the MBR of the first hard drive.
Hello and thanks for your answer. (Although an SSD is not a hard drive. Not commonly referred to as that anyway. But, I digress, I'm not here to argue that point!)
Both drives - the SSD and spinning platter HD - are SATA. I believe the 1st drive is the HD and the 2nd is the SSD. So, if I understand you correctly, I should install GRUB on the HD i.e., the first drive attached on the MOBO port?
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
Quote:
Originally Posted by rgbrock57
Hello and thanks for your answer. (Although an SSD is not a hard drive. Not commonly referred to as that anyway. But, I digress, I'm not here to argue that point!)
Both drives - the SSD and spinning platter HD - are SATA. I believe the 1st drive is the HD and the 2nd is the SSD. So, if I understand you correctly, I should install GRUB on the HD i.e., the first drive attached on the MOBO port?
If your "spinning platter HD" is the first hard drive connected to your mobo's first SATA port, then yes.
You can do either actually. Depends how you want to set it up. Assuming the SSD is first in the boot priority in your bios setup(likely since windows is installed there), if you install grub to the SSD and linux on the spinning hard drive, grub will overwrite your windows bootloader on the SSD and you will get the grub boot selection menu with options for booting either windows or linux when you boot the computer. If you later decide you don't want linux on your computer, clearing your spinning hard drive won't remove the grub boot selection screen and you will have to jump through some hoops to get your normal windows bootloader reinstalled using your windows installation disk in rescue mode IIRC.
If you install the grub bootloader to the spinning hard drive then you would have to go into your bios setup and make your spinning hard drive first in the boot priority. Your grub installation on the spinning hard drive will automatically detect both your windows install and your linux install and give you the option of booting into either one. If you decide later to ditch linux, you just have to go back into your bios setup and set your SSD as first in boot priority without the need to reinstall your windows bootloader.
Long story short, if you're just experimenting at this point, I would install grub to the drive that does not have the windows bootloader currently installed on it, i.e. the drive that is currently set second in boot priority in your bios setup. Then go into your bios setup after your linux install and make that drive first in boot priority.
You can do either actually. Depends how you want to set it up. Assuming the SSD is first in the boot priority in your bios setup(likely since windows is installed there), if you install grub to the SSD and linux on the spinning hard drive, grub will overwrite your windows bootloader on the SSD and you will get the grub boot selection menu with options for booting either windows or linux when you boot the computer. If you later decide you don't want linux on your computer, clearing your spinning hard drive won't remove the grub boot selection screen and you will have to jump through some hoops to get your normal windows bootloader reinstalled using your windows installation disk in rescue mode IIRC.
If you install the grub bootloader to the spinning hard drive then you would have to go into your bios setup and make your spinning hard drive first in the boot priority. Your grub installation on the spinning hard drive will automatically detect both your windows install and your linux install and give you the option of booting into either one. If you decide later to ditch linux, you just have to go back into your bios setup and set your SSD as first in boot priority without the need to reinstall your windows bootloader.
Long story short, if you're just experimenting at this point, I would install grub to the drive that does not have the windows bootloader currently installed on it, i.e. the drive that is currently set second in boot priority in your bios setup. Then go into your bios setup after your linux install and make that drive first in boot priority.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.