bug 3795: node can not boot after cloning sles11.3 with legacy mode

This commit is contained in:
xq2005 2013-09-23 01:07:55 -07:00
parent 9b5e17ab88
commit ed0e4b6fc2

View File

@ -47,8 +47,8 @@ else
echo "grub-install --no-floppy --recheck $boot_device"
grub-install --no-floppy --recheck $boot_device
if [ $? -ne 0 ];then
#sles11, run grub install directly
grub-install
#sles11, run grub-install.unsupported directly
grub-install.unsupported --no-floppy --recheck $boot_device
fi
if [ -e /etc/mtab.bak ];then