Guest grub file modification.

Use grub file in boot patition instead of symbolic link file in /etc/,
since the link file may be corrupted or not exist some times.
Sync the file system after file modification for disk synchronization.