http://www.youtube.com/watch?v=pP48GhFKDAQ
All these commands are run from within Linuxcoin, with the hard drive you wish to install it on attached.
Commands:
replace /dev/sdXX with the partition you want the root file system (ext4) on (mine is /dev/sda1). And replace /dev/sdX with the disk on which the root file system is (mine is /dev/sda).
mkdir /mnt/hdd
mount /dev/sdXX /mnt/hdd
cd /
cp --preserve -R {bin,boot,etc,home,initrd.img,lib,lib32,lib64,opt,root,run,sbin,selinux,srv,usr,var,vmlinuz} /mnt/hdd
mkdir /mnt/hdd/{dev,media,mnt,proc,sys,tmp}
cd /mnt/
mount -o bind /dev hdd/dev
mount -t proc /proc hdd/proc
mount -o bind /sys hdd/sys
chroot hdd
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install grub
for i in $(ls /usr/sbin | grep grub); do paxctl -C /usr/sbin/$i; paxctl -cEr /usr/sbin/$i; done
for i in $(ls /usr/bin | grep grub); do paxctl -C /usr/bin/$i; paxctl -cEr /usr/bin/$i; done
update-grub
grub-install /dev/sdX
exit