Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

- - - - -

Set Grub to boot your chosen operating system by default

  • Please log in to reply
No replies to this topic

#1 Al1000


  • Global Moderator
  • 8,054 posts
  • Gender:Male
  • Location:Scotland
  • Local time:08:31 AM

Posted 22 September 2016 - 01:08 PM

Set Grub to boot your chosen operating system by default

Many Linux users have more than one operating system installed on a single computer. This entails having a boot menu from which you can select the operating system you wish to boot into, with the entry at the top of the menu being the default. Here's how to change that.

Open the file /etc/default/grub using root permissions in a text editor. Scroll down to this line:
The 0 above represents the first entry listed on the Grub boot menu. So for example, if you wish to boot from the 4th entry on the menu, change 0 to 3 so that the line looks like this:
Save and exit the text editor, and the next time you boot your computer you should find it will boot into the 4th entry in the Grub boot menu by default.

Edited by Al1000, 04 August 2017 - 06:32 AM.
split from deleted Tips and Tricks topic

BC AdBot (Login to Remove)


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users