LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-06-2006, 07:17 PM   #1
nomb
Member
 
Registered: Jan 2006
Distribution: Debian Testing
Posts: 675

Rep: Reputation: 58
usb - traveldrive - formatting - automount - Help !!!


It seems like lately all my usb drives that I've used with widows are now read-only in linux...
This has cause a lot of frustration. I am hoping someone will be able to help me fix them. From what ive read on the net, they have to be formated with a fat16 / dos filesystem. Well, I've read on the net how to use fdisk and cfdisk and tried that but now when I plug in my traveldrive it doesn't come up on the desktop anymore and it is still read only. Could someone please walk me through how to format the drives and creat partitions on them so the will mount and work!!!

Thanks here is some info that might help:

OS: Suse 10.1

Kernel: 2.6.16.13-4-smp

dmesg | tail:

sdb: Mode Sense: 23 00 00 00
sdb: assuming drive cache: write through
sdb: sdb1
sd 2:0:0:0: Attached scsi removable disk sdb
sd 2:0:0:0: Attached scsi generic sg2 type 0
usb-storage: device scan complete

mount -l:

/dev/sda2 on / type reiserfs (rw,acl,user_xattr) []
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/sda3 on /home type reiserfs (rw,acl,user_xattr) []
securityfs on /sys/kernel/security type securityfs (rw)

fstab:

Code:
/dev/sda2            /                    reiserfs   acl,user_xattr        1 1
/dev/sda3            /home                reiserfs   acl,user_xattr        1 2
/dev/sda1            swap                 swap       defaults              0 0
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto,               0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
I hope this is enough information, thank you to anyone who will help me!!!

nomb

Last edited by nomb; 08-06-2006 at 07:19 PM.
 
Old 08-06-2006, 09:01 PM   #2
PithyThought
LQ Newbie
 
Registered: Nov 2002
Location: Canada
Distribution: Fedora
Posts: 5

Rep: Reputation: 1
Looks like your /var/log/messages is showing the drive as having been added as sdb. I'm usually paranoid, so (as root) I'll do an fdisk /dev/sdb and "p" to print the partition table - make sure I'm looking at what I think I'm looking at. ("q" to quit.)

I can't help you with why it wouldn't be showing up on your desktop. That's going to be too specific to Suse (and I'm a Fedora user.) What I can tell you is that after using fdisk you'll hopefully have a sense of which partition is "interesting" (having data on it.) You should be able to then mount the disk (as root) via "mount /dev/sd3 /some/directory" - although you'll want to make sure your "/some/directory" exists. eg. /mnt/usbdisk (And of course, I've assumed the third partition in my example. You'll want to change that number as appropriate.)

Now, I've over-simplified a bit as I don't have time to write a full essay with all contingencies. And having mounted it as root, you'll have root owning the files. Perhaps a "man mount" might help you (and look for the second on "Mount options for fat." Hint: uid=value)

Some good learning ahead of you. But you'll also want to figure out what standard practice is for Suse as it may have its own way of going about things.

I hope that helps,

Adam
 
Old 08-06-2006, 10:24 PM   #3
nomb
Member
 
Registered: Jan 2006
Distribution: Debian Testing
Posts: 675

Original Poster
Rep: Reputation: 58
Just an update, I took both traveldrives to my windows box and formated them with the fat filesystem. Both now mount on my linux box no prob... The only problem is that somehow, by default, any usb drive aparently has the group and owner of root. So if I want to use them, I have to login / su as root... This is quite annoying... Anyone know a fix? Thanks everyone!

nomb
 
Old 08-07-2006, 11:34 PM   #4
nomb
Member
 
Registered: Jan 2006
Distribution: Debian Testing
Posts: 675

Original Poster
Rep: Reputation: 58
Does anyone know, if I add USB to ea user will it maybe fix this?
 
  


Reply



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
Cannot automount usb device Ruhar Slackware 2 06-30-2006 10:13 PM
Installing Memorex flash/traveldrive naiveguy Linux - General 1 04-24-2006 05:26 AM
usb media automount dukeinlondon Debian 3 07-22-2005 05:53 PM
USB automount options JetJock Debian 1 06-15-2005 11:14 PM
USB automount delta_simon Linux - Software 2 04-09-2005 04:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:01 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
Open Source Consulting | Domain Registration