Edit file File name : update-grub2 Content :#!/bin/sh set -e exec grub-mkconfig -o /boot/grub/grub.cfg "$@" Save