USB stick is set to read-only, how to change it? (Solved)
USB stick is set to read-only, how to change it? (Solved)
Hello,
Everytime I use my USB stick on puppy, it's read only.
It wasn't the case months ago.
Very annoying.
What can I do ?
Everytime I use my USB stick on puppy, it's read only.
It wasn't the case months ago.
Very annoying.
What can I do ?
Main puppy used : LxPup tahr.
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=97623]Multiple package installer/remover.[/url]
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=97623]Multiple package installer/remover.[/url]
- MochiMoppel
- Posts: 2084
- Joined: Wed 26 Jan 2011, 09:06
- Location: Japan
File system is FAT32? Happened to me twice.
You could try to repair the corrupt fs with Puppy (I tried with command fsck /dev/sdb1, but never succeeded), or you could try to use the stick on a Windows machine. I think in XP it was Right-click - Properties - Tools -Scan for bad sectors. This did the trick for me. After all MS should know best how to repair its own creation
You could try to repair the corrupt fs with Puppy (I tried with command fsck /dev/sdb1, but never succeeded), or you could try to use the stick on a Windows machine. I think in XP it was Right-click - Properties - Tools -Scan for bad sectors. This did the trick for me. After all MS should know best how to repair its own creation
- MochiMoppel
- Posts: 2084
- Joined: Wed 26 Jan 2011, 09:06
- Location: Japan
http://ubuntuforums.org/showthread.php?t=1203357
http://askubuntu.com/questions/147228/h ... ile-system
So we need fsck.vfat command for fat32 fs.
Or testdisk is also recommended.
http://askubuntu.com/questions/147228/h ... ile-system
So we need fsck.vfat command for fat32 fs.
Or testdisk is also recommended.
It depends very much on your use and requirements.
If you are transferring a lot of data to none known devices - then FAT32 or FATExt are better since they are more widely read - though this is less a problem nowadays.
If you are repeatedly writing to the USB Fat32 and FATExt will use up the write cycles more slowly since each NTFS write uses extra cycles for the journal as well.
If You are writing seldom, but reading a lot then NTFS is the way to go especially with many small files.
Of course none of this explains why it has suddenly become read only, though there IS a bit (flag) than can be set to make it do this. on some sticks.
If you are transferring a lot of data to none known devices - then FAT32 or FATExt are better since they are more widely read - though this is less a problem nowadays.
If you are repeatedly writing to the USB Fat32 and FATExt will use up the write cycles more slowly since each NTFS write uses extra cycles for the journal as well.
If You are writing seldom, but reading a lot then NTFS is the way to go especially with many small files.
Of course none of this explains why it has suddenly become read only, though there IS a bit (flag) than can be set to make it do this. on some sticks.
"Just think of it as leaving early to avoid the rush" - T Pratchett
Gparted can't fix a read-only drive. It won't even access it and will search until doomsdayFlash wrote:I had some kind of problem with a couple of FAT-32 flash drives, I can't remember if Puppy said they were "read-only" or what, but Gparted found that the boot flag was set, which I didn't need, and the problem went away after removing the boot flag with Gparted.
.
- Mike Walsh
- Posts: 6351
- Joined: Sat 28 Jun 2014, 12:42
- Location: King's Lynn, UK.
Hi, totolanio.
May have nothing at all to do with this, but.....your 'stick' isn't a SanDisk Cruzer 'Blade', by any chance?
The reason I ask is because SanDisk had a major manufacturing upset with the 'Blades' a couple or three years ago.....and their advice was that 'there is no 'fix'.' Send it back to them, and get a replacement.
It turned out they'd purchased a huge 'duff' batch of flash controller chips from Hynix, who refused to take them back.....especially since the problem only appeared totally at random. Once the chips went into 'read-only' mode, that was it. There was no solution. The SanDisk forums, at the time, were snowed under with complaints from people with exactly this problem; the outcome being, of course, that there are still hundreds of thousands of these sticks floating around out there in the marketplace.
It seemed to specifically concern the 16 GB models.....although there were reports of some 8 GB models being affected, too.
Mike.
May have nothing at all to do with this, but.....your 'stick' isn't a SanDisk Cruzer 'Blade', by any chance?
The reason I ask is because SanDisk had a major manufacturing upset with the 'Blades' a couple or three years ago.....and their advice was that 'there is no 'fix'.' Send it back to them, and get a replacement.
It turned out they'd purchased a huge 'duff' batch of flash controller chips from Hynix, who refused to take them back.....especially since the problem only appeared totally at random. Once the chips went into 'read-only' mode, that was it. There was no solution. The SanDisk forums, at the time, were snowed under with complaints from people with exactly this problem; the outcome being, of course, that there are still hundreds of thousands of these sticks floating around out there in the marketplace.
It seemed to specifically concern the 16 GB models.....although there were reports of some 8 GB models being affected, too.
Mike.
Then Puppy must not have said the drive was read-only, though I can't imagine what else the problem could have been. All I can remember for sure is that the problem was gone after the boot flag was removed.nic007 wrote:Gparted can't fix a read-only drive. It won't even access it and will search until doomsday.
Gparted can't access a read-only drive so you can't change the flag options with it.Flash wrote:Then Puppy must not have said the drive was read-only, though I can't imagine what else the problem could have been. All I can remember for sure is that the problem was gone after the boot flag was removed.nic007 wrote:Gparted can't fix a read-only drive. It won't even access it and will search until doomsday.
Guys, I tried to reformat this usb stick so I unmount it and open gparted and it never detects anything, it keeps hanging at "searching partitions in /dev/sdb". I also tried to mount the USB stick, open Gparted, unmount in gparted and it did the same exact thing.
I tried it on ubuntu 14.04 and on puppylinux tahr.
So I can't reformat the USB stick o_0, what can I do please ?
I tried it on ubuntu 14.04 and on puppylinux tahr.
So I can't reformat the USB stick o_0, what can I do please ?
Main puppy used : LxPup tahr.
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=97623]Multiple package installer/remover.[/url]
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=97623]Multiple package installer/remover.[/url]
So I must do this first :
??File system is FAT32? Happened to me twice.
You could try to repair the corrupt fs with Puppy (I tried with command fsck /dev/sdb1, but never succeeded), or you could try to use the stick on a Windows machine. I think in XP it was Right-click - Properties - Tools -Scan for bad sectors. This did the trick for me. After all MS should know best how to repair its own creation Wink
Main puppy used : LxPup tahr.
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=97623]Multiple package installer/remover.[/url]
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=97623]Multiple package installer/remover.[/url]
Sometimes it may be worth checking the output of dmesg as sometimes a failure of the system to mount a filesystem read-write gets reported:
In my past experience I have had one instance of a 128MB usb drive that went read only and not even a low level reformat was possible. In a couple of other cases read only was a result of filesystem write failures which required a reformat. Nowdays, its easier to get USB 3.0 compatible usb drives at low cost and so far (for me anyway) have worked without issue.
Code: Select all
cat /var/log/messages | grep -i mount