Help on mounting specific partition on secondary disk.

It has a NTFS partition and a FreeBSD partition which I install on. I can mount the first disk(ad0s1) that has Windows on it, but not the second one with the NTFS partition.
 
Can't quite see what you typed from here. Invalid argument usually means you were trying to mount the wrong slice or drive.

First, look in /dev for the second drive. Just because the first drive is ad0 does not mean the second drive is ad1, and the partition might be "extended", so the slice number may not be what you expect, either:
% ls /dev/ad*

Then use fdisk(8) to see what is on that drive for slices (substitute the correct drive for "ad1" if needed):
% fdisk ad1

Finally, use mount(8) with the appropriate -t option to mount the right slice.
 
Code:
# ls /dev/ad*


/dev/ad0        /dev/ad1        /dev/ad1s2      /dev/ad1s3      /dev/ad1s4

/dev/ad0s1      /dev/ad1s1      /dev/ad1s2a     /dev/ad1s3d     /dev/ad1s4b

Something weird going on with slices 2, 3, and 4 there.

Okay, let's see what file(1) thinks of your first partition:
% file -s /dev/ad1s1
 
Here is the result of file -s

Code:
/dev/ad1s1: x86 boot sector; partition 1: ID=0x7, starthead 254, startsector 63, 138737277 sectors, code offset 0xaa
 
Back
Top