Change default operating system

Quick to answer questions about finding your way around Linux Mint as a new user.
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. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
giraffes_rule

Change default operating system

Post by giraffes_rule »

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?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
TheDynamicHamza21
Level 5
Level 5
Posts: 798
Joined: Thu Oct 04, 2012 7:24 pm
Location: California
Contact:

Re: Change default operating system

Post by TheDynamicHamza21 »

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

Hamza21.com
Locked

Return to “Beginner Questions”