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

This commit is contained in:
xq2005 2013-09-23 01:08:58 -07:00
parent e342bd876c
commit 8bcf0a8717

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