Im new here, however, i come up with a solution.

I'm pulling my hair on this problem and that's why I want to write a solution that I hope will be useful.

The original problem :

When i install(legacy no uefi) Kali Linux on my asus ux31a, the install process continued normally but at the grub installation this error appeared : grub-pc failed to install into /target/thin

When i reboot, i have no OS, nothing ...


I boot on my live of kali, then i chroot on the disk system :

sudo mount /dev/sdaX /mnt          
sudo mount --bind /dev /mnt/dev    
sudo mount --bind /dev/pts /mnt/dev/pts   
sudo mount --bind /sys /mnt/sys    
sudo mount -t proc /proc /mnt/proc 
sudo chroot /mnt /bin/bash      
mount -a
I add the squeeze repository

vim /etc/apt/source.list
add this :
## Security updates
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb ftp://ftp.fr.debian.org/debian/ squeeze main contrib  non-free
deb http://security.debian.org/ squeeze/updates main contrib non-free
# avant squeeze : deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb ftp://ftp.fr.debian.org/debian/ squeeze-updates main contrib  non-free
#optionnel :
deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free

And i install grub

apt-get install grub-pc
I choose the /dev/sda disk for the install and i update the grub running config file with :

in the hope that it may help you