Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1FOisw-0001m0-0I for mharc-grub-devel@gnu.org; Wed, 29 Mar 2006 17:11:26 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FOist-0001kZ-Q7 for grub-devel@gnu.org; Wed, 29 Mar 2006 17:11:23 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FOiss-0001j8-Bj for grub-devel@gnu.org; Wed, 29 Mar 2006 17:11:23 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FOiss-0001iv-5l for grub-devel@gnu.org; Wed, 29 Mar 2006 17:11:22 -0500 Received: from [62.94.0.34] (helo=ims2.edisontel.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FOiuu-000095-HL for grub-devel@gnu.org; Wed, 29 Mar 2006 17:13:28 -0500 Received: from ir2ip.net (62.94.225.93) by ims2.edisontel.com (6.7.019) id 3FCC577E03833860 for grub-devel@gnu.org; Thu, 30 Mar 2006 00:11:21 +0200 Received: from ir2ip.net (localhost.localdomain [127.0.0.1]) by ir2ip.net (8.13.1/8.13.1) with ESMTP id k2TMBK9b004674 for ; Thu, 30 Mar 2006 00:11:20 +0200 Received: (from root@localhost) by ir2ip.net (8.13.1/8.13.1/Submit) id k2TMBKdf004673 for grub-devel@gnu.org; Thu, 30 Mar 2006 00:11:20 +0200 From: Giampaolo Bellini To: grub-devel@gnu.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: IW2LSI Network Date: Thu, 30 Mar 2006 00:11:19 +0200 Message-Id: <1143670279.4280.8.camel@ir2ip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-7) Subject: hd cloning X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Mar 2006 22:11:24 -0000 Hello... is it possible to clone an entire HD to another one (with exactly the same space/sectors/heads etc) without reinstalling grub ? I'm doing: dd if=/dev/hda of=/dev/hdb dd if=/dev/hda of=hda.mbr bs=512 count=1 sfdisk -d /dev/hda > hda.sf to clone the HD, save the MBR and partition table, and then: dd if=hda.mbr of=/dev/hdb sfdisk /dev/hdb < hda.sf to restore the MBR and partition table on the target drive. As this seems not to work (at least on i386), do I need to backup something else ? Of course, the original HD start with a perfectly working grub. thanks in advance, Giampaolo