Date: Tue, 22 Apr 1997 16:43:37 +0930 (CST) From: Kristian Kennaway <kkennawa@physics.adelaide.edu.au> To: scott@statsci.com Cc: freebsd-questions@freebsd.org Subject: Re: Corrupted disk slice Message-ID: <9704220713.AA20656@bragg> In-Reply-To: <m0wJWHA-0006uMC@apple.statsci.com> from "Scott Blachowicz" at Apr 21, 97 08:29:51 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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:
<UNUSED>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9704220713.AA20656>
