Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Feb 2006 19:41:01 -0700
From:      Lorin Lund <wbs@infowest.com>
To:        Peter <petermatulis@yahoo.ca>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: MBR blown away
Message-ID:  <43ED4EBD.5090705@infowest.com>
In-Reply-To: <20060211021907.59503.qmail@web60014.mail.yahoo.com>
References:  <20060211021907.59503.qmail@web60014.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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"
>
>
>   




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43ED4EBD.5090705>