*BSD News Article 61374


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!gatech!newsxfer2.itd.umich.edu!agate!tfs.com!mailhub.tfs.com!julian
From: julian@mailhub.tfs.com (Julian Elischer)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Deleting BootManager?
Date: 6 Feb 1996 09:34:09 GMT
Organization: TRW Financial Systems, Oakland, CA
Lines: 30
Message-ID: <4f77ah$8g9@times.tfs.com>
References: <4f57ne$2sm@klaava.helsinki.fi>
NNTP-Posting-Host: mailhub.tfs.com


In article <4f57ne$2sm@klaava.helsinki.fi>,
Janne P Kjellman <kjellman@cc.helsinki.fi> wrote:
>	I installed 2.1.0-RELEASE of FreeBSD and by mistake
>	got bootmanager on my HD. FreeBSD is only OS there,
>	so I want to get it of. Reinstall from scratch?

1/ BACK UP ANYTHING IMPORTANT
2/ fdisk /dev/r[sw]do | lp -P[your printer] (or write it all down)
3/ fdisk -i -u /dev/r[sw]d0
answer all the questiosn in the  same way that th printed version shows you,
EXACTLY..
make sure that the FreeBSD slice is marked active (flags = 0x80)
4/ fdisk /dev/r[sw]d0
compare the two

fdisk SHOULD replace the boot manager with a pretty satandard (non interactive)
bootblock. (unless of course it's changed recently :).....
if so do the same but insert
2A/ dd if=/dev/r[sw]d0 of=/hold.boot.block bs=512 count=1
2B/ dd if=/dev/zero of=/dev/r[sw]d0 bs=512 count=1
to ensure the bootblock is invalid before writing a new one..

to write back the original bootblock:
(if step 4 seems to indicat a failure)

5/ dd if=/hold.boot.block of=/dev/r[sw]d0 bs=512 count=1