On Friday 04 July 2003 04:14 pm, Chris Bare wrote:
> > `rsync -rlopg --progress --exclude=3D/dev --exclude=3D/mnt/newdrve /=20
> > /mnt/newdrive` would be how I would do it.  That command will preserve=20
> > permissions.
>
> Thanks for the suggestion. Someone else suggested I boot from the
> install CD, so I combined your suggestions and was pleasantly surprised
> at the ease with which this worked.
>
> I booted from the CD, partitioned and mounted the new drive as I wanted,
> mounted the old drive, then did:
>
> rsync -a --progress /old/ /new
>
> Then I switched cables so the old drive was now hda, booted from the CD
> and ran grub on hd0. It booted right up from the new drive after that.
>
> The thing I like about gentoo is I really feel like I understand what is
> going on, so I'm able to do things like this which I would never dream
> of with Red Hat or Mandrake.

Heh.... You're lucky, just -a won't preserve file permissions. :P

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

Attachment: pgp00000.pgp
Description: signature

Reply via email to