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 Wed 26 Nov 2014, 22:53
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 Posts_count  
Author Message
Flash
Official Dog Handler


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

PostPosted: Thu 07 Nov 2013, 23:59    Post_subject:  "Write protected" error from H-P USB flash sticks
Sub_title: 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: 2278

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: 11164
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: 9260
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: 3518
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: 34

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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Hardware
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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