ba5a Unable to mount USB keys - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Peripheral Hardware

Peripheral Hardware Stuff that plugs in via USB, FireWire, eSATA, PS/2, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old August 17th, 2012, 20:24
thegolum35 thegolum35 is offline
Junior Member
 
Join Date: Sep 2010
Posts: 69
Thanks: 2
Thanked 0 Times in 0 Posts
Default Unable to mount USB keys

Hello,

I have an issue when trying to mount DOS/Windows formatted keys. As you can see,

Code:
# fdisk /dev/da0
******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=487 heads=255 sectors/track=63 (16065 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=487 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 7 (0x07),(NTFS, OS/2 HPFS, QNX-2 (16 bit) or Advanced UNIX)
    start 1072, size 7830480 (3823 Meg), flag 80 (active)
	beg: cyl 0/ head 1/ sector 1;
	end: cyl 249/ head 30/ sector 48
All seems good to me, but it doesn't work
Code:
# mount -t msdosfs /dev/da0 /mnt
mount_msdosfs: /dev/da0: Invalid argument
Code:
# fdisk /dev/da1
******* Working on device /dev/da1 *******
parameters extracted from in-core disklabel are:
cylinders=243 heads=255 sectors/track=63 (16065 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=243 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 11 (0x0b),(DOS or Windows 95 with 32 bit FAT)
    start 8064, size 3903616 (1906 Meg), flag 0
	beg: cyl 15/ head 1/ sector 12;
	end: cyl 471/ head 15/ sector 32
In that case, the same problem exists. I had never had such issues before.

Thanks for you help, Gollum

Last edited by SirDice; August 18th, 2012 at 00:57. Reason: [code] not [cmd=] please
Reply With Quote
  #2  
Old August 17th, 2012, 21:27
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,724
Thanks: 432
Thanked 1,762 Times in 1,459 Posts
Default

The first one is NTFS. OP, [code] tags are more appropriate for long sections. If you use [cmd] tags, the parameter in the first tag is for a prompt, like "%" or "#" for root.
Reply With Quote
The Following User Says Thank You to wblock@ For This Useful Post:
zhoopin (August 17th, 2012)
  #3  
Old August 18th, 2012, 22:12
tingo tingo is offline
Member
 
Join Date: Nov 2008
Location: Oslo, Norway
Posts: 825
Thanks: 134
Thanked 82 Times in 68 Posts
Default

Most likely, the first partition (or slice in FreeBSD language) is called da1s1, not just da1.
Make it a habit to always do $ ls -l /dev/da1* when things like this happens, just in case the os has a different idea than you about what things should be called.
Or could it be that you confused da0 and da1?
__________________
Torfinn

Last edited by tingo; August 18th, 2012 at 22:14. Reason: typo fix
Reply With Quote
  #4  
Old August 18th, 2012, 23:14
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,724
Thanks: 432
Thanked 1,762 Times in 1,459 Posts
Default

file(1) is useful for detecting the filesystem on a partition. Use -s when giving it a special file like /dev/da0s1.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] Unable to mount USB adripillo Peripheral Hardware 4 March 14th, 2012 19:00
Unable to mount an UDF DVD sharsch Peripheral Hardware 9 February 8th, 2012 18:35
Unable to mount one zfs FS from a zpool exseven Storage 10 October 5th, 2011 14:50
Unable to mount DVD drive centosltib Peripheral Hardware 2 April 15th, 2011 03:15
[Solved] [XFCE] Unable to mount USB nu2fbsd Other Window Managers 3 December 27th, 2010 13:25


All times are GMT +1. The time now is 12:13.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0