Change default operating system

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help

Change default operating system

Postby giraffes_rule on Sat Mar 16, 2013 10:00 pm

I am currently dual booting Linux Mint 13 (32 bit, environment MATE) and Ubuntu 10.04 (environment unity, 32 bit).

When it boots up, Ubuntu is the default operating system, how can I change it so that Linux Mint boots up by default?
giraffes_rule
Level 2
Level 2
 
Posts: 55
Joined: Tue Feb 21, 2012 11:06 pm

Linux Mint is funded by ads and donations.
 

Re: Change default operating system

Postby TheDynamicHamza21 on Sat Mar 16, 2013 10:40 pm

You would have configure the /etc/default/grub file.

1) Open a terminal
2) Find the order number of Mint by typing this is:

Code: Select all
cat /boot/grub/grub.cfg | grep menuentry


Entries start at 0 thus the entry will one number off. For example the 2nd entry will actually be the 1st entry.

3.Edit the /etc/default/grub file:

Code: Select all
sudo gedit /etc/default/grub


4.Change the GRUB_DEFAULT from 0 to the number of the Mint entry, then save the file.

5. Update grub.

Code: Select all
sudo update-grub


Linux Registered User: # 573034

www.domeshotsandfatlaces.com
User avatar
TheDynamicHamza21
Level 5
Level 5
 
Posts: 780
Joined: Thu Oct 04, 2012 7:24 pm
Location: California


Return to Newbie Questions

Who is online

Users browsing this forum: augustynr, Bing [Bot], gibbs1984, Hecubus and 40 guests