How to install Grub after a fresh OS installation ?

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
WJacques
Level 2
Level 2
Posts: 57
Joined: Thu Sep 11, 2014 3:42 am

How to install Grub after a fresh OS installation ?

Post by WJacques » Mon Feb 20, 2017 3:28 am

Hello,

I have two physical hard drives on my PC: one 1TB drive where Win7 is installed and one 500GB where Mint 17 is installed. When I start my PC I pick from a boot loader the OS I want to work with.

Next weekend I am going to make a fresh Win7 installation and I guess the boot loader that welcomes me when I start my PC will not appear anymore after the fresh install. How to I install Grub now? From Win7 or maybe from Mint? Can you please describe the step by step process of the easiest way to install Grub ?

Thank you very much


User avatar
MintyO
Level 4
Level 4
Posts: 460
Joined: Mon Apr 11, 2011 2:54 pm

Re: How to install Grub after a fresh OS installation ?

Post by MintyO » Mon Feb 20, 2017 6:30 am

You didn't specify what bootloader (I'm assuming grub) or where's it currently installed (I'm assuming sda, since you said it will be gone) and what partitioning table and bios (I'm assuming msdos since it's win7 not 8 or 10). I have similar setup, only I have 3x linux on sdb and win7 on sda. I've set my bios to boot sdb first, and that's where I have installed grub. This gives me access to every system through grub menu and making changes or win updates don't mess anything. Just to give you one option. Installing or fixing Grub can be done with various live-images.
Ducks on the edge sleep with one eye open.

fabien85
Level 7
Level 7
Posts: 1544
Joined: Tue Mar 11, 2014 4:30 pm

Re: How to install Grub after a fresh OS installation ?

Post by fabien85 » Mon Feb 20, 2017 7:09 am

If grub is currently installed on the Mint drive, and you take care of disconnecting that drive during the windows install, then grub will still be there and will still boot Mint. To make it also able to boot the new windows, you will probably need to run sudo update-grub from Mint (after install and with the windows drive connected obviously).
If grub is currently installed on the windows drive, then you will indeed need to reinstall it, with procedure following grumpy_geek's links.

User avatar
MintyO
Level 4
Level 4
Posts: 460
Joined: Mon Apr 11, 2011 2:54 pm

Re: How to install Grub after a fresh OS installation ?

Post by MintyO » Mon Feb 20, 2017 7:34 am

fabien85 wrote:If grub is currently installed on the Mint drive, and you take care of disconnecting that drive during the windows install, then grub will still be there and will still boot Mint....
Just curious, why is it necessary to disconnect the drive? Is windows really that aggressive that it messes with drives it's not even directed to install. :shock: :lol:
Ducks on the edge sleep with one eye open.

fabien85
Level 7
Level 7
Posts: 1544
Joined: Tue Mar 11, 2014 4:30 pm

Re: How to install Grub after a fresh OS installation ?

Post by fabien85 » Mon Feb 20, 2017 11:01 am

Just curious, why is it necessary to disconnect the drive? Is windows really that aggressive that it messes with drives it's not even directed to install. :shock: :lol:
Well in principle it's unnecessary, but I wouldnt trust windows, e.g. in the case where the Mint drive is the first in the boot order considered by the BIOS. And it avoids any mistake.

WJacques
Level 2
Level 2
Posts: 57
Joined: Thu Sep 11, 2014 3:42 am

Re: How to install Grub after a fresh OS installation ?

Post by WJacques » Tue Feb 21, 2017 2:36 am

Thank you very much for helping

Post Reply

Return to “Installation & Boot”