From owner-freebsd-questions@FreeBSD.ORG Tue Jan 27 08:09:17 2004 Return-Path: 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 96C1516A4CE for ; Tue, 27 Jan 2004 08:09:17 -0800 (PST) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D91043D67 for ; Tue, 27 Jan 2004 08:08:44 -0800 (PST) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.12.10/8.12.10) with ESMTP id i0RGAZIn064771 for ; Tue, 27 Jan 2004 17:10:35 +0100 (CET) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.12.10/8.12.10/Submit) id i0RGAZ7u064770 for freebsd-questions@FreeBSD.ORG; Tue, 27 Jan 2004 17:10:35 +0100 (CET) (envelope-from mail25@bzerk.org) X-Authentication-Warning: ei.bzerk.org: bulk set sender to mail25@bzerk.org using -f Date: Tue, 27 Jan 2004 17:10:35 +0100 From: Ruben de Groot To: freebsd-questions@FreeBSD.ORG Message-ID: <20040127161035.GA64706@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , freebsd-questions@FreeBSD.ORG References: <20040127154902.GB63647@snickers.dahoam> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040127154902.GB63647@snickers.dahoam> User-Agent: Mutt/1.4.1i Subject: Re: MBR X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 16:09:17 -0000 On Tue, Jan 27, 2004 at 04:49:02PM +0100, Namik Dala typed: > On Tue, Jan 27, 2004 at 09:10:51AM -0600, Brian H wrote: > > Currently I have the BSD boot loader running in my MBR, but since I only > > have BSD on my system I would like to replace it with the standard MBR. Is > > there a way with unix to safely reset the MBR? > > This > > dev=/dev/ad0 # change this > dd if=$dev of=/boot/mbr.backup bs=512 count=1 > dd if=/boot/mbr of=$dev bs=512 count=1 Don't do this. It'll overwrite your partition table. Use: fdisk -B [-b /boot/mbr] /dev/ad0 instead. Ruben > should to the trick. > > -Namik- > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"