Differences between revisions 8 and 9
Revision 8 as of 2005-10-27 17:27:41
Size: 697
Editor: PaoloPan
Comment:
Revision 9 as of 2008-01-19 18:25:41
Size: 627
Editor: FranklinPiat
Comment: fix link
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from Move
## Auto-converted by kwiki2moinmoin v2005-10-07
["Debian"]
#language en
Line 21: Line 19:
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 install-grub


To move Debian from a HardDisk partition to other one.

 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, using ["chroot"].

 chroot /mnt

And then modify ["Grub"] config files in order to boot from your new hdg drive. And execute install-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.

edit /etc/fstab to mount /dev/hdg5 as your new /