You could also instead of using tar, which will create a large backup file, just use cp -Rdp /old /new
Cheers, Jason. > From: Viktor Rosenfeld <[EMAIL PROTECTED]> > Date: Mon, 12 Jun 2000 15:10:09 +0200 > To: Kevin Cobb <[EMAIL PROTECTED]> > Cc: debian-user@lists.debian.org > Subject: Re: HDA is crashing..How can I duplicate it? > Resent-From: debian-user@lists.debian.org > Resent-Date: 12 Jun 2000 13:10:59 -0000 > >> Kevin Cobb wrote: > >> Can anyone tell me how I can place another hard drive into the Linux >> 2.1 box, copy everything from drive 1 to drive 2 and then come up on >> drive 2? > > How about booting from a rescue disk with its own filesystem, mounting > the old drive under /old, the new one under /new and then issuing as > root: > % cd /old > % tar cvf /new/backup.tar * > % cd /new > % tar xvf backup.tar > > IIRC that should preserve file ownerships, file permissions, and > symlinks ... but than again, I've never done it myself. > > MfG Viktor > -- > Viktor Rosenfeld > E-Mail: mailto:[EMAIL PROTECTED] > or: mailto:[EMAIL PROTECTED] > HertzSCHLAG: http://www.informatik.hu-berlin.de/~rosenfel/hs/ > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < > /dev/null > >