Modifications
- simplify grub installation routine
- add xfs freeze function to support grub installation on xfs
- use timeout to see if grub installation fails