From owner-freebsd-questions@FreeBSD.ORG Thu Jun 23 19:55:55 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 A721D16A41C for ; Thu, 23 Jun 2005 19:55:55 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id F259643D55 for ; Thu, 23 Jun 2005 19:55:54 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a090.otenet.gr [212.205.215.90]) by rosebud.otenet.gr (8.13.4/8.13.4/Debian-1) with ESMTP id j5NJtnSn010249; Thu, 23 Jun 2005 22:55:50 +0300 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.4/8.13.4) with ESMTP id j5NJteFA001394; Thu, 23 Jun 2005 22:55:40 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.13.4/8.13.4/Submit) id j5NJtdaB001393; Thu, 23 Jun 2005 22:55:39 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 23 Jun 2005 22:55:39 +0300 From: Giorgos Keramidas To: Emanuel Strobl Message-ID: <20050623195539.GD1145@gothmog.gr> References: <20050623172543.41934.qmail@web31806.mail.mud.yahoo.com> <200506231931.28860@harrymail> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200506231931.28860@harrymail> Cc: Paulo Roberto , freebsd-questions@freebsd.org Subject: Re: removing freebsd bootloader 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: Thu, 23 Jun 2005 19:55:55 -0000 On 2005-06-23 19:31, Emanuel Strobl wrote: > Am Donnerstag, 23. Juni 2005 19:25 schrieb Paulo Roberto: > > Hello, > > How do I remove the FreeBSD bootloader from the MBR without touching > > the slices? > > Without warranty, but fdisk -B should do the trick. I think it keeps the > partition table and replaces the boot code of the MBR. Make sure the XP > slice is marked active, and copy the fdisk output so you can restore it if > anything goes wrong. Correct. You might want to use: # fdisk -B -b /boot/mbr to make sure BootEasy is not installed instead of a plain MBR. Summing it all up in "steps", something like the following would be fine: 1. Make sure the correct partition is 'active'. # fdisk -u /dev/ad0 2. Install plain "MBR" boot code: # fdisk -B -b /boot/mbr 3. Reboot