That looks great thanks. Useful for more than just LDME!
I use mdadm rather than dmraid but the partitions and arrays are already set up so that should be OK. Also I need to consider the grub configuration because I want LDME to produce it's grug.cfg file but not write to the mbr which points to my stable raid 1 Debian /boot. I have given in and moved to grub2 but I disable the os-prober and manually add / remove distros by hand using 40_custom, which is where the menu entries in grub.cfg come in. I have a backup of the mbrs of all the drives but I will try "dpkg-reconfigure grub-pc" on a spare PC.
Thanks for the link. Perfect.
Hardware: Athlon II X3, 4 GB DDR3, 3x 1TB Raid 5. Running 64 bit: Debian, LDME, Mint 9 64 and 32 bit, Ubuntu 10.10 and testing Naffy Narwhal