G'Day; I have Ubuntu 15.10 on one partition and Ubuntu Mate 15.10 on another partition, is there some way I can choose which grub boot loader is used, I want to use the Mate bootloader..


Serg is (sort of) correct. If the output of cat /etc/fstab includes a line that mentions /boot/efi, you're booted in EFI mode (proceed to EFI). If it says something like "not found", or just outputs nothing, you're not in EFI mode. (proceed to BIOS)


This will be a list of commands to run, run them from top to bottom:

sudo grub-install --efi-directory=/boot/efi --bootloader-id=ubuntumate --target=x86_64-efi --recheck --debug

sudo grub-mkconfig -o /boot/efi/EFI/ubuntumate/grub.cfg

(I don't know if boot/efi/EFI/ubuntumate will be the path where GRUB is installed, you may want to do sudo ls /boot/efi/EFI and figure out if it's in GRUB or ubuntumate)


Do sudo grub-install /dev/sda


Boot from Mate and run

sudo grub-install /dev/sda

Reference : https://unix.stackexchange.com/questions/154940/set-which-grub-loader-to-use-after-dual-booting-two-linux-oses

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.