From owner-freebsd-questions Mon Jul 8 16:06:04 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA16329 for questions-outgoing; Mon, 8 Jul 1996 16:06:04 -0700 (PDT) Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id QAA16319 for ; Mon, 8 Jul 1996 16:06:01 -0700 (PDT) Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net id aa14605; 8 Jul 96 23:05 GMT Received: from icrt.demon.co.uk ([158.152.246.228]) by relay-3.mail.demon.net id aa19126; 8 Jul 96 23:08 +0100 Message-ID: Date: Mon, 8 Jul 1996 23:07:06 +0100 To: James Raynard Cc: questions@freebsd.org From: "Lars G. Erlandsen" Subject: Re: Help: FreeBSD 2.1 'mount' fails on 2.0 SCSI partition In-Reply-To: <199607051709.RAA01856@jraynard.demon.co.uk> MIME-Version: 1.0 X-Mailer: Turnpike Version 1.11 <0$M+ltNrbQ$Y$ryVKqcUZpyKB5> Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199607051709.RAA01856@jraynard.demon.co.uk>, James Raynard writes >If I understand correctly, the problem is something like this:- > > wd0 DOS slice, FreeBSD-2.1.0 root partition > sd0 not relevant here > sd1 dedicated FreeBSD-2.0 disk with a trashed root partition, but a > /usr partition with valuable data in it. Nearly correct. sd1: 700 Mbyte partition used for FreeBSD 2.0 out of a total of 1080 Mbytes. 'Disklabel' reports: # /dev/sd1s1: type: SCSI disk: label: MBR based label flags: bytes/sector: 512 sectors/track: 32 tracks/cylinder: 64 sectors/cylinder: 2048 cylinders: 700 sectors/unit: 1435616 rpm: 0 interleave: 0 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 61440 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 29) b: 163840 61440 4.2BSD 1024 8192 16 # (Cyl. 30 - 109) c: 1435616 0 unused 0 0 # (Cyl. 0 - 700*) e: 1210336 225280 4.2BSD 1024 8192 16 # (Cyl. 110 - 700*) > > System will boot off FreeBSD partition on wd0, but on attempting to > mount /dev/sd1s1d, gives errors about "overlapping partitions" and > mounts the trashed root partition instead! How to recover data from > /usr? Correct. Message is: sd1s1: rejecting partition in BSD label: it isn't entirely within the slice sd1s1: start 32, end 1435647, size 1435616 sd1s1d: start 0, end 2110811, size 2110812 Regards, Lars G. Erlandsen, Inter-Connect RealTime Ltd. email lerland@icrt.demon.co.uk