Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 02 Aug 2014, 04:39
All times are UTC - 4
 Forum index » Advanced Topics » Hardware
"Write protected" error from H-P USB flash sticks
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10962
Location: Arizona USA

PostPosted: Thu 07 Nov 2013, 23:59    Post subject:  "Write protected" error from H-P USB flash sticks
Subject description: Caused by "bootable" flag?
 

Yesterday I attempted to delete some stuff I had put on a Hewlett-Packard USB flash memory, and ROX said it couldn't do it because the stuff was write-protected. This happened with most of the files and folders I tried to delete, I think ROX did delete the first thing I told it to, but then refused to do any of the rest. I poked around in the permissions and couldn't see any reason why ROX would say the memory was write protected.

Then it occurred to me to see what GParted had to say about the USB flash memory. Oddly, GParted found that it was flagged as bootable. I say oddly because I didn't do it, the thing was that way right out of the package. Since I didn't intend to boot from it, I had GParted remove the "bootable" flag. After I closed GParted, I tried again to delete the files and folders and ROX complied without any complaint!

This "write protected" problem crops up periodically in the forum. Perhaps the first question to ask is whether the flash drive is flagged as bootable.
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2226

PostPosted: Fri 08 Nov 2013, 06:22    Post subject:  

Hmm, that really shouldn't have any effect. Did you unmount and then remount the drive after using gparted?

That error nearly always means that the drive is not mounted read-write. The cause of that can be various things. At other times, you may get I/O errors when trying to remove items. These are usually caused by disk/flash errors which can be fixed with fsck -unless the filesystem is FAT or ntfs.
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10962
Location: Arizona USA

PostPosted: Fri 08 Nov 2013, 08:45    Post subject:  

After mounting the FAT32 flash drive to try deleting the first time, I unmounted the flash drive in order to use GParted on it. Then I remounted it again to try deleting for the second time.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 8942
Location: Stratford, Ontario

PostPosted: Fri 08 Nov 2013, 08:59    Post subject:  

Recently, someone cleaned up a flash drive with "dosfsck /dev/sdbx".

Your other choice is to copy the files you want to keep to a temporary location, then reformat the drive.
Back to top
View user's profile Send private message 
Sylvander

Joined: 15 Dec 2008
Posts: 3401
Location: West Lothian, Scotland, UK

PostPosted: Fri 08 Nov 2013, 10:08    Post subject:  

1. Some weeks/months back...
I had a "Verbatim" 1GB Flash Drive that was being reported as "Read-only".
Turned out it had gone faulty, and the fix was to low-level re-format it using a special program.
Once that had been done it was back to normal functionality.

2. See "Success!" reported in THIS POST...
As a result of using "Super_Stick_Recovery_Tool_V1.0.2.19.rar" [don't know where you might get it now].
Back to top
View user's profile Send private message 
some1

Joined: 17 Jan 2013
Posts: 21

PostPosted: Fri 08 Nov 2013, 14:49    Post subject: digressing a bit  

I guess @amigo was unto this:

Routinely - as a first check - when usbs -unexpectedly become "writeprotected":
Unmount the -"write-protected" - usb-stick
go to the mountpoint-directory /mnt/sdxy in ROX
The mountpoint-directory ought to be empty -
otherwise mount-confusion may arise.

Reason for weird stuff in the mountpoint-directory -
may be that NOTHING was mounted on the mountpoint-directory
when a script/user expected otherwise..
i.e like cp <somestuff> /mnt/sdxy
1) usb mounted on mnt/sdxy -> stuff goes onto the usb
2) nothing mounted on mnt/sdxy -> stuff goes into the mountpoint-directory
---
The "writeprotection" may be viewed as a filesystemprotection - in case
of a fucked-up mount.-binding.
---
As said - a first check .....
before calling on Gparted etc.



Cheers
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0502s ][ Queries: 11 (0.0040s) ][ GZIP on ]