Differences between revisions 2 and 3
Revision 2 as of 2005-05-29 13:28:38
Size: 592
Editor: anonymous
Comment:
Revision 3 as of 2005-05-29 13:29:10
Size: 592
Editor: anonymous
Comment:
Deletions are marked like this. Additions are marked like this.
Line 20: Line 20:
And then modify ["grub"] config files in order to boot from your new hdg drive. And execute grub And then modify ["GRUB"] config files in order to boot from your new hdg drive. And execute grub

["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. And execute grub

For ["LILO"], 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.