[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Grant Sewell wrote: > Rob Beard wrote: >> When I've done this myself I've booted into Knoppix or an Ubuntu Live >> CD. I have then created and formatted the partitions I want on the >> destination drives. I then mount the destination drive under sometime >> like /mnt/new and and the original partition under something like >> /mnt/old. I then copy what I need to copy over to the new drive. >> >> I would use a command line like... >> >> cp -Rv /mnt/old/* /mnt/new >> >> Which would copy all files and folders from /mnt/old to /mnt/new >> recursively (so everything under /mnt/old). >> >> I'd then make sure I updated the /etc/fstab to point to the new >> partition (adding the mount point and partition if required). >> >> Note, this is coming from memory so it might be slightly wrong. Anyone >> want to confirm if I am correct or not? >> >> Ta, >> >> Rob > > Cheers Rob. > > I was thinking that this is probably the easiest method - and to be > honest, since this is not a "production server" or anything, it really > ain't gonna make that much difference if it is taken offline for a few > minutes. Methinks I might just do this. > > Grant. > > Micht wanna use "cp -av" as opposed to "cp -Rv" as -a will keep all atributes and permissions, and recurse directories and show whats going on as it does it (although this does slow things down a bit) - -- Neil Stone Systems Administrator FlashTek UK - -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GIT d+(++) s: a-(?) C++++(--) UL++++$ P+ L+++ E- W+++ N+ o+ w--- O M PS+ Y+ PGP++ t+ 5+ X+ R+ tv+ b- DI++ D+++ G e h--- r+++ y++++(**) - -----END GEEK CODE BLOCK----- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFSTI2z3Av8JKgzxQRAjRsAKCtI+4wTMiILITahjWc1hCU2Bbb/ACeLc31 +L4H9rrpaeEc+SVv8PaFY6I= =3u14 -----END PGP SIGNATURE----- -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html