Installed grub2 successfully with:
sudo grub-install --boot-directory=/mnt/sda1/boot /dev/sda
Then created grub.cfg in /mnt/sda1/boot/grub/grub.cfg
menuentry "core" {
insmod ext2
set root='(hd0,0)'
linux /boot/vmlinuz64
initrd /boot/corepure64.gz
}
But when booting in sda1, grub was stuck in "grub loading".
Any command or procedure I miss? This is my first time to install corepure64.
My fdisk -l is
/dev/sda1 * ......83 linux
/dev/sda2 ......83 linux
I am only using /dev/sda1. /boot has the two files, vmlinuz64 and corepure64.gz