Subject: Re: Copy whole disk to another drive
To: stephane matis <s.matis@gmail.com>
From: Andy Ruhl <acruhl@gmail.com>
List: port-cobalt
Date: 04/05/2005 18:29:10
On Apr 5, 2005 7:19 AM, stephane matis <s.matis@gmail.com> wrote:
> On Apr 5, 2005 9:10 AM, Carsten Pache <newsabo@gmx.info> wrote:
> > Hi folks,
> >
> > I want to replace the (boot) hard drive in my Qube by a more quiet
> > (and also bigger) one. What is the fastest way to copy the old drive
> > to the new one? I am thinking of "dd", but can I use it if the new
> > drive is bigger than the old one? Do I lose the remaining space of the
> > new drive?
> 
> It all comes down to cylinder mapping.  If the original drive is 8GB
> IDE or bigger, you can easilly copyt up to 128GB.
> 
> Since I used to this regurally, you can dd over the drive and once you
> reboot with the new drive, you can then create another slice to take
> advantage of the additional space.
> 
> The advantage of using say NetBSD on i386 booted of the CD is that you
> can mount both devices, configure you new drive to your hearts-content
> and then copy over filesystem level.
> 
> But dd works and its fast.

I'd prefer to set up the new disk in some advantageous manner, then do
this as possible:

dump | restore
star cf | star xf

If you decide to make more filesystems, then you can't do dump |
restore. If you make 1 root partition, then dump | restore will work
fine.

Andy