Re: How to migrate a Debian system to another hard drive?

1996-09-07 Thread Hamish Moffatt
Watch out so you don't run into an infinite loop: Suppose that you mount the target disk on /mnt, then cd / tar cf - . | (cd /mnt; tar xvlpf -) would copy some things to /mnt then copy /mnt/* to /mnt/mnt/ and so on. It doesn't. I've been using this a lot lately while reorganising file

Re: How to migrate a Debian system to another hard drive?

1996-09-05 Thread Marty Leisner
Nono no no... please don't rely on such features of GNU software. This will NOT work with a generic cp on other systems. Please use either a piped tar or a cpio,afio or whatever else. The cp method mentioned above is definitely not the way to solve such general unix administration tasks.

Re: How to migrate a Debian system to another hard drive?

1996-09-05 Thread Mark Eichin
and note that unlike tar, cp -a will actually *handle* pathnames over 100 characters (of course, dpkg won't have installed any, but they may be around for other reasons...) I used the tar approach for years, but cp -a turns out to be much more reliable (and I can fall back to tar if I have to --

Re: How to migrate a Debian system to another hard drive?

1996-09-05 Thread Bruce Perens
From: Mark Eichin [EMAIL PROTECTED] and note that unlike tar, cp -a will actually *handle* pathnames over 100 characters Well, we've beaten this dead horse for long enough. I think GNU tar will handle over-100-character filenames. There is an extension to the tar format to handle them.

Re: How to migrate a Debian system to another hard drive?

1996-09-05 Thread Lars Wirzenius
Mark Eichin: and note that unlike tar, cp -a will actually *handle* pathnames over 100 characters GNU tar does that as well. -- Please read http://www.iki.fi/liw/mail-to-lasu.html before mailing me. Please don't Cc: me when replying to my message on a mailing list. pgp3uzEpYi8ov.pgp

Re: How to migrate a Debian system to another hard drive?

1996-09-04 Thread David C. Winters
On Tue, 3 Sep 1996, Tim Egbert wrote: On our Debian system, we have two hard drives. The primary drive has the root directory and swap partition and is bootable. It also contains the various Debian software packages, programs, libraries, etc. The second drive just has the /home directory

Re: How to migrate a Debian system to another hard drive?

1996-09-04 Thread Joey Hess
Is there a simple way to migrate a Debian system to another hard drive? On our Debian system, we have two hard drives. The primary drive has the root directory and swap partition and is bootable. It also contains the various Debian software packages, programs, libraries, etc. The second

RE: How to migrate a Debian system to another hard drive?

1996-09-04 Thread wb2oyc
On 11:20:51 Tim Egbert wrote: Is there a simple way to migrate a Debian system to another hard drive? On our Debian system, we have two hard drives. The primary drive has the root directory and swap partition and is bootable. It also contains the various Debian software packages, programs,

RE: How to migrate a Debian system to another hard drive?

1996-09-04 Thread Bruce Perens
When replicating a system between two partitions, the thing most often missed is that you must preserve symbolic links instead of copying them as files. It's also important to preserve the ownership and permissions of files, and obscure things like the setuid bits, character and block special

RE: How to migrate a Debian system to another hard drive?

1996-09-04 Thread borik the Boris Yati Beletsky
On Tue, 3 Sep 1996, Bruce Perens wrote: |When replicating a system between two partitions, the thing most often |missed is that you must preserve symbolic links instead of copying them |as files. It's also important to preserve the ownership and permissions |of files, and obscure things like the

RE: How to migrate a Debian system to another hard drive?

1996-09-04 Thread Guy Maor
On Wed, 4 Sep 1996, borik the Boris Yati Beletsky wrote: u can also do it with `cp` - i did that (even moved my /dev) cp -a is the easiest way to duplicate something. -a, --archive Preserve as much as possible of the structure and attributes of the

RE: How to migrate a Debian system to another hard drive?

1996-09-04 Thread Steffen Mueller
On Wed, 4 Sep 1996, Guy Maor wrote: Hello Guy, u can also do it with `cp` - i did that (even moved my /dev) cp -a is the easiest way to duplicate something. -a, --archive Preserve as much as possible of the structure and attributes of the original

Re: How to migrate a Debian system to another hard drive?

1996-09-04 Thread Martin Str|mberg
Bruce Perens wrote: [Klippa, klapp, kluppit] cd /old_partition tar cf - . | (cd /new_partition; tar xvlpf -) Watch out so you don't run into an infinite loop: Suppose that you mount the target disk on /mnt, then cd / tar cf - . | (cd /mnt; tar xvlpf -) would copy some things

Re: how to migrate a Debian system to another hard drive?

1996-09-04 Thread Casper BodenCummins
I'm surprised this important question has run for so long. Is it in a Linux FAQ? Anyhow, here's my contribution ( hopefully this'll wrap it up ;- ): cd /; find . -path ./mnt -prune -o print | cpio -pdxm /mnt This copies the whole disk to the mount point /mnt, avoiding the recursive traversal

RE: How to migrate a Debian system to another hard drive?

1996-09-04 Thread borik the Boris Yati Beletsky
On Wed, 4 Sep 1996, Steffen Mueller wrote: |Date: Wed, 4 Sep 1996 11:35:25 +0200 (MET DST) |From: Steffen Mueller [EMAIL PROTECTED] |To: Guy Maor [EMAIL PROTECTED] |Cc: Debian User List debian-user@lists.debian.org |Subject: RE: How to migrate a Debian system to another hard drive? | |On Wed, 4

RE: How to migrate a Debian system to another hard drive?

1996-09-04 Thread Steffen Mueller
On Wed, 4 Sep 1996, borik the Boris Yati Beletsky wrote: Hello Boris, i am telling ya - i moved all my root dir exept /usr from one part to another... it worked i didn't do it with cp -a there are alot more options that i used , i just don't remmeber them now , if u realy want - i can do

RE: How to migrate a Debian system to another hard drive?

1996-09-04 Thread borik the Boris Yati Beletsky
On Wed, 4 Sep 1996, Steffen Mueller wrote: |Date: Wed, 4 Sep 1996 14:36:44 +0200 (MET DST) |From: Steffen Mueller [EMAIL PROTECTED] |To: borik the Boris Yati Beletsky [EMAIL PROTECTED] |Cc: Guy Maor [EMAIL PROTECTED], |Debian User List debian-user@lists.debian.org |Subject: RE: How to migrate

RE: How to migrate a Debian system to another hard drive?

1996-09-04 Thread borik the Boris Yati Beletsky
On Wed, 4 Sep 1996, borik the Boris Yati Beletsky wrote: |Date: Wed, 4 Sep 1996 15:50:58 +0300 (IDT) |From: borik the Boris Yati Beletsky [EMAIL PROTECTED] |To: Steffen Mueller [EMAIL PROTECTED] |Cc: Guy Maor [EMAIL PROTECTED], |Debian User List debian-user@lists.debian.org |Subject: RE: How

Re: How to migrate a Debian system to another hard drive?

1996-09-03 Thread Ken Gaugler
At 07:20 AM 9/3/96 -0600, you wrote: Is there a simple way to migrate a Debian system to another hard drive? On our Debian system, we have two hard drives. The primary drive has the root directory and swap partition and is bootable. It also contains the various Debian software packages,