From owner-freebsd-questions@FreeBSD.ORG Mon Sep 5 13:53:29 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 83E6D1065732 for ; Mon, 5 Sep 2011 13:53:29 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 40B3D8FC16 for ; Mon, 5 Sep 2011 13:53:29 +0000 (UTC) Received: from r56.edvax.de (port-92-195-14-151.dynamic.qsc.de [92.195.14.151]) by mx01.qsc.de (Postfix) with ESMTP id 4A13A3D05D; Mon, 5 Sep 2011 15:53:28 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id p85DrRo7002103; Mon, 5 Sep 2011 15:53:27 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 5 Sep 2011 15:53:27 +0200 From: Polytropon To: "Graham Bentley" Message-Id: <20110905155327.c5265ff1.freebsd@edvax.de> In-Reply-To: <45FC473B20A540FB8BC59D14A35989D2@admin> References: <20110905120034.969251065832@hub.freebsd.org> <45FC473B20A540FB8BC59D14A35989D2@admin> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Re-create MBR X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2011 13:53:29 -0000 On Mon, 5 Sep 2011 13:26:38 +0100, Graham Bentley wrote: > Hi All, > > I had to install Linux to participate in a project I was involved with. > Now is all finished I have restored the partition but now > need a 3bsd boot sector back. Scheme is ; > > 0 Primary XP > 0 Extended FAT32 > 1 Primary FreeBSD > > Approx 1/3 disc for each. How can I restore the 3bsd > boot sector? See "man fdisk". In your case - depending on device names you are currently using - something _like this_ should do the trick: # fdisk -B /dev/ad0s2 I think you can also use the sysinstall Partition screen to update the boot sector (make no change to the slice listing, maybe mark the FreeBSD slice as "active", then exit the screen and choose either "standard MBR" or the "boot manager" depending on your requirements). As I'm not a multi-boot person, I can't be more specific, sorry. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...