Undo MBR

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu Sep 4 05:12:52 PDT 2003


On Wed, Sep 03, 2003 at 06:00:30PM -0500, David Kelly wrote:
> On Wednesday 03 September 2003 05:13 pm, Paul Murphy wrote:
> >  I have just installed FBSD-CURRENT on a test box. During install I
> > unwittingly installed a BootMgr entry for the second HDD (it will
> > just be a data disk, no need to boot from it).
> >
> >  If I do 'dd if=/dev/zero of=/dev/rad2 count=15' will this "erase"
> > the BootMgr or will I have to redo Fdisk and etcetera. There is no
> > data on the disk yet so this would be no hardship, but is there a
> > "proper" way of doing what I want?
> >
> >
> >  Just to clarify, upon booting I get:
> >
> > 	F1 FreeBSD
> > 	F5 Drive 1
> >
> >  but I just want to boot straight into FreeBSD, no "dual-boot".
> 
> I don't know why you are fretting about this prompt and momentarily 
> pause in the boot process. Also think you are confused about the MBR 
> thing on the 2nd drive.
> 
> The prompt above is coming from your first HD. If the BIOS did not know 
> about the 2nd drive the F5 entry would not be there and the FreeBSD F1 
> entry would still be there. You could hide this prompt by retuning the 
> MBR to pause 0 or 1 seconds. Zero might be infinite.
> 
> To eliminate the prompt, wipe the HD and reinstall "dangerously 
> dedicated." The result will be a disk which lacks the headers which 
> allows other x86 OS's to understand what/how the disk is used.

Errr... That's a little excessive.  The quick way to remove the
FreeBSd boot manager and restore a standard MBR is:

    # boot0cfg -B -b /boot/mbr ad0

(The OP might want to do that on his data disk ad2 as well).  No
changes to the filesystems on those disks should be necessary.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030904/b449d025/attachment.bin


More information about the freebsd-questions mailing list