Unable to change grub menu entries because of grub customizer not working

How to reset the “default” GRUB after removing grub-customizer

  1. Remove grub-customizer
  2. sudo mv /etc/grub.d /etc/grub.d.old
  3. sudo rm -rf /etc/grub-customizer
  4. Reinstall grub
  5. sudo update-grub
  6. reboot
  7. If it works fine, then you can delete the old directory /etc/grub.d.old.

If you want to change grub menu, then:

  1. Create new backup of the file grub.cf
    sudo cp /boot/grub/grub.cfg /boot/grub/grub.cfg.backup
  2. Edit this file:
    sudo nano /boot/grub/grub.cfg
    You can change, move or delete codeblocks of grub entry menuentry '...', what you want.
menuentry 'Windows 10'   --class windows  ..... {
          ....
}

menuentry 'Manjaro Linux' --class manjaro .... {
          ...
}

It works for me.

If the editing of grub.cfg went wrong, you can run sudo update-grub or sudo grub-mkconfig that automatically regenerates grub.cfg.

If grub menu is empty or boot error, you need boot into a Manjaro LIVE ISO on USB to fix your system. Run the command:
sudo manjaro-chroot [mount with your system partition]
Password: manjaro
Run sudo update-grub or sudo grub-mkconfig

It is easy for me.

3 Likes