From owner-freebsd-questions@FreeBSD.ORG Fri Dec 14 05:41:10 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FCBC16A419 for ; Fri, 14 Dec 2007 05:41:10 +0000 (UTC) (envelope-from snow.mountains.4@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.190]) by mx1.freebsd.org (Postfix) with ESMTP id 734BF13C46A for ; Fri, 14 Dec 2007 05:41:10 +0000 (UTC) (envelope-from snow.mountains.4@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so871942rvb.43 for ; Thu, 13 Dec 2007 21:41:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=wYs8v3HTNZSl+QcDGMhrFziSGrx59hoA6sec+C8fhE8=; b=JrQOrNcBaxMVR+dA5bU9X9hE7OqUvIQNISGNDtQvFq6PiIUUpsze7TVrjawTvMEkNFuBDobDoZ+pfkfn1H+OhQ7iOM1FNx1pELyVGL9wstDVuu2szRMmJrTJhEfRh03oj5QL5//jDm4IzWWUgFJQqzMzV8ByHoF+kmf72KlZuTg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=mitue893bhfNhrnET6cBHnVKbJ29TcUJsMbrPHHPYEBPMQt6O1V/QOSEPzt9s6GYqJoSfMyPxAXef3+uaRK5QecncuZldizS3TGDmhiLp3gW3LXt1Znhs3W/gDniQR0aebjTdzE4T29c4qPyz9QEU7xMs1ztBU544Hc5/lRg/bI= Received: by 10.142.240.9 with SMTP id n9mr1293729wfh.6.1197609316201; Thu, 13 Dec 2007 21:15:16 -0800 (PST) Received: by 10.142.188.11 with HTTP; Thu, 13 Dec 2007 21:15:16 -0800 (PST) Message-ID: <3cf9f8920712132115q341401dbhec96ca1ae3156432@mail.gmail.com> Date: Fri, 14 Dec 2007 05:15:16 +0000 From: "Snow Mountains" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Lost FreeBSD slices (labels?) after NetBSD install -- please help!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Dec 2007 05:41:10 -0000 Hi, People, I have FreeBSD install on 80G disk that looked like this: ad1s1 ~ 2.4G ad1s2 ~23.0G ad1s3 ~19.1G ad1s4 ~38.0G, FreeBSD partition, sliced like this: ------------------------ ad1s4a / (507630 1K-blocks) ad1s4b swap ad1s4d /var ad1s4e /tmp ad1s4f /usr First three partitions are former fat/ntfs that I emptied, transformed to FreeBSD's ufs2 and used as FreeBSD storage. I used boot0cfg and my boot menu looked like this: F1 DOS (although nothing were installed in F1-F3, just ufs2 data) F2 DOS F3 DOS F4 FreeBSD Today, however, I decided to try a small NetBSD install on small ad1s1, I thought I could do no harm if I tell it to install itself onto first partition. So I passed through install, carefully checked partition1 (on wd0 disk according to it) for mark 'new fs', and sliced it did like this: wd0a / (around 550M) ... wd0e /usr (total ~2,4M, as described above) and left all other options (BSD labels etc.) as defaults. NetBSD installed and booted, menu looked like this: F1 BSD F2 DOS F3 DOS F4 FreeBSD However, FreeBSD is now unbootable!!! Then I loaded FreeSBIE (FreeBSD 6.2 live CD), tried 'boot0cfg -B /dev/ad1' (also with '-d 0x80'), but no help! Then I realized that ad1s4 slices are lost. This means: A) from FreeSBIE, there is only /dev/ad1s4, no a,b,d,e,f. If I do this: FreeSBIE# mount /dev/ad1s4 /mnt/ufs.4 this is former / (ad1s4a) and is of its size (~507M). I can't reach other slices! However, it gives me hope that NetBSD's slices are also invisible, although working from within itself: FreeSBIE# mount /dev/ad1s1 /mnt/ufs.1 gives also small NetBSD's / (its wd0a), not /usr etc. B) From NetBSD: FreeBSD's ad1s2 -> NetBSD's wd0f (readable, data ok) FreeBSD's ad1s3 -> NetBSD's wd0g (readable, data ok) FreeBSD's ad1s4a -> NetBSD's wd0h (just /, 507M, readable) others (ad1s4 d-f), containing /usr/home are lost! Please help me to recover my FreeBSD system. If I lost my data (ok, I understand they are buried, not erased), please tell me that gently. :-( many thanks in advance Sergi M