URN Logo
UNIX Resources » Linux » Linux Forum » Gentoo Help » Page.65 » Problem with USB-Sticks
announcement The content of this page is collected from Linux Forum, All copyrights and other associated rights are reserved by the original authors of the articles.
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.com
  LinuxForum General Chat
  Linux Advocacy
  LinuxForum Polls
  Introductions
  Linux Kernel Support
  Patch Management
  Development Release
  Linux Programming
  Linux Security
  Linux Software
  Linux Hardware Problems
    Linux Video Problems
    Linux Sound Problems
  Linux Networking Support
  Linux Printing Support
  Linux Human Interface Devices Support
  Linux Data Storage Support
  Linux Applications Support
  Linux Installation Support
  Linux Laptops Support
  Linux Motherboard, Chipsets, CPU, Memory
  Miscellaneous
  Debian Linux Support
  Ubuntu Linux Support
  LiveCD Discussions
  Gentoo Linux Support
  Mandrake Linux Support
  Redhat / Fedora Linux Support
  Slackware Linux Support
  SuSE Linux Support
  CentOS Linux Support
  Linux Web Servers
  Linux DNS Servers
  Linux Database Servers
  Linux Email Servers
  Linux FTP Servers
  Linux Squid Proxy Server
  Linux Samba Help
  Linux cPanel Help
  Linux Ensim Help
  Linux Plesk Help
  Linux Webmin / Usermin Help
  Qmail Toaster Help
  Linux Games
  Windows Game Emulation
  Linux Discussions
  General Linux Discussions
  Red Hat Linux Discussions
  More Red Hat Linux Discussions
  Mandrake Linux Discussions
  Slackware Linux Discussions
  SuSE Linux Discussions
  Debian Discussions
  Samba Help
  Linux Security
  Linux Networking
  Gentoo Help
  Operating System Rant Forum
  Hardware Rants
   
Problem with USB-Sticks
Subject: Problem with USB-Sticks
Author: Dennis Dlugosch    Posted: 2003-10-24 12:14:27    Length: 908 byte(s)
[Original] [Print] [Top]
Hi,
I'm using a Gentoo 1.4 from stage 1 with the Gaming-Sources Kernel (2.4.20)
.. My Problem are my both USB-Sticks (first one is 128MB MP3-Player and the
other a Sony DSC-P50). I compiled my kernel with all necessary modules and
this is my /etc/fstab line for my USB-Stick:


/dev/scsi/host1/bus0/target0/lun0/disc /flash vfat defaults,user,noauto 0 0

Now I want to access my files by "mount /flash", and now my system says:
mount: wrong fs type, bad option bad superblock on
/dev/scsi/host1/bus0/target0/lun0/disc or too many file systems.

But I can access my Sticks by "fdisk /dev/sda" and here I can change and
edit my file systems (the sony is fat12 and the other one is fat16). Can
anyone help me? I do not even know what the hell I could do now to get my
sticks running...

Thank you!

[Original] [Print] [Top]
Subject: Problem with USB-Sticks
Author: Will Dormann    Posted: 2003-10-24 14:35:00    Length: 1,206 byte(s)
[Original] [Print] [Top]
Dennis Dlugosch wrote:

QUOTE
Hi,
I'm using a Gentoo 1.4 from stage 1 with the Gaming-Sources Kernel
(2.4.20) . My Problem are my both USB-Sticks (first one is 128MB
MP3-Player and the other a Sony DSC-P50). I compiled my kernel with all
necessary modules and this is my /etc/fstab line for my USB-Stick:


/dev/scsi/host1/bus0/target0/lun0/disc /flash vfat defaults,user,noauto 0 0

Now I want to access my files by "mount /flash", and now my system says:
mount: wrong fs type, bad option bad superblock on
/dev/scsi/host1/bus0/target0/lun0/disc or too many file systems.

But I can access my Sticks by "fdisk /dev/sda" and here I can change and
edit my file systems (the sony is fat12 and the other one is fat16). Can
anyone help me? I do not even know what the hell I could do now to get
my sticks running...


Why not change your fstab line to access "/dev/sda" instead then?


-WD

[Original] [Print] [Top]
Subject: Problem with USB-Sticks
Author: Christoph Gysin    Posted: 2003-10-24 17:31:17    Length: 1,107 byte(s)
[Original] [Print] [Top]
QUOTE
/dev/scsi/host1/bus0/target0/lun0/disc /flash vfat defaults,user,noauto 0 0

use:
msdos for fat12
fat for fat16
vfat for fat32

the line should be:
/dev/scsi/host1/bus0/target0/lun0/disc /flash fat defaults,user,noauto 0 0

--
QUOTE
+++++++++++[[+++++++++]-][.]++[[++]-][.]++++++[[+++]-][.]+++[[--]-][.]+++[[---
-][-.+++++.]+++++++++[[-----]-][-.]++++++[[++++++]-][+++.]+++[[++]-][.]++++[[+++
-][-.]+++++++++[[--------]-][--.]+++++++++[[++++++]-][-.+++++.]++++++++++[[----
-----]-][----.         to decode visit:

http://www.catseye.mb.ca/esoteric/bf ;-)

[Original] [Print] [Top]
Subject: Problem with USB-Sticks
Author: Johan Lindquist    Posted: 2003-10-24 17:52:21    Length: 976 byte(s)
[Original] [Print] [Top]
On 2003-10-25, gazing longingly at the horizon,
Christoph Gysin [fr33z3@fr33z3.org]
felt a deep, passionate desire to let the following be known:

QUOTE
use:
msdos for fat12
fat for fat16
vfat for fat32

the line should be:
/dev/scsi/host1/bus0/target0/lun0/disc /flash fat defaults,user,noauto 0 0

Using "auto" for the file system might just work as well.

--
Time flies like an arrow, fruit flies like a banana.      Perth ---] *
 00:51:50 up 19 days,  8:54,  6 users,  load average: 2.21, 2.13, 2.18
$ cat /dev/bollocks                      Registered Linux user #261729
mesh magnetic e-business

[Original] [Print] [Top]
Subject: Problem with USB-Sticks
Author: Dave Greengas    Posted: 2003-10-24 19:24:00    Length: 1,074 byte(s)
[Original] [Print] [Top]
Johan Lindquist wrote:
QUOTE
On 2003-10-25, gazing longingly at the horizon,
Christoph Gysin [fr33z3@fr33z3.org
felt a deep, passionate desire to let the following be known:


use:
msdos for fat12
fat for fat16
vfat for fat32

the line should be:
/dev/scsi/host1/bus0/target0/lun0/disc /flash fat defaults,user,noauto 0 0


Using "auto" for the file system might just work as well.


I got a USB pen drive and could not mount it. I noticed that the
partitions had error on them. I had to fdisk the disk, remove all
partitions (there were more then one), then create a new one. I emerged
dosfstools so that I could format my drive as vfat. Now it works on both
my gentoo box and a windows box!

P.S. I used /dev/sda1 just as the previous poster mentioned.

[Original] [Print] [Top]
Subject: Problem with USB-Sticks
Author: Johan Lindquist    Posted: 2003-10-24 20:17:28    Length: 1,352 byte(s)
[Original] [Print] [Top]
On 2003-10-25, gazing longingly at the horizon,
Dave Greengas [DaveGreengas@wi.rr.com]
felt a deep, passionate desire to let the following be known:

QUOTE
/dev/scsi/host1/bus0/target0/lun0/disc /flash fat
defaults,user,noauto 0 0

[..]

QUOTE
P.S. I used /dev/sda1 just as the previous poster mentioned.

I thought that path looked funny, but I didn't comment since I don't
know exactly how those things work. Replacing "disc" above with
"part1" would also work in your case, but using the /dev/sda1 symlink
is indeed easier. ;)

--
Time flies like an arrow, fruit flies like a banana.      Perth ---] *
 03:14:10 up 19 days, 11:16,  6 users,  load average: 2.25, 2.74, 2.88
$ cat /dev/bollocks                      Registered Linux user #261729
incentivize cross-media methodologies

[Original] [Print] [Top]
Subject: Problem with USB-Sticks
Author: Whyld-Chyld    Posted: 2003-10-26 11:41:29    Length: 1,442 byte(s)
[Original] [Print] [Top]
Dennis Dlugosch wrote:
QUOTE
Hi,
I'm using a Gentoo 1.4 from stage 1 with the Gaming-Sources Kernel
(2.4.20) . My Problem are my both USB-Sticks (first one is 128MB
MP3-Player and the other a Sony DSC-P50). I compiled my kernel with all
necessary modules and this is my /etc/fstab line for my USB-Stick:


/dev/scsi/host1/bus0/target0/lun0/disc /flash vfat defaults,user,noauto 0 0

Your problem is you do not have fat listed. vfat is fat32 support only.

QUOTE
Now I want to access my files by "mount /flash", and now my system says:
mount: wrong fs type, bad option bad superblock on
/dev/scsi/host1/bus0/target0/lun0/disc or too many file systems.

But I can access my Sticks by "fdisk /dev/sda" and here I can change and
edit my file systems (the sony is fat12 and the other one is fat16). Can
anyone help me? I do not even know what the hell I could do now to get
my sticks running...

Thank you!


--
Registered Linux User 286636

[Original] [Print] [Top]
Subject: Problem with USB-Sticks
Author: Tom Felker    Posted: 2003-10-30 00:31:26    Length: 1,653 byte(s)
[Original] [Print] [Top]
On Fri, 24 Oct 2003 19:14:27 +0200, Dennis Dlugosch wrote:

QUOTE
Hi,
I'm using a Gentoo 1.4 from stage 1 with the Gaming-Sources Kernel (2.4.20)
. My Problem are my both USB-Sticks (first one is 128MB MP3-Player and the
other a Sony DSC-P50). I compiled my kernel with all necessary modules and
this is my /etc/fstab line for my USB-Stick:


/dev/scsi/host1/bus0/target0/lun0/disc /flash vfat defaults,user,noauto 0 0

Now I want to access my files by "mount /flash", and now my system says:
mount: wrong fs type, bad option bad superblock on
/dev/scsi/host1/bus0/target0/lun0/disc or too many file systems.

But I can access my Sticks by "fdisk /dev/sda" and here I can change and
edit my file systems (the sony is fat12 and the other one is fat16). Can
anyone help me? I do not even know what the hell I could do now to get my
sticks running...

Thank you!

Oftentimes such disks have a partition (like a HD) instead of putting the
filesystem directly on the device (like a floppy).  So try tacking
"/part1" onto the end of that.  While the disk is in, you can see what
partitions are there by looking in the /dev/scsi/... tree.

--
Tom Felker, [tcfelker@mtco.com]
[http://vlevel.sourceforge.net] - Stop fiddling with the volume knob.

Curiosity was framed; ignorance killed the cat.

[Original] [Print] [Top]
Subject: Problem with USB-Sticks
Author: Whyld-Chyld    Posted: 2003-10-31 02:21:15    Length: 796 byte(s)
[Original] [Print] [Top]
Johan Lindquist wrote:
QUOTE
On 2003-10-25, gazing longingly at the horizon,
Christoph Gysin [fr33z3@fr33z3.org
felt a deep, passionate desire to let the following be known:


use:
msdos for fat12
fat for fat16
vfat for fat32

the line should be:
/dev/scsi/host1/bus0/target0/lun0/disc /flash fat defaults,user,noauto 0 0


Using "auto" for the file system might just work as well.

Only if msdos/fat/vfat is built into the kernel or the modules are

autoloaded.

--
Registered Linux User 286636

[Original] [Print] [Top]
« Previous thread
nic driver for compaq nx9010
Gentoo Help
Page. 65
Next thread »
problems with emerge portage
     

Copyright © 2007 UNIX Resources Network, All Rights Reserved.      About URN | Privacy & Legal | Help | Contact us
Powered by FreeBSD    webmaster: webmaster@unixresources.net
This page created on 2007-08-01 13:20:26, cost 0.030616044998169 ms.