[CentOS] problem running grub during boot

Fri Aug 1 07:59:35 UTC 2014
srikanth chakravarthula <skanth2012 at gmail.com>

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

grub  --batch  --no-floppy <<EOF    >> $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