["Debian"]


To move Debian from a HardDisk partition to other one (i.e. from hdg2 to hdg5).

 mount /dev/hdg5 /mnt; mount /dev/hdg2 /mnt/boot/ .... and so on

then..

 tar cvf - / || (cd ''mnt''; tar xvf -)

Change the ["root"] of the system.

 chroot /mnt

And then modify ["grub"] config files in order to boot from your new hdg drive [don't use grub so I can't help you]. And execute grub? [ ok I would execute lilo to save the changes in the MBR of your new /dev/hdg drive]

If you had a swap partition, be sure of having one now in your new drive.