Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!swidir.switch.ch!scsing.switch.ch!news.belwue.de!news.uni-stuttgart.de!uni-regensburg.de!fauern!news.tu-chemnitz.de!irz401!uriah.heep!bonnie.heep!not-for-mail From: j@bonnie.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Restoring the MBR to DOS only Date: 15 Aug 1995 10:45:54 +0200 Organization: Private U**x site, Dresden. Lines: 21 Message-ID: <40pms2$os5@bonnie.tcd-dresden.de> References: <40npf0$j1g@giga.bga.com> <40oioi$3fc@palmer.demon.co.uk> Reply-To: joerg_wunsch@uriah.heep.sax.de NNTP-Posting-Host: 192.109.108.139 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Gary Palmer <gary@palmer.demon.co.uk> wrote: >>How can I restore the MBR to the original state? > >From DOS: > >fdisk /mbr From BSD: dd if=/dev/zero of=/dev/wd0 count=100 This will null out the first hundred sectors of your (IDE) hard disk, make it appear like a virgin disk for any subsequent installation utility. (Not exactly what you've been asking, but similar in effect.) -- cheers, J"org private: joerg_wunsch@uriah.heep.sax.de http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)