First edit your lilo.conf for boot on raid (it's a good ides to let a an entry for boot on the old systen in cause of an failue).
fcmaster01:/# ln -s boot/initrd.img-2.4.18-1-k7.raid initrd.img.raid
fcmaster01:/# vim /etc/lilo.conf
...
fcmaster01:/# cat /etc/lilo.conf
lba32
boot=/dev/hda
install=/boot/boot-menu.b
map=/boot/map
# message=/boot/bootmess.txt
prompt
# single-key
delay=20
timeout=50
vga=normal
default=Linux
append="devfs=mount"
image=/vmlinuz
root=/dev/md/1
label=Linux
initrd=/initrd.img.raid
read-only
# restricted
# alias=1
image=/vmlinuz
root=/dev/hdc1
label=LinuxSAV
initrd=/initrd.img
read-only
# restricted
# alias=1
fcmaster01:/#
fcmaster01:/# lilo
Added Linux *
Added LinuxSAV
fcmaster01:/#
Now we can transfer our root-filesystem (i recommend to do this in single user mode):
fcmaster01:~# cd /
fcmaster01:/# mount /dev/md/1 /mnt
fcmaster01:/# find . -xdev | cpio -p /mnt/
After the copy edit your NEW fstab and replace hdcx with md/x:
fcmaster01:~# cat /mnt/etc/fstab
# /etc/fstab: static file system information.
#
# >file system< >mount point< >type< >options< >dump< >pass<
/dev/md/1 / ext3 errors=remount-ro 0 1
/dev/md/5 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy auto user,noauto 0 0
/dev/cdrom /cdrom iso9660 ro,user,noauto 0 0
fcmaster01:~#
Now we are ready to reboot !