Mount a USB disk with a sufficient amount of free space. Note the device name (e.g. /dev/sdb) and the mount point (e.g. /media/mg/MG-FLASH). sudo grub-install ...