public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alex Schuster <wonko@wonkology.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] dd'ing small drive to large one
Date: Wed, 2 Feb 2011 14:41:22 +0100	[thread overview]
Message-ID: <201102021441.24064.wonko@wonkology.org> (raw)
In-Reply-To: <1296514662.10996.44.camel@orpheus>

Iain Buchanan writes:

> On Mon, 2011-01-31 at 22:19 +0100, Alex Schuster wrote:
> > Now I'm really really sure there will be no problem. What I wrote above
> > about the gemotry is true I think, but all modern drives seem to have
> > 255 heads and 63 sectors per track, so they will be compatible.
> > 
> > 	Wonko
> 
> The only problem I see with dd is that it won't do any error checking,
> afaik.  Will you have the old drive in as #2 later to double check?

No, there's no space in this damn Dell desktop PC. If there were, we would 
just install the 2nd drive, and I would copy all stuff from remote. And then 
change grub so it boots from the 2nd drive. This would be a little 
unelegant, as I would copy the root partition while in use, but there should 
not be too much data that would change while I do this - probably not any 
data at all. For the /var partition, this would be different, but in 
practice this would probably work well either. Still, I would use the LVM 
snapshot feature for this.

But I never head a problem with dd. Do you mean read errors due to bad 
blocks? Then I should at least find something about this in the syslog. I 
could use dd-rescue though.
Or is it about other, undetected errors? Isn't there some CRC checksum by 
which ensure that would be detected? Or does dd not care about this?

> The other option is clonezilla.  It will be a bit more work for you, but
> you can script it to clone the partitions / drives / copy boot loaders
> and so on.  Then the remote assistant can just boot it (from usb key
> even) and press go!

Clonezilla sure looks interesting. I even has LVM support, so this probably 
could be done. Still, using only dd seems simpler to me, and more foolproof. 
But I'll check it out anyway. Thanks for the pointer.

	Wonko



      reply	other threads:[~2011-02-02 14:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-31 17:34 [gentoo-user] dd'ing small drive to large one Alex Schuster
2011-01-31 18:19 ` Allan Gottlieb
2011-01-31 18:36   ` Alex Schuster
2011-01-31 19:16     ` Allan Gottlieb
2011-01-31 20:34       ` Alan McKinnon
     [not found]       ` <4D472323.6050007@wonkology.org>
2011-01-31 21:19         ` Alex Schuster
2011-01-31 22:37           ` Nils Holland
2011-01-31 22:39           ` Mick
2011-02-01  0:34             ` Alex Schuster
2011-02-01  8:42               ` Neil Bothwick
2011-01-31 22:57           ` Iain Buchanan
2011-02-02 13:41             ` Alex Schuster [this message]

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=201102021441.24064.wonko@wonkology.org \
    --to=wonko@wonkology.org \
    --cc=gentoo-user@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