Fixed GRUB config change before installing grub