I have Manjaro installed on GPT disk
sda1 EFI partition
sda2 system/data disk
If I remember correctly during Architect installation I chose Manjaro as a name
I believe the command looked like this:
grub-install --target=x86_64-efi --efi-directory= *esp* --bootloader-id=Manjaro
In my UEFI I have Manjaro on the list with bootable devices.
Can I change this name with config files?
Or maybe I could reinstall grub with different --bootloader-id=
??
Edit the file /etc/default/grub
Replace Manjaro with MyLinux and rebuild config
$ sudo grub-mkconfig -o/boot/grub/grub.cfg
I don’t know it is possible without recreating the boot entry - first find your the number
efibootmgr | grep Manjaro
Then replace XXXX with the number found
$ sudo efiboogmgr -b XXXX -L 'MyLinux'
If this is not possible you easily run
sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=MyLinux
Then delete the Manjaro entry using the ID
sudo efibootmgr -b XXXX -B
4 Likes