*BSD News Article 92797


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!newsfeed.internetmci.com!news-was.dfn.de!news-fra1.dfn.de!news-ber1.dfn.de!news-lei1.dfn.de!news.urz.tu-dresden.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Duplicated boot disk panics; cannot mount root
Date: 31 Mar 1997 18:48:54 GMT
Organization: Private BSD site, Dresden
Lines: 29
Message-ID: <5hp0um$b82@uriah.heep.sax.de>
References: <5hf8iu$31n$1@venus.mcs.net>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:38464

font@MCS.COM (Font) wrote:

>     - disklabel and boot written with disklabel
> 	disklabel -r -w sd1 auto
> 	disklabel -B sd1
> 	disklabel -e sd1
> 	- these steps sometimes result in console errors, including a
> 	  lack of magic

(That's nothing terrible.  It's only for the first time, an indication
by the slice code that it didn't find a valid slice [fdisk] table.)

What you should probably do before all of the above is zeroing out
the old junk from the MBR:

	dd if=/dev/zero of=/dev/rsd1 count=100

This will ensure the `disklabel -Brw sd1 auto' creates a FreeBSD-only
disk.

If this still fails, please also post the related parts from the SCSI
device probe when booting your duplicate disk.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)