From owner-freebsd-questions@FreeBSD.ORG Mon Aug 1 22:28:16 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 5BAC916A41F for ; Mon, 1 Aug 2005 22:28:16 +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 121AC43D45 for ; Mon, 1 Aug 2005 22:28:16 +0000 (GMT) (envelope-from garys@opusnet.com) Received: from localhost.localhost [70.98.246.232] by opusnet.com with ESMTP (SMTPD32-8.05) id A1FC75390036; Mon, 01 Aug 2005 15:28:12 -0700 Received: from localhost.localhost (localhost.localhost [127.0.0.1]) by localhost.localhost (8.13.3/8.13.3) with ESMTP id j71MTc20002717; Mon, 1 Aug 2005 15:29:38 -0700 (PDT) (envelope-from garys@opusnet.com) Received: (from jojo@localhost) by localhost.localhost (8.13.3/8.13.3/Submit) id j71MTX8t002716; Mon, 1 Aug 2005 15:29:33 -0700 (PDT) (envelope-from garys@opusnet.com) To: "Alexandre D." References: From: garys@opusnet.com (Gary W. Swearingen) Date: Mon, 01 Aug 2005 15:29:33 -0700 In-Reply-To: (Alexandre D.'s message of "Mon, 1 Aug 2005 22:26:46 +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 22:28:16 -0000 "Alexandre D." writes: > I made several tests. the exact problem is to install the freebsd boot > manager. But your "fdisk -B -b /boot/boot0" should have done that. I'm not sure if it has defaults that would work for you though. boot0cfg tells you what defaults it will use and lets you change them. > If I use any command line utility to restore the boot manager, it doesnt > work. Does "any" include "boot0cfg"? > If I use /stand/sysinstall, choose fdisk and "Install the FreeBSD boot > Manager", it works > > What is the exact command line for this? Depends upon what you want. Read boot0cfg manpage; it's short. I used this once: boot0cfg -Bv -o packet,noupdate -s 3 -t 9999 ad0