LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux Mint (https://www.linuxquestions.org/questions/linux-mint-84/)
-   -   grub settingsfor booting Mint 17.1 (https://www.linuxquestions.org/questions/linux-mint-84/grub-settingsfor-booting-mint-17-1-a-4175540162/)

bscho 04-19-2015 03:10 PM

grub settingsfor booting Mint 17.1
 
I want to change the boot order of Mint 17.1 and Fedora 21.

At the moment it boots up to Fedora 21 and I want to make it boot
up Mint 17.1

I understand I have to modify grub, where is it and how do I change it
to boot Mint?

yancek 04-19-2015 04:47 PM

If you are using the Fedora Grub bootloader to boot both Fedora and Mint, you would boot Fedora and go to the /etc/defaul/grub file and look for the line below. It should be right at the top of the file. You would need to change this entry. To determine what to change it to, you would need to look at the grub.cfg file and count the menuentry lines down to the one which lists Mint and enter that number if this file. Count in this instance is from zero, not from one.

Quote:

GRUB_DEFAULT=0

syg00 04-19-2015 07:19 PM

That can be fragile - personally I'd just boot to Mint and run grub-install.

bscho 04-19-2015 07:38 PM

boot of mint
 
Quote:

Originally Posted by syg00 (Post 5349891)
That can be fragile - personally I'd just boot to Mint and run grub-install.

Sorry, I don't know what that means does it make mint the first to boot?

syg00 04-19-2015 07:44 PM

Yes, each distro puts itself first - it will also have entries for the Fedora kernels.
grub-install re-writes the MBR so Mint "owns" it. This is what happens if for example you had installed F21 first, then installed Mint.

bscho 04-19-2015 07:52 PM

grub on mint
 
Quote:

Originally Posted by syg00 (Post 5349909)
Yes, each distro puts itself first - it will also have entries for the Fedora kernels.
grub-install re-writes the MBR so Mint "owns" it. This is what happens if for example you had installed F21 first, then installed Mint.

I ran grub-install on a terminal and it said "operation not permitted" and "device not specified"
What should the command be?

colorpurple21859 04-19-2015 08:15 PM

Assuming you only have one hard drive it would be
Code:

sudo grub-install /dev/sda

Joshmccullough 05-04-2015 11:14 AM

Quote:

Originally Posted by bscho (Post 5349826)
I want to change the boot order of Mint 17.1 and Fedora 21.

At the moment it boots up to Fedora 21 and I want to make it boot
up Mint 17.1

I understand I have to modify grub, where is it and how do I change it
to boot Mint?

I've used GRUB Customizer without a hitch:

https://launchpad.net/~danielrichter...rub-customizer


All times are GMT -5. The time now is 09:09 PM.