How do I mount a DOS partition from the hard drive?

mount -F pcfs /dev/dsk/c0t0d0p0:1 /mnt # SCSI
mount -F pcfs /dev/dsk/c0d0p0:1 /mnt # ATAPI

Where c0 is the controller number.
t0 is the target (SCSI ID number) (omit for ATAPI)
d0 is always 0 for SCSI, the drive # for ATAPI
p0 is the partition (p0 is the entire disk, or p1 - p4)
/mnt is the mount point
:1 is the logical drive (c - z or 1 - 24)

You can use the normal UNIX commands to copy files, 'cp', etc.,
after that to move the data. DOS filenames are in the old 8.3 format
(lower case) for Solaris 2.5.1, in long filename format (lower case)
for Solaris 2.6, and in long filename format (mixed case, with optional
lower case only) for Solaris 7.

Note: The "mount -F pcfs . . ."
command won't mount a FAT16 partition
if it was fdisk-ed and format-ted with
MS Windows 9x/ME/NT/2K/XP
(at least for Solaris 2.6 and earlier.
Any reports with Solaris 7/8?).
Use DOS 6.x. HPFS (OS/2), FAT64 (Win NT), or NTFS (Win NT/2K/XP) partitions
are not mountable under Solaris at all. FAT32 (Win 9x/ME/2K) are
mountable with Solaris 7. There's some reports of not being able
to mount FAT32 partitions if it's not the first partition.

To mount the partitions automatically, put something like this in

#device device mount FS fsck mount
#to mount to fsck point type pass at boot
/dev/dsk/c0d0p0:1 - /c pcfs - yes -
/dev/dsk/c0d1p0:1 - /d pcfs - yes -

This mounts the DOS partitions (assuming it's the first partition) on /c
and /d, respectively, on startup. For more info, see "man pcfs"

[From Bob Palowoda's Solaris 2.4 x86 FAQ]

Note: p0 refers to the first primary partition and p1, p2, . . . refers
to the logical DOS partitions found in the extended DOS partition.
Solaris/x86 does NOT support DOS directly in the 2nd, 3rd, or 4th primary
partition of a disk. See BugID 1170107. Furthermore, Solaris/x86 does
NOT support more than one Solaris fdisk partition on a physical disk
nor more than 8 Solaris "slices" on a Solaris fdisk partition.

[Thanks to Randy J. Parker, Norma Adamson, Rob Duarte, and Danny Huynh]
Suggest a Site