bug 3795: node can not boot after cloning sles11.3 with legacy mode
This commit is contained in:
parent
e342bd876c
commit
8bcf0a8717
@ -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