Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2003 14:36:59 +0930
From:      Brian Astill <bastill@adam.com.au>
To:        Andy Farkas <andyf@speednet.com.au>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Can't mount ad0s2 - sourced
Message-ID:  <200305191436.59366.bastill@adam.com.au>
In-Reply-To: <20030519100832.L93323-100000@hewey.af.speednet.com.au>
References:  <20030519100832.L93323-100000@hewey.af.speednet.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 19 May 2003 09:39 am, Andy Farkas wrote:

> Sure there is. Show us what fdisk and disklabel say.

Since you asked   :-)

bra@BAPhD ~ #fdisk /dev/ad0
******* Working on device /dev/ad0 *******
parameters extracted from in-core disklabel are:
cylinders=3D1027 heads=3D255 sectors/track=3D63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=3D1027 heads=3D255 sectors/track=3D63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 6,(Primary 'big' DOS (> 32MB))
    start 63, size 2056257 (1004 Meg), flag 80 (active)
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 127/ head 254/ sector 63
The data for partition 2 is:
sysid 22,(unknown)
    start 2056383, size 2088387 (1019 Meg), flag 0
        beg: cyl 128/ head 1/ sector 1;
        end: cyl 257/ head 254/ sector 63
The data for partition 3 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 4144770, size 12353985 (6032 Meg), flag 0
        beg: cyl 258/ head 0/ sector 1;
        end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:
<UNUSED>

bra@BAPhD ~ #mount -t msdos /dev/ad0s2 /mnt/edrive
bra@BAPhD ~ #ls /mnt/edrive
12.41-NT4.exe                           Program Files
AWL-Sparky.html                         RECYCLED
AWL-Sparky.txt                          RHdosutils
ColorPicker.chm                         RPM_etc
Disks&files                             TEMP
FreeBSD-docs                            X-Box.mpg
JOBAPP                                  jpegs
Linux                                   misctemp
MorphixCombined-LightGUI-0.3-5.iso      rawrite

So "unknown" but mountable.

bra@BAPhD ~ #disklabel /dev/ad0
# /dev/ad0:
type: unknown
disk: amnesiac
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 1027
sectors/unit: 16514064
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0=20

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  c: 16514064        0    unused        0     0         # (Cyl.    0 -=20
1027*)

This looks thoroughly screwed to me - but what do I know?  :-)

--=20
Regards,
Brian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305191436.59366.bastill>