From owner-freebsd-questions@FreeBSD.ORG Sat Feb 11 02:41:15 2006 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 D0FF116A420 for ; Sat, 11 Feb 2006 02:41:15 +0000 (GMT) (envelope-from wbs@infowest.com) Received: from guadix.infowest.com (guadix.out.smtp.infowest.com [204.17.177.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A3D143D46 for ; Sat, 11 Feb 2006 02:41:15 +0000 (GMT) (envelope-from wbs@infowest.com) Received: from alora.infowest.com (alora.client.smtp.infowest.com [204.17.177.61]) by guadix.infowest.com (Postfix) with ESMTP id 39184165E66; Fri, 10 Feb 2006 19:41:15 -0700 (MST) Received: from [192.168.0.2] (209-33-199-253-dsl.infowest.net [209.33.199.253]) by alora.infowest.com (Postfix) with ESMTP id 07C731E301F; Fri, 10 Feb 2006 19:41:14 -0700 (MST) Message-ID: <43ED4EBD.5090705@infowest.com> Date: Fri, 10 Feb 2006 19:41:01 -0700 From: Lorin Lund User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: Peter References: <20060211021907.59503.qmail@web60014.mail.yahoo.com> In-Reply-To: <20060211021907.59503.qmail@web60014.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions Subject: Re: MBR blown away 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: Sat, 11 Feb 2006 02:41:16 -0000 Peter wrote: > I need help. > > I added a slice to a single hard drive dual-boot (windows) system and now > I guess that scrambled my MBR. I get three options from the FreeBSD (5.4) > boot manager: > > 1. DOS > 2. FreeBSD > 3. FreeBSD > I would think that the appearance of the above menu, and the fact that it functions correctly when you choose FreeBSD indicates that the MBR is intact. I would presume, then, that the Windows partition has been damaged. If the file system the Windows partition is healty in general with just a few files in the boot sequence being damaged or missing you should be able to re-install Windows in that partition and find all your data and applications present and in good shape. If however the filesystem in the Windows partition is messed up you may have lost everything. If you do re-install windows it will probably replace the MBR that is there with what Windows consideres to be a 'standard' MBR. I think you can use dd to copy the MBR that is currently there. Then to get back to FreeBSD you'll have to use fdisk to set the active partition to FreeBSD. Then you can, hopefully, restore the MBR you saved. > I can boot to FreeBSD (the new slice is fine) by choosing option 3 but the > windows/dos option is fried. > > My current strategy is to use boot0cfg: > > # boot0cfg -B > > But I'm a little squeemish. I don't want to be locked out of FreeBSD (I > barely use Windows but I still would like it back for Visio). Any > guidance? > > -- > Peter > > > > > > > __________________________________________________________ > Find your next car at http://autos.yahoo.ca > _______________________________________________ > 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" > > >