Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-07-2007, 10:03 PM
|
#1
|
Member
Registered: Apr 2005
Distribution: not sure yet
Posts: 117
Rep:
|
Sudo let-me-use-my-pendrive ?
What do I do if a usb drive decides to be read only?
In the gui I could use properties to fix this, but it needs superuser priveleges I think.
Sudo let-me-use-my-pendrive ?
Thanksfor any thoughts.
(ps its not a hardware lock)
|
|
|
12-08-2007, 05:02 PM
|
#2
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
Is it formated FAT32? You should have full access to a FAT32 USB drive, but NTFS would mount as read-only due to limitations in the kernel.
|
|
|
12-11-2007, 09:52 AM
|
#3
|
Member
Registered: Apr 2005
Distribution: not sure yet
Posts: 117
Original Poster
Rep:
|
Its vfat format.
|
|
|
12-12-2007, 10:51 AM
|
#4
|
Member
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Manjaro
Posts: 963
Rep:
|
try
sudo mount -t vfat /dev/sdxx /media/<mountpoint> rw
|
|
|
12-12-2007, 06:24 PM
|
#5
|
Member
Registered: Apr 2005
Distribution: not sure yet
Posts: 117
Original Poster
Rep:
|
ok, but how do i know what the xx part will be?
|
|
|
12-12-2007, 09:36 PM
|
#6
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
Try something like:
After plugging in the drive it should give you the device and partitions on the drive. When I plug in my USB drive I get this:
Code:
tj@T-Bird:~$ dmesg | tail
sd 2:0:0:0: [sda] Mode Sense: 00 00 00 00
sd 2:0:0:0: [sda] Assuming drive cache: write through
sd 2:0:0:0: [sda] 2015231 512-byte hardware sectors (1032 MB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Mode Sense: 00 00 00 00
sd 2:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 2:0:0:0: [sda] Attached SCSI removable disk
sd 2:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete
So as you can see, the device is sda, and it has a single partition (sda1).
|
|
|
12-17-2007, 08:00 AM
|
#7
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
If you want to see this "live", try:
Code:
tail -f /var/log/kern.log
If /var/log/kern.log isn't the right file on your system, examine /etc/syslog.conf, possibly by:
Code:
grep kern /etc/syslog.conf
|
|
|
All times are GMT -5. The time now is 10:27 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|