On Friday 04 July 2003 11:45 am, Chris Bare wrote:
> I have a gentoo install running fine on a 30GB drive. I just got a 60GB
> drive that I would like to switch to.
> I know how to add the 60GB as a second drive, but what I really want is
> the current install from the 30GB installed on the 60GB.
> I know I could dd the old partitions, but I'd like to change the size of
> the partitions. I was wondering if I can copy the old files to a new
> partition and have everything work. the /dev files are the main thing
> I'd be concerned about. And also the best command to do the copy and
> preserve all the right permissions etc.
> Thanks for any suggestions.

`rsync -rlopg --progress --exclude=/dev --exclude=/mnt/newdrve / 
/mnt/newdrive` would be how I would do it.  That command will preserve 
permissions.

-- 
Zack Gilburd
 http://tehunlose.com
  GnuPG Key ID: A79A45668240AB6C

Attachment: pgp00000.pgp
Description: signature

Reply via email to