c1b5 [Solved] FreeBSD 8.0 : USB flash - 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 February 10th, 2010, 09:25
oxf00f oxf00f is offline
Junior Member
 
Join Date: Feb 2010
Location: USSR, Saint-Petersburg
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default FreeBSD 8.0 : USB flash

Start:

1. boot
2. login: root
3. insert usb-flash and see:

Code:
# ugen4.3: <JetFlash> at usbus4
umass1: <JetFlash Mass Storage Device, class 0/0, rev.2.00/1.00, addr 3> on usbus4
umass1: SCSI over Bulk-Only; quirks = 0x0100
umass1:1:1:-1: Attached to scbus1
(probe0:umass-sim1:1:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
(probe0:umass-sim1:1:0:0): CAM Status: SCSI Status Error
(probe0:umass-sim1:1:0:0): SCSI Status: Check Condition
(probe0:umass-sim1:1:0:0): UNIT ATTENTION asc:28,0
(probe0:umass-sim1:1:0:0): Not ready to change, medium may have changed
(probe0:umass-sim1:1:0:0): Retrying Command (per Sence Data)
da1 at umass-sim1 bus 1 target 0 lun 0
da1: <JetFlash Transcend 2GB 8.07> Removable Direct Access SCSI-2 device
da1: 40.000MB/s transfers
d1: 1926MB (3944448 512 byte sectors: 255H 63S/T 245C)
GEOM: da1: media size does not match label.
4. checking device
Code:
# ls /dev | grep da1
da1
da1a
5. checking partitions
Code:
# fdisk /dev/da1
******* Working on device /dev/da1 *******
parameters extracted from in-core disklabel are:
cylinders=245 heads=255 sectors/track=63 (16065 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=245 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Informations from DOS bootblock is:
The data for partition 1 is:
sysid 14 (0x0e), (Primary 'big' DOS (>32MB, LBA))
     start 63, size 3944385 (1925Meg), flag 0
          beg: cyl 0/ head 1/ sector 1;
          end: cyl 244/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
6. (!) try to mount:
Code:
#mount -t msdosfs /dev/da1 /mnt
GEOM: da1: media size does not match label.
mount_msdosfs: /dev/da1: Invalid argument
7. (!) try to mount:
Code:
#mount -t msdosfs /dev/da1a /mnt
GEOM: da1: media size does not match label.
mount_msdosfs: /dev/da1a: Invalid argument
Question: how to mount?
PS: sorry for my bad english)

Last edited by DutchDaemon; February 10th, 2010 at 13:24. Reason: added [code] tags
Reply With Quote
  #2  
Old February 10th, 2010, 09:42
mfaridi's Avatar
mfaridi mfaridi is offline
Member
 
Join Date: Nov 2008
Location: Afghanistan
Posts: 622
Thanks: 161
Thanked 12 Times in 12 Posts
Default

try this
mount -t msdosfs /dev/da0s1 /mnt

Last edited by DutchDaemon; February 10th, 2010 at 13:25.
Reply With Quote
  #3  
Old February 10th, 2010, 10:55
oxf00f oxf00f is offline
Junior Member
 
Join Date: Feb 2010
Location: USSR, Saint-Petersburg
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by mfaridi View Post
try this
mount -t msdosfs /dev/da0s1 /mnt
not working

my dev is da1

Code:
#mount -t msdosfs /dev/da0s1 /mnt
mount_msdosfs: /dev/da0s1: No such file or directory
Code:
#mount -t msdosfs /dev/da1s1 /mnt
mount_msdosfs: /dev/da1s1: No such file or directory

Last edited by DutchDaemon; February 10th, 2010 at 13:25. Reason: added [code] tags
Reply With Quote
  #4  
Old February 10th, 2010, 12:37
oxf00f oxf00f is offline
Junior Member
 
Join Date: Feb 2010
Location: USSR, Saint-Petersburg
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Solved!

Ura!!!

Solve:

FreeBSD don't see slice's because they are not present on the flash.

1. Windows XP: fill flash with "zeros" (WinHex)
2. FreeBSD: create slice type 6 FAT (sysinstall)
3. Windows XP: format flash with FAT

----

after plug in FreeBSD in /dev created /dev/da1s1 ))
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
HOWTO: create custom FreeBSD usb bootable flash graudeejs Howtos & FAQs (Moderated) 17 August 11th, 2010 11:17
Can FreeBSD reads contents of usb flash when it works in Virtual PC? anti Peripheral Hardware 6 February 6th, 2010 03:41
[Solved] USB flash drive woes Eponasoft Peripheral Hardware 22 January 22nd, 2010 01:30
Installing FreeBSD 8 with UNetbootin from USB flash using Win XP Bor_p Installing & Upgrading 4 December 30th, 2009 11:04
Getting a Bootable FreeBSD 7.1 USB Flash Disk .IMG file vask Installing & Upgrading 8 February 18th, 2009 05:31


All times are GMT +1. The time now is 02:09.


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