LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-23-2013, 09:22 AM   #1
eightyoneyrold
LQ Newbie
 
Registered: Nov 2013
Posts: 4

Rep: Reputation: Disabled
Changing boot sequence


I have 3 Linux partitions (no windows)
Boot sequence presently (1) Ubuntu (2) Dreamlinux (3) Linux Mint
I want Mint to be first and am sure its already been answered but I searched and missed it.
Please advise
 
Old 11-23-2013, 09:32 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390
The default entry to boot is determined by the GRUB_DEFAULT= setting in /etc/default/grub; the first "menuentry" has a value of "0".

Change the setting to the one you prefer (counting starts at zero!).

Assuming you use Ubuntu for multi booting: Ubuntu Grub2
 
Old 11-23-2013, 10:04 AM   #3
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 3,327
Blog Entries: 1

Rep: Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690
Modify the configuration of the bootloader. Assuming grub2, /boot/grub/grub.cfg, is what is used at boot time. But if grub updates with your regular updates, it gets regenerated and your changes undone. Depending on the distro, /etc/default/grub for most of the headers in the config file in debian based distros. And various /etc/grub.d/ files for other customize-able things like 40_custom for entries like for usb sticks that you don't always have attached, but don't want to be removed when grub updates regenerate the configuration file.

If you modify /boot/boot/grub.cfg you just reboot and it's gets used.

If you modify /etc/default/grub you have to also run:
$ sudo update-grub

So the /boot/boot/grub.cfg file gets regenerated. As previously mentioned GRUB_DEFAULT= is the pointer for the default boot menu option. And various other options as well.
 
  


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
Changing boot sequence MrWasabi Fedora 1 06-04-2007 07:33 AM
Changing the color of the boot sequence text r00tNinj4 Debian 7 06-16-2006 11:47 AM
changing sequence of boot delmoras Linux - Newbie 1 03-14-2006 06:09 AM
changing boot sequence JerryNew2Linux Linux - Newbie 4 08-26-2004 08:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:00 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration