parted flag

For parted set/activate the flag bios_grub on the partition.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
parted -a optimal /dev/sda
    set 1 bios_grub on

pacman -S grub
# where /dev/sdX is the disk (not a partition)
grub-install --target=i386-pc /dev/sdX

grub-mkconfig -o /boot/grub/grub.cfg

### exit arch-chroot
exit

# 重启
reboot