Installing grub into virtual system 

Compiled from

Making a bootable backup Debian system disk
http://www.debian-administration.org/articles/575
Posted by rossen on Thu 17 Jan 2008

A summary of the procedure:

  1. Create a file-system image file and mount it via the loopback device.
  2. Chroot into it, and run GRUB to make it bootable.

documented on: 2008-02-17