From owner-freebsd-questions@FreeBSD.ORG Sun Dec 28 19:57:06 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D11A916A4CE for ; Sun, 28 Dec 2003 19:57:06 -0800 (PST) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3112F43D2D for ; Sun, 28 Dec 2003 19:57:05 -0800 (PST) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp109-47.lns1.adl1.internode.on.net [150.101.109.47])hBT3v2p5075264; Mon, 29 Dec 2003 14:27:03 +1030 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: At home To: Francisco Reyes , "FreeBSD questions" Date: Mon, 29 Dec 2003 14:27:01 +1030 User-Agent: KMail/1.4.3 References: <200312290255.hBT2tuU6000520@mail1.acecape.com> In-Reply-To: <200312290255.hBT2tuU6000520@mail1.acecape.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200312291427.01727.malcolm.kay@internode.on.net> Subject: Re: Fwd: Re: Please help. Can't see HD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2003 03:57:06 -0000 On Mon, 29 Dec 2003 13:29, Francisco Reyes wrote: > On Sun, 28 Dec 2003 20:54:06 -0500, Francisco Reyes wrote: > >Is there a way to recover the label info? I don't know if the HD > >is dying or whether the filesystem/HD boot sector is messed up. > > More info.. > When starting /stand/sysinstall it shows: > ad2: raw partition size !=3D slice size > ad2: start 0, end 78168359, size 78165360 > ad2c: start 0, end 10239, size 10240 > > This after upgrading to 4.9 stable as of 12-29-2003. > The other thing I did today which I don't know if is related. I > enabled USB today and was writing to a CF card in preparation to > install M0n0wall on a soekris machine. After installing USB > support and seen the card I did: > > gzcat net45xx-pbxrxxx.img | dd of=3D/dev/rad[n] bs=3D16k > This is likely your problem source!!! /dev/rad[n] is an alias of /dev/ad[n]; that is it refers to IDE drive n. (Historically they had somewhat different meanings but even then still refered to the same physical device -- the 'r' means raw) If n was 2 you have over written the beginning of ad2. > Where the xxx were the version for the image and [n] was 1... > /dev/rad1 (or was it.. 0..). Isn't that the CF card writer? I > got the number after looking at camcontrol and usbdevs (can't > remember which one from)... Did I messed up the drive when > writing that image? > The scsii / usb devices appear under names such as da[n] or rda[n]. Yes; I think you did. Likely you will need to reconfigure your drive and=20 reinstall from your backup. Malcolm Kay