Make grub work with installation environment.