From owner-freebsd-questions@FreeBSD.ORG Wed Aug 31 22:06:46 2011 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 70FF3106566B for ; Wed, 31 Aug 2011 22:06:46 +0000 (UTC) (envelope-from bsd@todoo.biz) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) by mx1.freebsd.org (Postfix) with ESMTP id 310A08FC0A for ; Wed, 31 Aug 2011 22:06:45 +0000 (UTC) Received: from newmail.rmm.fr (localhost [127.0.0.1]) by newmail.rmm.fr (Postfix) with ESMTP id 4C54378C28 for ; Wed, 31 Aug 2011 23:47:23 +0200 (CEST) X-Virus-Scanned: amavisd-new 2.6.6 (20110518) at rmm.fr Received: from newmail.rmm.fr ([127.0.0.1]) by newmail.rmm.fr (newmail.rmm.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id f-wkjRSuYtYu for ; Wed, 31 Aug 2011 23:47:23 +0200 (CEST) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: hidden) by newmail.rmm.fr (Postfix) with ESMTPSA id 0EAEE78C19 for ; Wed, 31 Aug 2011 23:47:23 +0200 (CEST) From: bsd Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Date: Wed, 31 Aug 2011 23:47:22 +0200 Message-Id: To: Liste FreeBSD Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) Subject: Resetting bootloader on a CF 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, 31 Aug 2011 22:06:46 -0000 Hi,=20 I am trying to reset the bootloader of a pfSense nanoBSD CF card.=20 I need the boot loader to be reset because=20 > The embedded image set the bootloader to use a serial console. That = isn't necessary with the box I am trying to use (the BIOS does console = redirection to the serial port for you) and causes the boot to hang. Part of the solution seems to be :=20 1. Mount the CF on a FBSD=20 2. Initialize the bootloader with :=20 # fdisk -B /dev/ 3. This is where I need you help=85=20 How can I re-install a boot loader ?=20 Should I use the command :=20 # fdisk -B -b /boot/boot0 device Any other suggestion, guidance will be welcome.=20 Thanks for your support.=20 P.S. I'll check your answer in 10+ hours as I am already tired and It is = 11.45 pm in Paris where I leave. ;-) - thanks for your understanding.=20 =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96= =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96 ---------> Gr=E9gory Bernard Director <--------- ---------------> www.osnet.eu <--------------- --> Your provider of OpenSource appliances <-- =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96= =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96 OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO