Let me start by saying I have no idea what this code is about so if someone else can help him...
I just wanted to help you with a couple of other things.
First of all, It would be easier if you talked in terms of disks and partitions rather than drive C,D,E,.. This will help us get a better view of how your system is setup. You could have 'extended' your redhat installation by just formating your 'F' drive or leaving it in fat32 and just mount it (man mount).
I wouldn't install several distros on one box. If you are learning, start with one easy distro like ubuntu/kubuntu and get the basics under your belt.
I hope this helps a bit even thouh it does not answer your question.