Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jun 2013 15:12:19 -0400
From:      "Joseph Mays" <mays@win.net>
To:        "Warren Block" <wblock@wonkity.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: USB can't mount msdosfs drive
Message-ID:  <3F74C0CB9E7C4CDF9501159278786054@Gantry>
In-Reply-To: <alpine.BSF.2.00.1306051244360.56946@wonkity.com>
References:  <D16334484B0C4155A21C15070F51738B@Gantry> <alpine.BSF.2.00.1306051244360.56946@wonkity.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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:
> <UNUSED>
> The data for partition 3 is:
> <UNUSED>
> The data for partition 4 is:
> <UNUSED>
>
> 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? 




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?3F74C0CB9E7C4CDF9501159278786054>