From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NkiKH-00048n-5C for garchives@archives.gentoo.org; Thu, 25 Feb 2010 18:20:41 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A5EE4E0F71 for ; Thu, 25 Feb 2010 18:20:40 +0000 (UTC) Received: from mail-pv0-f181.google.com (mail-pv0-f181.google.com [74.125.83.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 5D2FCE0914 for ; Thu, 25 Feb 2010 17:59:47 +0000 (UTC) Received: by pvc30 with SMTP id 30so1145565pvc.40 for ; Thu, 25 Feb 2010 09:59:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=LMeum4Dhbcmmh5bF6Al8sb5S4r6mbff6LGCNGbdCwSg=; b=qbRZZkX3aWeoX9ceTqRx0sg7dbjps2tAmc9Y9rIHdv8wM75KfRWOC4cLlKblE5aPMb WGDvi6vnVqYb2Y9kr/syyKHY8Qs5qpTKb2gqShQNswdH7kp6miCZA0ZWe0sP8g/sUuR8 6pd8IW55jYjU35Mc8P2SS8W4S6tq2JQiRDpUU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=si/Z2ntIOINvtAb3xeuDPzX2VTT6QSETLPFKheKbNhhCYD5tMQXnrzTSZI8xkXFMiw mSuN8QgClbM0I/p5378mTrGmJcIfq/pWv642e6yqvwfvDdpHDZLgJHyCbDf1TGEv7W+P 9S47kbs1bBA38Bx9D8yUdlzxg4HHUd+VFsvpc= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.142.210.21 with SMTP id i21mr746493wfg.265.1267120786612; Thu, 25 Feb 2010 09:59:46 -0800 (PST) In-Reply-To: <3ac129341002212349j4eef1229p3bc266d29ef054ca@mail.gmail.com> References: <87hbpdotge.fsf@newsguy.com> <3ac129341002212349j4eef1229p3bc266d29ef054ca@mail.gmail.com> Date: Fri, 26 Feb 2010 02:59:46 +0900 Message-ID: <3ac129341002250959h2cb79081v74826f332ebae2d1@mail.gmail.com> Subject: Re: [gentoo-user] When copying an os to new disk From: daid kahl To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 39649ac8-6ab1-41c1-8278-fe6e0d623244 X-Archives-Hash: 248a278d3cefe5d4c965e024a199928e On 22 February 2010 16:49, daid kahl wrote: > On 20 February 2010 05:34, Harry Putnam wrote: >> I'm currently rsyncing an OS (new gentoo install) from one vmware disk >> to a newly created one. > > you could dd it too, and then mount the new system and remove stuff in > /proc and /dev you don't want. > > This could avoid any problems of your rsync options. =A0Then in a chroot > reinstall grub on the partition. > > I never tried this, but to my mind it should work, and it's faster than r= sync. > > ~daid > Sorry. I should note: It *can* be faster than rsync. If they disk has a ton of white space, then it could very well be much slower. But say for a drive that is mostly at capacity, then dd should easily be a few times faster. As a side note, I tried dd piped through ssh and my router (with firewall) was resetting the connection after around 4GB, and I don't know of anyway to resume a dd. There should be ways to ping the ssh to keep the connection alive, but I never tried that. But if you really want an exact copy of a system, I think dd could be the way to go. You can always rsync at the end to confirm. ~daid