From owner-freebsd-questions@FreeBSD.ORG Wed Oct 20 13:55:13 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E92A10656AB for ; Wed, 20 Oct 2010 13:55:13 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id E95A88FC4B for ; Wed, 20 Oct 2010 13:55:12 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id o9KDtCZe067529; Wed, 20 Oct 2010 07:55:12 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id o9KDtC0I067526; Wed, 20 Oct 2010 07:55:12 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 20 Oct 2010 07:55:11 -0600 (MDT) From: Warren Block To: Modulok In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Wed, 20 Oct 2010 07:55:12 -0600 (MDT) Cc: FreeBSD Questions Subject: Re: dd to clone disks - new disk fails to boot. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2010 13:55:13 -0000 On Wed, 20 Oct 2010, Modulok wrote: > Problem: I copied from an old hard drive to a new one via FreeBSD's > dd. The new drive won't boot. The old drive worked fine. (The new > drive is known-to-work.) > > Background: I have a system with a 160GB disk in it. It runs windows. > It works. I have a blank 250GB disk. I want to copy the entire 160GB > disk onto the 250GB disk, shuffle the SATA cables and boot to it. > Basically, I'm just replacing the small hard drive with a larger one. > I would then extend the partition using something like gpartd. > > I booted to a live FreeBSD disk and used dd like so: > > dd if=/dev/ad4 of=/dev/ad8 bs=1m > > About an hour later it finished. No errors. I turned the machine off, > unplugged the small disk and connected the big disk into the primary > SATA header. The BIOS chokes on the new disk. It refuses to boot from > it and instead reports 'disk error'. If the BIOS is complaining, see if the new drive has a SATA 150 jumper, or some other compatibility mode.