I have Linux Mint 14.1 Nadia x64 and Windows 7 Ult---How do I Change Boot order?
Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
GRUB_DEFAULT=saved The information in this section applies to GRUB 1.98 and later. The "saved" entry enables the "grub-reboot" and "grub-set-default" commands to set the default OS for future boots.
The default OS for future boots will not be set merely by selecting an OS when booting.
grub-set-default Sets the default boot entry until changed.
The format is sudo grub-set-default X, with X being the menu entry position (starting with 0 as the first entry) or the exact menu string.
Example: sudo grub-set-default 3
Example: sudo grub-set-default "Ubuntu, Linux 2.6.32-15-generic"
To obtain the existing menu entry choice number (starting from 0) or the menu entry "string", run:
grep menuentry /boot/grub/grub.cfg
grub-reboot This command sets the default boot entry for the next boot only. The format of the command is the same as for grub-set-default (see above).
set the default to the number that windows is in the list
I tried your suggestions and never could get to work. I took LinuxMint off and added PCLinuxOS kde 10-13 which allowed me to install kGrubEditor which I have used in the past.This allowed me to Boot Win7 as first option, Then PCLinuxOS AS 2nd Boot option.
Thank you for your help
Problem Solved, Thank You
Last edited by cowboy5709; 10-15-2013 at 07:35 PM.
Thank You for your reply. I will check out what you requested I do.
Originally Posted by yancek
You could have accomplished what you wanted with any system using Grub2 by opening a text editor and typing:
sudo gedit /etc/default/grub
That would have opened the grub file in a text editor and you would have seen at the top of the file this line:
You would change the 0 to whatever number the entry for windows was, if it was third you would put a 2, fourth a 3 as Grub counts from zero. Save the change and run sudo update-grub and you're done.
As a PCLinux user myself for years, good choice.
Actually, everything wasn't as easy as I said. I had Linux Mint 14.1 Nadia installed when I wanted to change Boot Order. I decided to install Linux Mint 15 KDE instead. It installed all the way to the end, almost to the point of rebooting and then screen froze and wouldn't do anything (not even reboot). I shut computer off,restarted with No grub menu to boot to. Used "Boot Repair" disk and restarted and told it to repair Boot. It Did, and this allowed me to get back into Windows. I went to Distrowatch in windows and downloaded the newest Ubuntu and PCLinuxOS. Installed Ubuntu first (went well) but I did not like as well as Linux Mint 14.1. Went back to windows and used "MiniTool Partition Wizard Home Edition" to remove all of Ubuntu. Then I installed PCLinuxOS 10-13 and I am very happy with my choice.
I think most made a serious mistake by not offering "KGrubEditor" in the popular Distro's anymore. Those kinds of programs help users such as myself get acclimated to Linux. When you take away those tools, you are making it harder for the "Average person" to stay with Linux long enough to learn it and like it. You Drive many back to Windows. Give us those tools,then the Terminal interaction will come later.
Been back and forth to windows and Linux so many times I can't count. It makes many scared of Linux such as my wife. Linux should not be Scary, it should be FUN!!!!!!!
What I said was the command would work with Mint. Since you indicated you have installed PCLinuxOS over Mint, there is no Grub2 nor is there and /etc/default/grub file. If you boot a Mint CD, you would see it there. You could not edit it on a CD as it is a read-only system. My earlier post was for informational purposes, what you could have done when Mint was installed.
After editing /etc/default/grub need to run sudo update-grub, for changes to take place. It isn't recommended to edit /boot/grub/grub.cfg, any changes to it will change back the next time update-grub is ran either by updates or manually.