support grub2.
Merge pull request #159 from wakameci/grub2

support grub2.