MBR

Ruben de Groot mail25 at bzerk.org
Tue Jan 27 08:09:17 PST 2004


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list