Subject: Re: mounting fat32 partitions
To: David Keith <dkeith@devo.sfasu.edu>
From: Jeff Thieleke <thieleke@ix.netcom.com>
List: netbsd-help
Date: 01/14/1998 01:00:07
> I cannot figure out how to mount my win95 fat32 partitions on my first IDE
> drive (wd0).  When I try mount_msdos /dev/wd0a /mnt/win95/c I get 
> 
> mount_msdos: mount: Device not configured.  

Are you sure your MS-DOS partition is wd0a?  On my (fat16) Win95 IDE drive, 
the first partition is wd0e, and on my Jaz drive with one fat16 formatted
partition, it is sd1h.  I don't know if there is rhyme or reason on how the
fictitious disklabels are generated, but they don't necessarily follow FFS
partition rules (e.g. the first DOS partition is probably not wd0a).

'disklabel wd0' will tell you which NetBSD partition you should be using.

For example:
% disklabel sd1
disklabel: warning, DOS partition table with no valid NetBSD partition
# /dev/rsd1d:
type: SCSI
disk: SCSI disk
label: fictitious
...
8 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  d:  2091050        0      unused        0     0         # (Cyl.    0 - 1021*)
  h:  2090976       32       MSDOS                        # (Cyl.    0*- 1020*)


% mount_msdos /dev/sd1a /mnt/test
mount_msdos: mount: Device not configured 
% mount_msdos /dev/sd1h /mnt/test
%



Jeff Thieleke