This guide explains how to set up software RAID1 on an already running Debian Lenny system. The GRUB bootloader will be configured in such a way that the system will still be able to boot if one of the hard drives fails (no matter which one).

http://howtoforge.net/how-to-set-up-software-raid1-on-a-running-system-incl-grub-configuration-debian-lenny