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 1Pk2u8-0000rX-HE for garchives@archives.gentoo.org; Mon, 31 Jan 2011 23:11:28 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 982C91C05F for ; Mon, 31 Jan 2011 23:11:27 +0000 (UTC) Received: from one.tisys.org (unknown [184.82.68.117]) by pigeon.gentoo.org (Postfix) with ESMTP id 9DB431C03C for ; Mon, 31 Jan 2011 22:36:48 +0000 (UTC) Received: from x7bj.fritz.box (dslc-082-082-077-147.pools.arcor-ip.net [82.82.77.147]) (authenticated bits=128) by one.tisys.org (8.14.4/8.14.4) with ESMTP id p0VNaiK0009911 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 1 Feb 2011 00:36:47 +0100 Date: Mon, 31 Jan 2011 23:37:26 +0100 From: Nils Holland To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] dd'ing small drive to large one Message-ID: <20110131223726.GA17581@x7bj.fritz.box> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <201101311834.24854.wonko@wonkology.org> <201101311936.33827.wonko@wonkology.org> <4D472323.6050007@wonkology.org> <4D472770.1050307@wonkology.org> 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D472770.1050307@wonkology.org> Organization: Ti Systems, Wunstorf-Luthe, Germany X-Operating-System: Linux x7bj 2.6.36-gentoo-r5 User-Agent: Mutt/1.5.20 (2009-06-14) X-Archives-Salt: X-Archives-Hash: f0dfb6d0606b2ad98262d7f2458734ab On 22:19 Mon 31 Jan , Alex Schuster wrote: > I just wrote: > > > My only fear is that the different drive geometry will be a problem, so > > Grub does not find its stage2 in /boot, or file systems will unreadable > > due to things being specified as head, cylinder and sector, instead of > > absolute blocks. I'm pretty confident that there should be no problem, > > but if I am wrong, I will be in trouble. > > 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 Yep, I would be very surprised if what you're planning to do would result in problems, as I've done several such operations in the past without any issues. I've never had much to do with LVM, but the last time I was doing this sort of thing I dd'd source drive to target drive, resized /home (the last partition I always create) to fill the new, larger disk, and that was that, the machine instantly booted fine. Not exactly the same thing you are doing (especially as LVM is involved in your setup), but I can see no major difference between these two cases that looks like trouble. Greetings, Nils -- Nils Holland * Ti Systems, Wunsorf-Luthe (Germany) Powered by GNU/Linux since 1998