Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-13-2008, 11:41 AM   #1
LQ Newbie
Registered: Feb 2008
Posts: 5

Rep: Reputation: 0
Formatting a Thumb Drive

I'm trying to use Monta Vista Linux 3.1 on an embedded system and trying to mount a USB thumb drive but failing. Do I need to format teh USB drive using Linux first?
Old 02-13-2008, 12:11 PM   #2
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
No, assuming that support for FAT 16/32 is included in the kernel (which generally should be).

What type of errors are you getting?
Old 02-13-2008, 12:16 PM   #3
LQ Newbie
Registered: Feb 2008
Posts: 5

Original Poster
Rep: Reputation: 0
When I try to mount a thumb drive on a Monta Vista Linux 3.1 Embedded System I get an Error.

When I plug in the USB Drive I get this message:
# hub.c: new USB device CYEZ-Host-1, assigned address 2
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: Memorex Model: Mini TravelDrive Rev: 6.51
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 1952767 512-byte hdwr sectors (1000 MB)
sda: Write Protect is off
Partition check:
/dev/scsi/host0/bus0/target0/lun0: p1 p2 p3 p4
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2

Here's the command I type:
# mount -t vfat /dev/scsi/host0/bus0/target0/lun0/part1 /mnt/usbcf

I then get the following error:
Raw sense data:0x70 0x00 0x00 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
I/O error: dev 08:01, sector 0
FAT: unable to read boot sector
mount: wrong fs type, bad option, bad superblock on /dev/scsi/host0/bus0/target0/lun0/part1,
or too many mounted file systems

When I check to see what's mounted I get this
# mount
rootfs on / type rootfs (rw)
/dev/root on / type ext2 (rw)
none on /dev type devfs (rw)
proc on /proc type proc (rw)

I don't build the Linux Kernel, it is provided in an application note.

Any idea why I can't mount the drive (a USB 2.0 Memorex Thumb Drive) to see what's on it?
Old 02-13-2008, 01:47 PM   #4
Registered: Feb 2008
Distribution: Debian Testing, OSX
Posts: 164

Rep: Reputation: 32
Here's the command I type:
# mount -t vfat /dev/scsi/host0/bus0/target0/lun0/part1 /mnt/usbcf
It may be easier to type:
# mount -t auto /dev........
This tells mount to try to detect the file system type.
Old 02-13-2008, 01:52 PM   #5
LQ Newbie
Registered: Feb 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Tried that, now I get that error 8 times since it is failing each sector.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a usb thumb drive or flash drive as a swap partition. stevenjoseph Linux - Hardware 8 01-16-2012 12:09 PM
USB thumb drive not working with FAT formatting (fine with ETX3) Xzyx987X Linux - Hardware 9 12-02-2006 06:06 AM
help to get thumb drive working Oh Cisco Debian 3 01-04-2006 01:53 PM
Thumb Drive dudeman41465 Linux - Hardware 2 11-20-2005 01:02 AM
thumb drive iarebob Slackware 5 02-01-2005 03:33 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration