Bug fixed: chroot grub-install. Using parted to format device.