LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 04-19-2015, 03:10 PM   #1
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Rep: Reputation: 28
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?
 
Old 04-19-2015, 04:47 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,486

Rep: Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485
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
 
Old 04-19-2015, 07:19 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
That can be fragile - personally I'd just boot to Mint and run grub-install.
 
Old 04-19-2015, 07:38 PM   #4
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Original Poster
Rep: Reputation: 28
boot of mint

Quote:
Originally Posted by syg00 View Post
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?
 
Old 04-19-2015, 07:44 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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.
 
Old 04-19-2015, 07:52 PM   #6
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Original Poster
Rep: Reputation: 28
grub on mint

Quote:
Originally Posted by syg00 View Post
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?
 
Old 04-19-2015, 08:15 PM   #7
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,343

Rep: Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587
Assuming you only have one hard drive it would be
Code:
sudo grub-install /dev/sda
 
Old 05-04-2015, 11:14 AM   #8
Joshmccullough
LQ Newbie
 
Registered: Apr 2015
Location: Michigan
Distribution: Linux Minx 17.1
Posts: 13

Rep: Reputation: Disabled
Quote:
Originally Posted by bscho View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Grub won't load windows - Dual booting Windows 8 and Linux Mint Canas Linux - Laptop and Netbook 7 01-26-2014 12:12 PM
Mint install booting into grub? golightly Linux Mint 4 10-09-2012 11:22 PM
[SOLVED] Stop GRUB from instatly booting to Linux Mint tfnc99 Linux - Software 3 09-15-2012 03:32 PM
Mint keeps booting into Grub!!! I need help. kidgrave Linux Mint 9 07-22-2012 07:11 AM
re installation of grub in Linux mint after installing xp over mint sampad.sarangi General 1 01-15-2008 05:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration