Problem Running Grub During Boot

Home » CentOS » Problem Running Grub During Boot
CentOS No Comments

Hi We are getting the below error while running the below grub command during boot time.

grub –batch –no-floppy <> $LOGFILE 2>&1

root (hd0,0)

setup (hd0)

EOF

restorecon -v /sbin/grub >>$LOGFILE 2>&1

*grub: asmstub.c:234: grub_stage2: Assertion `simstack_alloc_base != ((void
*) -1)’ failed*

this works fine when run after the boot.

we tried disabling selinux and changing enforcing as well but we get the same above error.

What could be the issue and how to resolve the above error during boot time.

Regards, Srikanth