using dd to backup entire hard drive
Craig White
plug-discuss@lists.plug.phoenix.az.us
31 Jan 2003 06:50:33 -0700
Yowzah
Booted, tested, indistinguishable from other hard drive with the
exception that the 1st hard drive was a 4GB and fully partitioned
whereas the backup hd was an 8GB and it had 4GB unpartitioned.
Craig
On Fri, 2003-01-31 at 06:25, George Toft wrote:
> Did you swap out your hard drive and see if you can boot from the
> backup?
>
> George
>
>
>
> Craig White wrote:
> >
> > As a follow up, being the impatient person that I am, I just went ahead
> > and did it.
> >
> > dd if=/dev/hda of=/dev/hdd bs=512
> >
> > and it worked fine (target drive was slave on secondary controller,
> > hence /dev/hdd
> >
> > copied everything but left the extra space on the target drive
> > unpartitioned and obviously parted would have to be used to move and/or
> > resize partitions.
> >
> > Craig
> >
> > On Thu, 2003-01-30 at 17:43, Alan Dayley wrote:
> > > Craig asked the original question but I am going to jump in with my twist. I think it still fits Craigs situation.
> > >
> > > I want to upgrade a 10GB hard drive with Win98 and Linux partitions (dual boot) to a much larger drive. I would like to use dd to copy all the current drive contents to the larger drive, boot the larger drive and then place partitions, etc. on the unused space. Will that work?
> > >
> > > Alan
> > >
> > > -------Original Message-------
> > > From: technomage <technomage-hawke@cox.net>
> > > Sent: 01/30/03 03:36 PM
> > > To: plug-discuss@lists.plug.phoenix.az.us
> > > Subject: Re: using dd to backup entire hard drive
> > >
> > > >
> > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > I've done this in a way.
> > >
> > > firstly, both HD's have to be of siliar size.
> > >
> > > then you just have to do this:
> > >
> > > dd if=/dev/hdx of=/dev/hdx(2)
> > >
> > > its a direct copy. I've done it with a couple of 10 GB monsters a while
> > > ago
> > > (3 or 4 partitions). everything gets copied and the new drive even booted.
> > >
> > >
> > > Technomage
> > >
> > > ---------------------------------------------------
> > > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> > > To subscribe, unsubscribe, or to change you mail settings:
> > > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >
> > ---------------------------------------------------
> > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> > To subscribe, unsubscribe, or to change you mail settings:
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss