LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-02-2003, 04:11 AM   #16
geoff_f
Member
 
Registered: May 2003
Location: Canberra, Australia
Distribution: openSUSE 11.3
Posts: 445

Rep: Reputation: 31

Your USB seems to be working OK; we just need to work out what device your USB drive is. For that we need the output, as root, of:

cat /proc/scsi/scsi

Then we can formulate a 'mount' command for your device. Your original mount command was trying to mount your CD-ROM as a USB drive, that's why you got those 'wrong fs type' and 'bad superblock' errors.
 
Old 09-04-2003, 08:54 PM   #17
Wraith2288
Member
 
Registered: Apr 2003
Distribution: Redhat 9, windows XP
Posts: 78

Original Poster
Rep: Reputation: 15
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: ExcelSto Model: r Technology Rev: VA2O
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: MATSHITA Model: UJDA330 Rev: 1.50
Type: CD-ROM ANSI SCSI revision: 02

Looking at the mount commands I tried for it before, I tried to formulate one. So, I tried

mount -t vfat /dev/usb.c /mnt/dosdrive

Am I headed in the right direction? I'm trying to understand this, rather than just having you guys tell me the answers (which I know you loathe to do). its a FAT partition, and usb.c is what came up with
cat /var/log/dmesg |grep hd*
which is what DrOzz had said to try. I didn't really understand any of what came up with your suggestion (Geoff), did it say what I need in one of those two files?

Last edited by Wraith2288; 09-04-2003 at 09:04 PM.
 
Old 09-05-2003, 07:48 AM   #18
geoff_f
Member
 
Registered: May 2003
Location: Canberra, Australia
Distribution: openSUSE 11.3
Posts: 445

Rep: Reputation: 31
Your USB drive won't look like /dev/hdb or the like; it will be more like /dev/sda. Try the command, at a console, as root:

fdisk -l /dev/sda

If /dev/sda is your USB drive, then it will show some output telling you the size of /dev/sda, which will match your USB drive's size. Then it will list /dev/sda1, which represents the first partition on your USB drive; it should show you the number of blocks and the filesystem type, if it exists.

So, if /dev/sda is your USB drive, your mount command is:

mount -t vfat /dev/sda1 /mnt/usbdrive

You will need to have created /mnt/usbdrive beforehand and run the command:

chmod 777 /mnt/usbdrive

to get the permissions right for you to access it with yourself as user. You can use any name you like instead of 'usbdrive', such as 'dosdrive' that you used before. These steps should give you access to your USB drive.
 
Old 09-05-2003, 05:45 PM   #19
Wraith2288
Member
 
Registered: Apr 2003
Distribution: Redhat 9, windows XP
Posts: 78

Original Poster
Rep: Reputation: 15
ok, it all works now- thank you so much... been trying to get this to work for a while. The only issue is, it won't let me change the file permissions. I'm logged in as root, and I type:
chmod 777 /mnt/dosdrive/
and get
chmod: changing permissions of `/mnt/dosdrive/': Operation not permitted

why is this? I also tried writing it out (chmod o+r+w+x /mnt/dosdrive/) and it gave the same error message.
 
Old 09-05-2003, 05:50 PM   #20
geoff_f
Member
 
Registered: May 2003
Location: Canberra, Australia
Distribution: openSUSE 11.3
Posts: 445

Rep: Reputation: 31
Leave off the final '/' from your command; ie, make it:

chmod 777 /mnt/dosdrive

See how that goes.
 
Old 09-06-2003, 02:00 PM   #21
Wraith2288
Member
 
Registered: Apr 2003
Distribution: Redhat 9, windows XP
Posts: 78

Original Poster
Rep: Reputation: 15
Ok, that worked. Thanks for all the help, dude. Because on the harddrive were some drivers, which let my videocard work correctly, which lets me set the resolution above 800/600... its very useful, to say the least.
 
Old 09-07-2003, 01:54 AM   #22
geoff_f
Member
 
Registered: May 2003
Location: Canberra, Australia
Distribution: openSUSE 11.3
Posts: 445

Rep: Reputation: 31
My pleasure - glad I could help.
 
Old 01-09-2004, 09:01 AM   #23
wavescream
LQ Newbie
 
Registered: Jan 2004
Location: Glen Burnie, MD
Distribution: RH8 & 9
Posts: 1

Rep: Reputation: 0
I believe you'll find that your USB device is being labeled as an sdX device (i.e. sda, sdb). Every USB or IEEE device I've plugged in comes up as such.
 
  


Reply


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
Mounting a Fat32 Partition computergee Linux - General 3 03-19-2005 06:44 PM
Partition mounting/KDE errors after creating Fat32 Partition BertBert Linux - General 1 07-07-2004 11:59 AM
Should be Simple: RH9 Error mounting FAT32 partition lsgko Linux - Newbie 2 08-16-2003 07:24 AM
Wierd problem mounting fat32 partition on redhat 8 floppycolon Linux - Software 3 03-02-2003 01:43 PM
Mounting a Fat32 Partition Qebex Linux - Newbie 9 09-10-2002 06:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:16 PM.

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