bug 3795: node can not boot after cloning sles11.3 with legacy mode
This commit is contained in:
parent
9b5e17ab88
commit
ed0e4b6fc2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user