diff --git a/pym/cl_install.py b/pym/cl_install.py index 58dea24..4d065e9 100644 --- a/pym/cl_install.py +++ b/pym/cl_install.py @@ -1515,7 +1515,7 @@ class cl_install(color_print, SignalInterrupt): return (False,False) def setBiosGrubForBootPartition(self): - """Set bios_grub flag for boot partition in gpt""" + """Set bios_grub flag for boot partition in gpt (WRONG)""" for bootPath in ("/boot","/"): # get grub disk by mount point bootPart = self.varSelect( @@ -1538,16 +1538,16 @@ class cl_install(color_print, SignalInterrupt): def installGrub2Bootloader(self,target): """Install grub2 boot loader""" cmdGrubInstall = self.clVars.Get('os_grub2_path') - if not self.setBiosGrubForBootPartition(): - raise DistributiveError( - _("Cann't set bios_grub flag for boot partition")) + #if not self.setBiosGrubForBootPartition(): + # raise DistributiveError( + # _("Cann't set bios_grub flag for boot partition")) if not cmdGrubInstall: raise DistributiveError(_("Cann't install bootloader")) mbrDisk = self.clVars.Get('os_install_mbr') grubProcess = process(cmdGrubInstall, "--boot-directory=%s"%target.getBootDirectory(), - "/dev/%s"%mbrDisk) + "/dev/%s"%mbrDisk, "-f") if grubProcess.failed(): raise DistributiveError(_("Cann't install bootloader"))