[SOLVED] Cannot change boot order on multi-OS boot screen
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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The following is the multi-OS bootup screen, which shows on bootup:
GNU GRUB version 2.02~beta2-36ubuntu3.14+linuxmint1
Linux Mint 18.3 KDE 64-bit
Advanced options for Linux Mint 18.3 KDE 64-bit
Windows Boot Manager (on /dev/sda1)
Linux Mint 18.3 Sylvia (18.3) (on /dev/sda5)
Advanced options for Linux Mint 18.3 Sylvia (18.3) (on /dev/sda5)
Ubuntu 18.04 LTS (18.04) (on /dev/sda7)
Advanced options for Ubuntu 18.04 LTS (18.04) (on /dev/sda7)
System setup
If I do not make a selection on bootup, it will boot into Linux Mint. I need to change the boot order so that at least Ubuntu is on top, then probably Windows, then the other OS selections.
I have tried doing this using Grub Customizer, but it made no difference whatsoever. I searched the Internet, and one post suggested that you need to perform the Grub Customizer on the first-installed OS, or it won't take. For me, that could be problematic, as I think Linux Mint does not have many of Ubuntu's command line commands. I have experienced that before when I tried to use Mint, so I am afraid to try this on anything except those which have a powerful command line, and Mint seems to be a cut-down version of Ubuntu.
Another post I ran across suggested just editting the /etc/default/grub file, which would only change the default OS to boot into. But how about changing the order of ALL the entries? I'm sure there's a way to do this, but I am clueless.
I've spent a little bit too much time trying to solve this on my own, so I turn to LQ, which is where I should have started. Thanks.
Hmmm - interesting attitude.
Mint is derived from Ubuntu - anything from Ubuntu can generally be used, but may require installing it first. Same applies to other distros - Ubuntu included which is derived from Debian.
Grub customiser would need to be run on the system (distro) that currently has control of the MBR on BIOS based systems. Try running grub-install then grub customiser. For UEFI it shouldn't matter, but I've never used it (customiser).
One alternative (which I use on my UEFI PCs):
1-For installations that don't automatically make simple symlinks to kernels and initrds (e.g. vmlinuz & initrd.img), create them yourself (e.g. vmlinuz1 & initrd1)
2-Copy /etc/grub.d/41_custom to /etc/grub.d/07_custom
3-Build the file referred to in 07_custom, incorporating the desired symlinks
This will cause the custom boot stanzas to appear first in the Grub menu, in the order they appear in the custom.cfg. All those which follow can be ignored, unless wanted, such as those using prior installed kernels. The unwanted ones' creation can be avoided by removing execute bits from 10_linux, 20_linux_xen, 30_os-prober, etc. in /etc/grub.d/. New symlinks will need to be created for each kernel version upgrade, or else the old ones will continue to be used. At such times, old ones can be renamed (e,g, mv vmlinuz1 vmlinuz2) or deleted.
A similar effect can be achieved by copying 40_custom to 06_custom, which uses auto-generated stanzas instead of self-created ones. (not a method I've tested)
Thanks, everyone, for your suggestions. I eventually went with syg00's suggestion. I booted into Linux Mint, the first Linux I had installed some months ago. Apparently, it still had control of the MBR, since it was the first OS to be installed, so that was key to getting the Grub Customizer changes to stick.
I did have a little trouble getting Grub Customizer to install on Linux Mint. Had to search around the Internet for some suggestions. Sorry, can't remember exactly what I did, but I eventually got Grub Customizer installed on Linux Mint, and it was child's play to change the order once I got it working. That is a really superb tool.
Now my boot screen shows like I want it:
Ubuntu 18.04 LTS (18.04) (on /dev/sda7)
Windows Boot Manager (on /dev/sda1)
Linux Mint 18.3 KDE 64-bit
Advanced options for Linux Mint 18.3 KDE 64-bit
Linux Mint 18.3 Sylvia (18.3) (on /dev/sda5)
Advanced options for Linux Mint 18.3 Sylvia (18.3) (on /dev/sda5)
Advanced options for Ubuntu 18.04 LTS (18.04) (on /dev/sda7)
System setup
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.