From owner-freebsd-questions@FreeBSD.ORG Wed Jun 5 19:12:11 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id EFB2EF9 for ; Wed, 5 Jun 2013 19:12:11 +0000 (UTC) (envelope-from mays@win.net) Received: from filter1.win.net (filter1.win.net [216.24.27.101]) by mx1.freebsd.org (Postfix) with ESMTP id 9DD631BDB for ; Wed, 5 Jun 2013 19:12:11 +0000 (UTC) Received: from nb-201.win.net (nb-201.win.net [216.24.27.201]) by filter1.win.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id r55JCAMn029518; Wed, 5 Jun 2013 15:12:10 -0400 Received: from Gantry (pool245.office.win.net [216.24.33.245]) by nb-201.win.net (Postfix) with SMTP id E31CA61CDA; Wed, 5 Jun 2013 15:12:10 -0400 (EDT) Message-ID: <3F74C0CB9E7C4CDF9501159278786054@Gantry> From: "Joseph Mays" To: "Warren Block" References: In-Reply-To: Subject: Re: USB can't mount msdosfs drive Date: Wed, 5 Jun 2013 15:12:19 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3538.513 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3538.513 X-Spam-Score: undef - mays@win.net is whitelisted. X-CanIt-Geo: ip=216.24.27.201; country=US; region=KY; city=Louisville; postalcode=40204; latitude=38.2390; longitude=-85.7174; metrocode=529; areacode=502; http://maps.google.com/maps?q=38.2390,-85.7174&z=6 X-CanItPRO-Stream: Outbound:default (inherits from base:default) X-Canit-Stats-ID: 02JIHcaxC - 1a43c8ea8571 - 20130605 X-Antispam-Training-Forget: http://filter.win.net/canit/b.php?i=02JIHcaxC&m=1a43c8ea8571&t=20130605&c=f X-Antispam-Training-Nonspam: http://filter.win.net/canit/b.php?i=02JIHcaxC&m=1a43c8ea8571&t=20130605&c=n X-Antispam-Training-Spam: http://filter.win.net/canit/b.php?i=02JIHcaxC&m=1a43c8ea8571&t=20130605&c=s X-Scanned-By: CanIt (www . roaringpenguin . com) on 216.24.27.101 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 19:12:12 -0000 root@warehouse:/backups # mount_msdosfs -o large /dev/da2s1 /usb2 mount_msdosfs: /dev/da2s1: Invalid argument -----Original Message----- From: Warren Block Sent: Wednesday, June 05, 2013 2:50 PM To: Joseph Mays Cc: freebsd-questions@freebsd.org Subject: Re: USB can't mount msdosfs drive On Wed, 5 Jun 2013, Joseph Mays wrote: > Tried several iterations, though it?s clearly a fat32 formatted USB drive. > Shown below are the results of fdisk and the mount_msdosfs command. > > > root@warehouse:/root # fdisk /dev/da2 > ******* Working on device /dev/da2 ******* > parameters extracted from in-core disklabel are: > cylinders=1897 heads=255 sectors/track=63 (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=1897 heads=255 sectors/track=63 (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 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA)) > start 8064, size 30473088 (14879 Meg), flag 80 (active) > beg: cyl 1/ head 0/ sector 1; > end: cyl 706/ head 115/ sector 52 > The data for partition 2 is: > > The data for partition 3 is: > > The data for partition 4 is: > > > root@warehouse:/root # mount_msdosfs /dev/da2s1 /usb2 > mount_msdosfs: /dev/da2s1: Invalid argument > root@warehouse:/root # Maybe the "large" option to mount_msdosfs(8)? Also, something is odd about the first partition starting at 8064. What does 'gpart show da2' say?