This is an old revision of the document!
mount partition some where. Bind dev, sys and proc. Then chroot to the partition and run update-grub inside.
sudo mount /dev/sda2 /mnt sudo mount --bind /dev /mnt/dev sudo mount --bind /sys /mnt/sys sudo mount --bind /proc /mnt/proc sudo chroot /mnt sudo update-grub