Date: Mon, 8 Jul 1996 23:07:06 +0100 From: "Lars G. Erlandsen" <lerland@icrt.demon.co.uk> To: James Raynard <fqueries@jraynard.demon.co.uk> Cc: questions@freebsd.org Subject: Re: Help: FreeBSD 2.1 'mount' fails on 2.0 SCSI partition Message-ID: <X49hbDAKaY4xEw8h@icrt.demon.co.uk> In-Reply-To: <199607051709.RAA01856@jraynard.demon.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <199607051709.RAA01856@jraynard.demon.co.uk>, James Raynard <fqueries@jraynard.demon.co.uk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?X49hbDAKaY4xEw8h>