From: Beso <givemesugarr@gmail.com>
To: gentoo-amd64@lists.gentoo.org
Subject: Re: [gentoo-amd64] Re: Cloning a system drive
Date: Mon, 8 Oct 2007 18:43:18 +0200 [thread overview]
Message-ID: <d257c3560710080943l5cf52740o4babc7c5e92ee605@mail.gmail.com> (raw)
In-Reply-To: <20071008161719.GA1398@top.worldcontrol.com>
[-- Attachment #1: Type: text/plain, Size: 1922 bytes --]
so for backuping a gentoo installation on usb disk is still better to build
a stage4 with the script. i need to make a backup working copy of my gentoo
notebook box and i have only one disk drive. that is the real problem with
using dd or clonezilla...
2007/10/8, Brian Litzinger <brian@worldcontrol.com>:
>
> On Mon, Oct 08, 2007 at 11:17:40AM +0200, Beso wrote:
> > does this work from hd to external usb disk?
>
> dd will not work between disparate media. It is even
> risky between different (capacity, manufacturer) drives.
>
> If by "this" you mean the latter stategy involving
> sfdisk/rsync/grub the sfdisk step will mostly not work
> between disparate media.
>
> > 2007/10/7, Brian Litzinger <brian@worldcontrol.com>:
> > >
> > > On Sun, Oct 07, 2007 at 12:49:11AM -0400, Peter Davoust wrote:
> > > > This may be a little noobish, and it may have been said, but can't
> you
> > > > just install the new drive, partition it identically to the original
> > > > drive and then...
> > > >
> > > > dd if=/dev/hda1 of=/dev/hdb1
> > > > dd if=/dev/hda2 of=/dev/hdb2
> > > >
> > > > so on and so forth until you've got everything copied? Or event just
> > > >
> > > > dd if=/dev/hda of=/dev/hdb
> > > >
> > > > Wouldn't that work?
> > >
> > > The latter works fine in my experience. I do it regularly.
> > >
> > > The downside, is that cloning a 750GB drive takes a while
> > > as it duplicates everything including unused sectors.
> > >
> > > Things like clonezilla just copy the "used"/active sectors.
> > >
> > > A popular way is to use sfdisk. I do not remember the exact
> > > syntax, but a pair of sfdisk commands can transfer the partition
> > > information directly between two drives.
> > >
> > > Then use rsync to move the data across.
> > >
> > > You may have to run grub setup on the new disk too.
> > >
> > > --
> > > Brian Litzinger
> --
> gentoo-amd64@gentoo.org mailing list
>
>
--
dott. ing. beso
[-- Attachment #2: Type: text/html, Size: 2633 bytes --]
next prev parent reply other threads:[~2007-10-08 16:54 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-05 20:58 [gentoo-amd64] Cloning a system drive Mark Knecht
2007-10-05 21:14 ` Dieter Ries
2007-10-05 22:46 ` Drake Donahue
2007-10-05 23:07 ` Mark Knecht
2007-10-06 1:00 ` Drake Donahue
2007-10-06 12:22 ` Dieter Ries
2007-10-06 1:53 ` [gentoo-amd64] " Duncan
2007-10-06 2:35 ` Richard Freeman
2007-10-06 2:43 ` Mark Knecht
2007-10-06 12:47 ` Duncan
2007-10-06 13:16 ` Mark Knecht
2007-10-07 3:58 ` Drake Donahue
2007-10-07 4:49 ` Peter Davoust
2007-10-07 9:33 ` Duncan
2007-10-07 18:34 ` Brian Litzinger
2007-10-08 9:17 ` Beso
2007-10-08 16:17 ` Brian Litzinger
2007-10-08 16:28 ` Mark Knecht
2007-10-08 16:43 ` Beso [this message]
2007-10-08 22:39 ` Peter Davoust
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d257c3560710080943l5cf52740o4babc7c5e92ee605@mail.gmail.com \
--to=givemesugarr@gmail.com \
--cc=gentoo-amd64@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox