hi robin,
here's what i can think of off the top of my head.
0. make backup copies of any files before you edit them.
1. edit /boot/grub/menu.lst
change references to "hd(0,0)" to "hd(2,0)"
change the "root=/dev/hda#" kernel parameter to point to the root partitions new location, probably just need to change the "hda" part to "hdc" and leave the number that follows as-it-is.
here's an example from my own system:
(my root is on /dev/hda2 but you'll have to sub with whatever you use. i'd also change any other kernel paramters that point to anything on /dev/hda. again, probably just need to change anythiing that says "hda" to "hdc".)
Code:
kernel (hd0,0)/vmlinuz root=/dev/hda2
initrd (hd0,0)/initrd
would become
Code:
kernel (hd2,0)/vmlinuz root=/dev/hdc2
initrd (hd2,0)/initrd
2. edit /etc/fstab
this file shows which partitions are to be mounted for which parts of the filesystem.
same as in #1 above, change references to "hda" to "hdc" and leave the numbers that follow and anything else on the line alone.
here's an example from my own system:
Code:
/dev/hda2 / ext3 acl,user_xattr 1 1
/dev/hda1 /boot ext3 acl,user_xattr 1 2
/dev/hda5 swap swap pri=42 0 0
would become
Code:
/dev/hdc2 / ext3 acl,user_xattr 1 1
/dev/hdc1 /boot ext3 acl,user_xattr 1 2
/dev/hdc5 swap swap pri=42 0 0
i think that'll do it, please let me know how it goes.