From owner-freebsd-questions@FreeBSD.ORG Mon Aug 1 15:20:10 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 6D6AE16A41F for ; Mon, 1 Aug 2005 15:20:10 +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 1D9D243D45 for ; Mon, 1 Aug 2005 15:20:10 +0000 (GMT) (envelope-from garys@opusnet.com) Received: from localhost.localhost [70.98.246.232] by opusnet.com with ESMTP (SMTPD32-8.05) id AD9C54EB0128; Mon, 01 Aug 2005 08:19:56 -0700 Received: from localhost.localhost (localhost.localhost [127.0.0.1]) by localhost.localhost (8.13.3/8.13.3) with ESMTP id j71FLLWO096297; Mon, 1 Aug 2005 08:21:21 -0700 (PDT) (envelope-from garys@opusnet.com) Received: (from jojo@localhost) by localhost.localhost (8.13.3/8.13.3/Submit) id j71FLFBO096296; Mon, 1 Aug 2005 08:21:15 -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 08:21:15 -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: Giorgos Keramidas , 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 15:20:10 -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 > ... > > the disk doesn't boot. So "fdisk -B ad3" shouldn't work if you don't have a valid partition table which also has the correct fdisk partition marked "active" (or "bootable", which I'm fairly sure is the same thing, despite what the fdisk manual implies). But is seem that "fdisk -I ad3" should work if you have a "s1" correctly configured and populated. But after using it, I'd run "fdisk ad3" and verify that your "s1" is marked "(active)". It sound like /boot/mbr behaves like an IBM/MSFT MBR, while /boot/boot0 is the standard FreeBSD MBR configured by "boot0cfg".