From owner-freebsd-questions@FreeBSD.ORG Sun Feb 12 14:28:17 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 88D4316A420 for ; Sun, 12 Feb 2006 14:28:17 +0000 (GMT) (envelope-from ken@allenmyland.com) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [63.240.77.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B90843D4C for ; Sun, 12 Feb 2006 14:28:16 +0000 (GMT) (envelope-from ken@allenmyland.com) Received: from bserver.transpack.com ([68.80.195.248]) by comcast.net (sccrmhc13) with ESMTP id <2006021214281301300nv90ie>; Sun, 12 Feb 2006 14:28:14 +0000 Received: from localhost (localhost.transpack.com [127.0.0.1]) by bserver.transpack.com (Postfix) with ESMTP id 1FCBDB843; Sun, 12 Feb 2006 09:28:13 -0500 (EST) Received: from bserver.transpack.com ([127.0.0.1]) by localhost (bserver.transpack.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23747-08; Sun, 12 Feb 2006 09:28:10 -0500 (EST) Received: from [192.168.214.102] (kbuilt.transpack.com [192.168.214.102]) by bserver.transpack.com (Postfix) with ESMTP id EAF99B842; Sun, 12 Feb 2006 09:28:09 -0500 (EST) Message-ID: <43EF45EE.60503@allenmyland.com> Date: Sun, 12 Feb 2006 09:27:58 -0500 From: Ken Stevenson User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Peter References: <20060212134805.12064.qmail@web60021.mail.yahoo.com> In-Reply-To: <20060212134805.12064.qmail@web60021.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at transpack.com Cc: Jerry McAllister , 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: Sun, 12 Feb 2006 14:28:17 -0000 Peter wrote: > --- Jerry McAllister wrote: > >>> >>> --- Jerry McAllister wrote: >>> > >>>>> 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 can boot to FreeBSD (the new slice is fine) by choosing option 3 >> but >>>> the >>>>> windows/dos option is fried. >>>> The MBR itself looks OK. According to that piece of menu you >>>> posted, you just added another bootable slice. So, there are now > two >>>> bootable FreeBSD slices and one bootable Microsloth slice. > >>> Correct, I chose '1' and then the system hangs (no messages/errors). > >>> I simply converted a 6GB FAT32 partition into a UFS2 slice (chopped >>> into three 2GB partitions). > >> Well, I still am guessing the problem lies in individual slices' boot >> sectors and not the MBR. just try and set the bootable flags in the >> slices the way you think they should be and see what happens. > > In sysinstall I toggle bootable but it puts an 'A' which seems to mean > auto-bootable. > I can only set one 'A' here. > > -- > Peter > > I tend to agree with Jerry and others that the problem is not with the MBR, but with the Windows boot sector in the first partition. If that's true, you can't fix it with sysintall or FreeBSD. You have fix it with Windows tools. If you were running Windows 2000 or XP in the Windows partition, I would recommend that you use the Windows 2000 System Recovery Console and run the fixboot program to install a new Windows boot sector on the Windows partition. If you're running an older version of Windows, you need to find out what tool it uses to restore a boot sector. Chances are in the process you'll wipe out the FreBSD MBR which you'll have to fix using FreeBSD. I guess that's where boot0cfg comes in, but I've never used it. The best advice, though, is to backup everything you can before proceeding. -- Ken Stevenson Allen-Myland Inc.