From owner-freebsd-questions Tue Apr 22 00:13:53 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA19990 for questions-outgoing; Tue, 22 Apr 1997 00:13:53 -0700 (PDT) Received: from adelphi.physics.adelaide.edu.au (adelphi.physics.adelaide.edu.au [129.127.36.247]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id AAA19984 for ; Tue, 22 Apr 1997 00:13:46 -0700 (PDT) Received: from bragg by adelphi.physics.adelaide.edu.au (5.65/AndrewR-930902) id AA32446; Tue, 22 Apr 1997 16:43:38 +0930 From: Kristian Kennaway Received: by bragg; (5.65/1.1.8.2/05Aug95-0227PM) id AA20656; Tue, 22 Apr 1997 16:43:37 +0930 Message-Id: <9704220713.AA20656@bragg> Subject: Re: Corrupted disk slice To: scott@statsci.com Date: Tue, 22 Apr 1997 16:43:37 +0930 (CST) Cc: freebsd-questions@freebsd.org In-Reply-To: from "Scott Blachowicz" at Apr 21, 97 08:29:51 pm X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > It's trying to mount a DOS logical disk in an extended partition. Make > > sure that /etc/fstab records this filesystem as a 'msdos' type FS. > > I thought the logical slices started with s5 (regardless of how many > non-logical slices are currentlly being used). > > Doing 'fdisk wd1' should show something similar to what 'fdisk wd0' shows on my system: [...snip...] > It looks like fdisk shows partitions 0-3, but the slice numbers go from 1-4, > so adjust your numbers accordingly. That partition 1 of mine is my extended > partition and the 3 DOS partitions I have in there should be known as slices > 5-7 from FreeBSD land. I haven't been brave enough to try mounting DOS > disks since the msdosfs code tickled some bugs that trashed my BSD > partitions on this drive's predecessor...but I think this info is right. I get the following: [morden] 16:42 /dev fdisk wd1 ******* Working on device /dev/rwd1 ******* parameters extracted from in-core disklabel are: cylinders=621 heads=128 sectors/track=63 (8064 blks/cyl) parameters to be used for BIOS calculations are: cylinders=621 heads=128 sectors/track=63 (8064 blks/cyl) Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 0 is: sysid 6,(Primary 'big' DOS (> 32MB)) start 63, size 2048193 (1000 Meg), flag 0 beg: cyl 0/ sector 1/ head 1; end: cyl 253/ sector 63/ head 127 The data for partition 1 is: sysid 5,(Extended DOS) start 2048256, size 2048256 (1000 Meg), flag 0 beg: cyl 254/ sector 1/ head 0; end: cyl 507/ sector 63/ head 127 The data for partition 2 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 4096512, size 911232 (444 Meg), flag 80 beg: cyl 508/ sector 1/ head 0; end: cyl 620/ sector 63/ head 127 The data for partition 3 is: I know for a fact I had two freebsd partitions here: wd1s3 and wd1s4..but this seems to indicate the second one has been trashed somehow. Am I interpreting this correctly? Kris