Hi Eric,

> ill need to move the mbr to hdc from hda. is this going to be not so
> much
> of an easy thing, or am i looking at mass difficulties and a possibility
> of
> loosing everything?

 Unless this drive hdc is logically identical to hda you do not want to copy 
the mbr to the new drive. If you do wish to make an exact copy from drive to 
drive you could just use
dd if=/dev/hda of=/dev/hdc
and that would cover the MBR as well.
 But this is probably not what you want to do. The MBR also contains the 
partition table, so if these drives differ in size or partitioning the best to 
do is to mount the partitions on /dev/hdc and copy the data from /dev/hda* to 
the appropriate /dev/hdc* (with cp -a -x * /dev/hdc*). If the order of the 
mount points is different in the new situation you need to edit /etc/fstab and 
lilo.conf (on hdc) to reflect the new situation. If you want to switch disks 
you have to remember that what is now /dev/hdc* will be /dev/hda* in the new 
situation (so possibly your fstab and lilo.conf are still allright).
 After copying all data you create a bootdisk (man mkbootdisk). Then switch 
the disks, boot from the bootfloppy and run lilo.
 That's it. Of course you can also run your system from /dev/hdc*. Edit fstab 
and lilo.conf appropriatly. Or maybe you can read it in the sunday paper ;-).

                                        Bye,

                                        Leonard.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to