GRUB modification

MATE has been successfully installed along with "plain vanilla" Ubuntu but during boot there is no indication which option to choose. What is cmd needed to modify GRUB loader to show "MATE' and also make it the default ? Thanx.

bewildered Newbie Bob

[quote="Newbie_Bob, post:1, topic:19845"]along with "plain vanilla" Ubuntu
[/quote]

Bob
That might mean something to you, but maybe you could expand on that comment
eg....you have only one drive
partition one as distro=Ubuntu (not Mate)
partition two as distro=Ubuntu-Mate

  1. post the results of this command pls
    $ sudo blkid

  2. UNTIL you get a better reply I urge you not to attempt to modify scripts
    at /etc/grub.d especially the one called 10_linux

Its normally OK to modify /etc/default/grub

but in any case....your change will not take effect until you run
$ sudo update-grub

  1. so until you get a reply.....I plan to create a 40_custom script for you
    Do you know when you look at your blkid output you are likely to see UUIDs
    but 40_custom can use LABELs and its more intuitive

let me give an example THESE ARE MINE NOT ORIGINAL POSTERS
/dev/sda1: LABEL="s1" UUID="ec2e1b95-56d0-4893-95a7-0f52445dcdff" TYPE="ext4" PARTUUID="a35f4ef3-01"
/dev/sda2: LABEL="sswap" UUID="0456b0ee-6be6-4356-8dc1-386ee06e1528" TYPE="swap" PARTUUID="a35f4ef3-02"
/dev/sda3: LABEL="s3" UUID="4008f440-7790-4da4-a36e-4b8f7855114e" TYPE="ext4" PARTUUID="a35f4ef3-03"
/dev/sdb1: LABEL="t1" UUID="22d92423-8eab-4785-820c-a135115baece" TYPE="ext4" PARTUUID="378f30fb-01"
/dev/sdb2: UUID="3cbab6cd-2b68-4d72-b1bf-9ea37f1b828f" TYPE="swap" PARTUUID="378f30fb-02"
/dev/sdb3: LABEL="t3" UUID="992321db-95a9-4877-ac3b-56c8eeb078c8" TYPE="ext4" PTTYPE="dos" PARTUUID="378f30fb-03"
/dev/sdb4: LABEL="t4" UUID="822402a3-1910-4514-8cc0-20983a81d20a" TYPE="ext4" PTTYPE="dos" PARTUUID="378f30fb-04"

  1. you can change your labels with a sudo command

    $ sudo e2label /dev/sda1 my-new-label
    $ sudo e2label /dev/sda1
    (should report new label name)
    be aware....I am assuming you are on an ext2 ext3 or ext4 file system

Provided that you have no chance to choose which ubuntu flavour to boot in, what makes you to believe that you have installed UM side by side with legacy Ubuntu and not on top of legacy Ubuntu?

Gene

Hi Gene: apparently BOTH flavors have been installed but i cannot tell from description provided which is which. One option boots "plain vanilla", another option boots MATE. Now if i could modify GRUB wording on screen and make MATE the default i will feel really good abt Ubuntu.

Bewildered Bob

Unfortunately, that is not a trivial task for menu entries are generated automagically. You might want to have a look at:

http://ubuntuforums.org/showthread.php?t=1287602

Another option is to use grub-customizer application:

Gene

2 Likes

Gene: Thanx for the tip. Apparently the GRUB Customizer works well (after some trials) but i now also have a Grub CUSTOMEIZER (yes CUSTOMEIZER) application which doesn't appear to be related to GRUB. Instead it seems to be a file search tool. WHAT IS GOING ON ?? Are the tech gremlins loose ? If so they must have remained dormant in the system unit after Windoze 10 was removed :slight_smile:

Bewildered Bob

Sorry, Bob, I have no idea how your system could catch 'customeizer'...
I've downloaded package from grub-customizer PPA and looked at its contents. There was nothing like 'customeizer'.
Gene