7.安装grub
$sudo grub-install /dev/hda
如果显示为“Not found or not a block device.”,请改执行
$sudo grub-install /dev/sda
如果显示为“/dev/sda does not have any corresponding BIOS drive. ”,那么先执行命令
$sudo grub-install --recheck /dev/sda
然后再执行
$sudo grub-install /dev/sda