Re: A way to transfer drives?

2002-11-05 Thread Paul Furness
My apologies, you are correct. I think my brain stepped out for a moment... :) To be exact: if you tar using a directory name, it works fine, but if you use a wild card it doesn't see dot files (because that's how wildcard expansion works). thus: cd $HOME tar -cvf /archive/homedir.tar * will no

Re: A way to transfer drives?

2002-11-04 Thread lawson_whitney
On 4 Nov 2002, Paul Furness wrote: > There is only one snag with tartar: it doesn't pick up 'dot' files in > the starting directory. If you mean files of the form .name, I can't see that it doesn't. ls won't show them without -a though. Lawson ---oops--- _

Re: A way to transfer drives?

2002-11-04 Thread Paul Furness
There is only one snag with tartar: it doesn't pick up 'dot' files in the starting directory. On Sun, 2002-11-03 at 00:57, [EMAIL PROTECTED] wrote: > On Sat, 2 Nov 2002, Michael Scondo wrote: > > > > #!/bin/bash > > > ##copy a directory or partition > > > tar -C "$1" -cOl . | tar -C "$2" -xpf -

Re: A way to transfer drives?

2002-11-03 Thread lawson_whitney
On Sat, 2 Nov 2002, Michael Scondo wrote: > > #!/bin/bash > > ##copy a directory or partition > > tar -C "$1" -cOl . | tar -C "$2" -xpf - > > > > That's an idea, but I believe parted should be much faster. > I think compressing and decompressing would be a little bit slow ? > It's not compressing

Re: A way to transfer drives?

2002-11-03 Thread Dragos LUNGU
Paul Furness wrote: This does, however, have the disadvantage that your existing partitions are copied but not resized. Eventually, you end up with lots of little partitions (after a couple of hard disk upgrades...) you are absolutely right. I allready lost the old 256 MB swap partition. (un

Re: A way to transfer drives?

2002-11-02 Thread Michael Scondo
Am Freitag, 1. November 2002 01:30 schrieb [EMAIL PROTECTED]: > On Thu, 31 Oct 2002, 1stFlight wrote: > > I'm looking for a way to upgrade my HD and maintain file/directory > > structure. I've got a 20GB with partitions for / /home /usr how can I > > copy/clone this drive over to it's 60B replace

Re: A way to transfer drives?

2002-11-01 Thread Paul Furness
This does, however, have the disadvantage that your existing partitions are copied but not resized. Eventually, you end up with lots of little partitions (after a couple of hard disk upgrades...) P. On Thu, 2002-10-31 at 16:59, Dragos LUNGU wrote: > > > 1stFlight wrote: > > I'm looking for a

Re: A way to transfer drives?

2002-10-31 Thread lawson_whitney
On Thu, 31 Oct 2002, 1stFlight wrote: > I'm looking for a way to upgrade my HD and maintain file/directory structure. > I've got a 20GB with partitions for / /home /usr how can I copy/clone this > drive over to it's 60B replacement? Thanks! > > Darryl I wouldn't copy/clone it, I'd

Re: A way to transfer drives?

2002-10-31 Thread Dragos LUNGU
1stFlight wrote: I'm looking for a way to upgrade my HD and maintain file/directory structure. I've got a 20GB with partitions for / /home /usr how can I copy/clone this drive over to it's 60B replacement? Thanks! Hi just finished this operation last night . setup : boot from /dev/hda /d

Re: A way to transfer drives?

2002-10-31 Thread Paul Furness
Excuse the confusion, I wasn't thinking straight. In my examples below, the < and > are not intended to be used in the command - I just meant to highlight the source / destination descriptions. On Thu, 2002-10-31 at 14:52, Paul Furness wrote: > Connect the new drive in place as the secondary. >

Re: A way to transfer drives?

2002-10-31 Thread Paul Furness
Connect the new drive in place as the secondary. Boot as normal. Use fdisk as appropriate on the new drive to set up your partitions as you want them. Create file systems on the partitions you have created using whatever file system you are using (eg Ext3). This does not have to be the same as th

A way to transfer drives?

2002-10-31 Thread 1stFlight
I'm looking for a way to upgrade my HD and maintain file/directory structure. I've got a 20GB with partitions for / /home /usr how can I copy/clone this drive over to it's 60B replacement? Thanks!