From owner-freebsd-questions@FreeBSD.ORG Mon Aug 1 14:57:41 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA2EE16A41F for ; Mon, 1 Aug 2005 14:57:41 +0000 (GMT) (envelope-from garys@opusnet.com) Received: from opusnet.com (mail.opusnet.com [209.210.200.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78D3343D46 for ; Mon, 1 Aug 2005 14:57:41 +0000 (GMT) (envelope-from garys@opusnet.com) Received: from localhost.localhost [70.98.246.232] by opusnet.com with ESMTP (SMTPD32-8.05) id A861804B0150; Mon, 01 Aug 2005 07:57:37 -0700 Received: from localhost.localhost (localhost.localhost [127.0.0.1]) by localhost.localhost (8.13.3/8.13.3) with ESMTP id j71Ex1Eo095973; Mon, 1 Aug 2005 07:59:01 -0700 (PDT) (envelope-from garys@opusnet.com) Received: (from jojo@localhost) by localhost.localhost (8.13.3/8.13.3/Submit) id j71EwumP095972; Mon, 1 Aug 2005 07:58:56 -0700 (PDT) (envelope-from garys@opusnet.com) To: alexandre.delay@free.fr References: <1122880808.42edcd280f5fd@imp6-q.free.fr> <20050801094151.GA16934@beatrix.daedalusnetworks.priv> <1122889913.42edf0b9cc43e@imp6-q.free.fr> From: garys@opusnet.com (Gary W. Swearingen) Date: Mon, 01 Aug 2005 07:58:56 -0700 In-Reply-To: <1122889913.42edf0b9cc43e@imp6-q.free.fr> (alexandre delay's message of "Mon, 01 Aug 2005 11:51:53 +0200") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Migrate primary disk (duplicate) 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: Mon, 01 Aug 2005 14:57:42 -0000 alexandre.delay@free.fr writes: > I tried every combination: > fdisk -I ad3 && fdisk -B -b /boot/mbr ad3 > fdisk -I ad3 && fdisk -B -b /boot/boot0 ad3 > fdisk -B -b /boot/mbr -I ad3 Assuming that you've got the rest of the file systems configured and populated properly, as I think you said, and you really only need to get the MBR right... I'd try using "boot0cfg", which has always worked for me. BTW, you don't need "-b /boot/mbr" because that's the default. Just based on my manpage reading: It sounds like "-I" and "-B" do quite different things and using them together is problematical. With -I, it sets up the partition table to support only "ad3s1". With -B, it probably doesn't touch the partition table, and only changes the boot code in the first 446 bytes.