Subject: Problem mounting MS-DOS partition
To: None <netbsd-help@NetBSD.ORG>
From: Steen Linden <Steen.Linden@ebone.net>
List: netbsd-help
Date: 12/15/1997 16:57:11
Hi,

I am trying to mount an msdos-partition from my SCSI disk without success. 
I guess it might have something to do with it being too big. It extends
cyl. 1024 as seen from NetBSD. (The BIOS does geometry translation so I
have no problem booting NetBSD beyond cyl 1024.) 

The system is NetBSD 1.2G i386 with a 4GB SCSI disk.

The error is:
> mount -t msdos -o rdonly /dev/sd0h /mnt
msdos: mount: Invalid argument

Any clues??

Best wishes
Steen Linden

Here is the disklabel:

# /dev/rsd0d:
type: SCSI
disk: mysd
label: 
flags:
bytes/sector: 512
sectors/track: 150
tracks/cylinder: 10
sectors/cylinder: 1500
cylinders: 5899
total sectors: 8883945
rpm: 5400
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:    48195  4192965    4.2BSD     4096 32768    64   # (Cyl. 2795*-
2827*)
  b:   273105  4241160      swap                        # (Cyl. 2827*-
3009*)
  c:  4690980  4192965    unused        0     0         # (Cyl. 2795*-
5922*)
  d:  8883945        0    unused        0     0         # (Cyl.    0 -
5922*)
  e:  1445850  4514265    4.2BSD     4096 16384    16   # (Cyl. 3009*-
3973*)
  f:  2731050  5960115    4.2BSD     4096 16384    16   # (Cyl. 3973*-
5794*)
  g:   192780  8691165    4.2BSD     1024  8192    16   # (Cyl. 5794*-
5922*)
  h:  4192933       32     MSDOS                        # (Cyl.    0*-
2795*)