USB stick appears as “read-only file”. How can I make it writable? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Can't format my usb drive. I have already tried with mkdosfs and gpartedUSB Device first mounted as root, then by userCan't format USB driveTrying to install Ubuntu 12.10 on iBook G4 from a USB keyHow can I get all USB storage device to mount as read-only or offer no mount options at all?USB drive mount point bugs outThunar cannot write to USB pen as a normal userUSB drive sudden write-protectionExternal and internal user mounted storage devices permissions issueHow to fix read-only usb drive?USB sticks and video devices not recognized
Asymptotics question
How often does castling occur in grandmaster games?
Was Kant an Intuitionist about mathematical objects?
Does silver oxide react with hydrogen sulfide?
Tips to organize LaTeX presentations for a semester
A proverb that is used to imply that you have unexpectedly faced a big problem
Special flights
Resize vertical bars (absolute-value symbols)
Why is a lens darker than other ones when applying the same settings?
Why are vacuum tubes still used in amateur radios?
Putting class ranking in CV, but against dept guidelines
Why BitLocker does not use RSA
My mentor says to set image to Fine instead of RAW — how is this different from JPG?
What is a more techy Technical Writer job title that isn't cutesy or confusing?
Most effective melee weapons for arboreal combat? (pre-gunpowder technology)
AppleTVs create a chatty alternate WiFi network
As a dual citizen, my US passport will expire one day after traveling to the US. Will this work?
Is there any word for a place full of confusion?
How were pictures turned from film to a big picture in a picture frame before digital scanning?
Does the Mueller report show a conspiracy between Russia and the Trump Campaign?
Why datecode is SO IMPORTANT to chip manufacturers?
Random body shuffle every night—can we still function?
malloc in main() or malloc in another function: allocating memory for a struct and its members
What initially awakened the Balrog?
USB stick appears as “read-only file”. How can I make it writable?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Can't format my usb drive. I have already tried with mkdosfs and gpartedUSB Device first mounted as root, then by userCan't format USB driveTrying to install Ubuntu 12.10 on iBook G4 from a USB keyHow can I get all USB storage device to mount as read-only or offer no mount options at all?USB drive mount point bugs outThunar cannot write to USB pen as a normal userUSB drive sudden write-protectionExternal and internal user mounted storage devices permissions issueHow to fix read-only usb drive?USB sticks and video devices not recognized
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
My USB stick turned out to be read-only. I want it to be writable.
I've tried many ways to fix it, but it's not working out.
root@vk:~# mount -o remount,rw '/media/vk/C84D-2766/'
mount: /media/vk/C84D-2766: cannot remount /dev/sdb1 read-write, is write-protected.
usb-drive
add a comment |
My USB stick turned out to be read-only. I want it to be writable.
I've tried many ways to fix it, but it's not working out.
root@vk:~# mount -o remount,rw '/media/vk/C84D-2766/'
mount: /media/vk/C84D-2766: cannot remount /dev/sdb1 read-write, is write-protected.
usb-drive
Did you try to plug it into a Windows machine? Maybe the controller of the USB stick is damaged.
– M. Dm.
Oct 25 '17 at 8:58
3
When that happens out of the blue it usually means the stick is busted. Replace it as it will no longer work.
– user692175
Oct 25 '17 at 14:06
add a comment |
My USB stick turned out to be read-only. I want it to be writable.
I've tried many ways to fix it, but it's not working out.
root@vk:~# mount -o remount,rw '/media/vk/C84D-2766/'
mount: /media/vk/C84D-2766: cannot remount /dev/sdb1 read-write, is write-protected.
usb-drive
My USB stick turned out to be read-only. I want it to be writable.
I've tried many ways to fix it, but it's not working out.
root@vk:~# mount -o remount,rw '/media/vk/C84D-2766/'
mount: /media/vk/C84D-2766: cannot remount /dev/sdb1 read-write, is write-protected.
usb-drive
usb-drive
edited 14 mins ago
Zanna
51.5k13141244
51.5k13141244
asked Oct 25 '17 at 8:15
vamshi krishna vkvamshi krishna vk
62
62
Did you try to plug it into a Windows machine? Maybe the controller of the USB stick is damaged.
– M. Dm.
Oct 25 '17 at 8:58
3
When that happens out of the blue it usually means the stick is busted. Replace it as it will no longer work.
– user692175
Oct 25 '17 at 14:06
add a comment |
Did you try to plug it into a Windows machine? Maybe the controller of the USB stick is damaged.
– M. Dm.
Oct 25 '17 at 8:58
3
When that happens out of the blue it usually means the stick is busted. Replace it as it will no longer work.
– user692175
Oct 25 '17 at 14:06
Did you try to plug it into a Windows machine? Maybe the controller of the USB stick is damaged.
– M. Dm.
Oct 25 '17 at 8:58
Did you try to plug it into a Windows machine? Maybe the controller of the USB stick is damaged.
– M. Dm.
Oct 25 '17 at 8:58
3
3
When that happens out of the blue it usually means the stick is busted. Replace it as it will no longer work.
– user692175
Oct 25 '17 at 14:06
When that happens out of the blue it usually means the stick is busted. Replace it as it will no longer work.
– user692175
Oct 25 '17 at 14:06
add a comment |
3 Answers
3
active
oldest
votes
just ran into this issue, found this solution for msdos-formatted drives at least.
1: Find out the name and partition name of the drive:
df -Th
2: unmount the drive:
umount /media/<your name>/<your drive>
3: fix the drive:
sudo dosfsck -a /dev/<your partition>
4: remove the drive and put it back in.
5: you're done!
NOTE: This will NOT delete your files assuming they are undamaged in the first place.
add a comment |
Your USB stick might be failing physically
- Please read the whole answer before you start doing things with your USB stick!
Save your files to another drive, while you can still read them!After that, unmount and try to mount the partition manually with
UUID=C84D-2766
.sudo umount /dev/sdx?
where
x
is the drive letter (in your questionb
, so/dev/sdb?
)sudo mount -U C84D-2766 /mnt
You can check with
sudo lsblk -f
and try to write to the partition.
If that does not work, try to repair the file system.
The UUID tells me that it is a FAT file system, and it is best to repair it with Windows tools (either via the graphical user interface in Windows or with
chkdsk /f X:
where X: is the drive letter in Windows.
This link has more details and alternatives,
Repair the partition table and file system of a pendrive
If that does not work, try to restore the drive to a standard storage device with mkusb according to these links,
help.ubuntu.com/community/mkusb
help.ubuntu.com/community/mkusb/wipe
Please notice that this will delete all files, so you must save the files before doing it.
If that does not work, the USB stick is probably 'gridlocked'.
The following link describes with more details what you can do to analyze the problem and what you can try before giving up,
Can't format my usb drive. I have already tried with mkdosfs and gparted
The drive is read-only: I do not mean that there is a read-only file system, but that the drive is readable but not writable (like a
CDROM or DVD). This might be caused by some help system or competing
system, so it is worthwhile to try according to this list,
- On some pendrives and on many memory cards there is a small mechanical switch for write protection, that can toggle between
read/write and read-only. You might have set it read-only without
intention. - Reboot the computer and try again to restore or wipe the first megabyte with mkusb.
- Disconnect other USB devices. Sometimes USB devices can disturb the function for each other.
- Try other USB ports, and/or other card adapters.
- Try another computer.
- Try another operating system (Windows, MacOS) in another computer.
- If you still cannot wipe the first megabyte of the drive, and the drive is read-only, it is probably 'gridlocked', and the next stage is
that it will be completely 'bricked'. There is a limit, when you have
to accept that the pendrive is damaged beyond repair, at least with
tools available to normal users like you and me. See this link:
Pendrive lifetime
- On some pendrives and on many memory cards there is a small mechanical switch for write protection, that can toggle between
add a comment |
The only thing that worked for me was to install GParted from Ubuntu Software, reformat and create a new partition on the device (/dev/sdb in my case). Not sure if this was a problem with the filesystem on the USB stick or a bug within Ubuntu.
New contributor
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f968951%2fusb-stick-appears-as-read-only-file-how-can-i-make-it-writable%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
just ran into this issue, found this solution for msdos-formatted drives at least.
1: Find out the name and partition name of the drive:
df -Th
2: unmount the drive:
umount /media/<your name>/<your drive>
3: fix the drive:
sudo dosfsck -a /dev/<your partition>
4: remove the drive and put it back in.
5: you're done!
NOTE: This will NOT delete your files assuming they are undamaged in the first place.
add a comment |
just ran into this issue, found this solution for msdos-formatted drives at least.
1: Find out the name and partition name of the drive:
df -Th
2: unmount the drive:
umount /media/<your name>/<your drive>
3: fix the drive:
sudo dosfsck -a /dev/<your partition>
4: remove the drive and put it back in.
5: you're done!
NOTE: This will NOT delete your files assuming they are undamaged in the first place.
add a comment |
just ran into this issue, found this solution for msdos-formatted drives at least.
1: Find out the name and partition name of the drive:
df -Th
2: unmount the drive:
umount /media/<your name>/<your drive>
3: fix the drive:
sudo dosfsck -a /dev/<your partition>
4: remove the drive and put it back in.
5: you're done!
NOTE: This will NOT delete your files assuming they are undamaged in the first place.
just ran into this issue, found this solution for msdos-formatted drives at least.
1: Find out the name and partition name of the drive:
df -Th
2: unmount the drive:
umount /media/<your name>/<your drive>
3: fix the drive:
sudo dosfsck -a /dev/<your partition>
4: remove the drive and put it back in.
5: you're done!
NOTE: This will NOT delete your files assuming they are undamaged in the first place.
answered Apr 26 '18 at 14:57
OlleOlle
212
212
add a comment |
add a comment |
Your USB stick might be failing physically
- Please read the whole answer before you start doing things with your USB stick!
Save your files to another drive, while you can still read them!After that, unmount and try to mount the partition manually with
UUID=C84D-2766
.sudo umount /dev/sdx?
where
x
is the drive letter (in your questionb
, so/dev/sdb?
)sudo mount -U C84D-2766 /mnt
You can check with
sudo lsblk -f
and try to write to the partition.
If that does not work, try to repair the file system.
The UUID tells me that it is a FAT file system, and it is best to repair it with Windows tools (either via the graphical user interface in Windows or with
chkdsk /f X:
where X: is the drive letter in Windows.
This link has more details and alternatives,
Repair the partition table and file system of a pendrive
If that does not work, try to restore the drive to a standard storage device with mkusb according to these links,
help.ubuntu.com/community/mkusb
help.ubuntu.com/community/mkusb/wipe
Please notice that this will delete all files, so you must save the files before doing it.
If that does not work, the USB stick is probably 'gridlocked'.
The following link describes with more details what you can do to analyze the problem and what you can try before giving up,
Can't format my usb drive. I have already tried with mkdosfs and gparted
The drive is read-only: I do not mean that there is a read-only file system, but that the drive is readable but not writable (like a
CDROM or DVD). This might be caused by some help system or competing
system, so it is worthwhile to try according to this list,
- On some pendrives and on many memory cards there is a small mechanical switch for write protection, that can toggle between
read/write and read-only. You might have set it read-only without
intention. - Reboot the computer and try again to restore or wipe the first megabyte with mkusb.
- Disconnect other USB devices. Sometimes USB devices can disturb the function for each other.
- Try other USB ports, and/or other card adapters.
- Try another computer.
- Try another operating system (Windows, MacOS) in another computer.
- If you still cannot wipe the first megabyte of the drive, and the drive is read-only, it is probably 'gridlocked', and the next stage is
that it will be completely 'bricked'. There is a limit, when you have
to accept that the pendrive is damaged beyond repair, at least with
tools available to normal users like you and me. See this link:
Pendrive lifetime
- On some pendrives and on many memory cards there is a small mechanical switch for write protection, that can toggle between
add a comment |
Your USB stick might be failing physically
- Please read the whole answer before you start doing things with your USB stick!
Save your files to another drive, while you can still read them!After that, unmount and try to mount the partition manually with
UUID=C84D-2766
.sudo umount /dev/sdx?
where
x
is the drive letter (in your questionb
, so/dev/sdb?
)sudo mount -U C84D-2766 /mnt
You can check with
sudo lsblk -f
and try to write to the partition.
If that does not work, try to repair the file system.
The UUID tells me that it is a FAT file system, and it is best to repair it with Windows tools (either via the graphical user interface in Windows or with
chkdsk /f X:
where X: is the drive letter in Windows.
This link has more details and alternatives,
Repair the partition table and file system of a pendrive
If that does not work, try to restore the drive to a standard storage device with mkusb according to these links,
help.ubuntu.com/community/mkusb
help.ubuntu.com/community/mkusb/wipe
Please notice that this will delete all files, so you must save the files before doing it.
If that does not work, the USB stick is probably 'gridlocked'.
The following link describes with more details what you can do to analyze the problem and what you can try before giving up,
Can't format my usb drive. I have already tried with mkdosfs and gparted
The drive is read-only: I do not mean that there is a read-only file system, but that the drive is readable but not writable (like a
CDROM or DVD). This might be caused by some help system or competing
system, so it is worthwhile to try according to this list,
- On some pendrives and on many memory cards there is a small mechanical switch for write protection, that can toggle between
read/write and read-only. You might have set it read-only without
intention. - Reboot the computer and try again to restore or wipe the first megabyte with mkusb.
- Disconnect other USB devices. Sometimes USB devices can disturb the function for each other.
- Try other USB ports, and/or other card adapters.
- Try another computer.
- Try another operating system (Windows, MacOS) in another computer.
- If you still cannot wipe the first megabyte of the drive, and the drive is read-only, it is probably 'gridlocked', and the next stage is
that it will be completely 'bricked'. There is a limit, when you have
to accept that the pendrive is damaged beyond repair, at least with
tools available to normal users like you and me. See this link:
Pendrive lifetime
- On some pendrives and on many memory cards there is a small mechanical switch for write protection, that can toggle between
add a comment |
Your USB stick might be failing physically
- Please read the whole answer before you start doing things with your USB stick!
Save your files to another drive, while you can still read them!After that, unmount and try to mount the partition manually with
UUID=C84D-2766
.sudo umount /dev/sdx?
where
x
is the drive letter (in your questionb
, so/dev/sdb?
)sudo mount -U C84D-2766 /mnt
You can check with
sudo lsblk -f
and try to write to the partition.
If that does not work, try to repair the file system.
The UUID tells me that it is a FAT file system, and it is best to repair it with Windows tools (either via the graphical user interface in Windows or with
chkdsk /f X:
where X: is the drive letter in Windows.
This link has more details and alternatives,
Repair the partition table and file system of a pendrive
If that does not work, try to restore the drive to a standard storage device with mkusb according to these links,
help.ubuntu.com/community/mkusb
help.ubuntu.com/community/mkusb/wipe
Please notice that this will delete all files, so you must save the files before doing it.
If that does not work, the USB stick is probably 'gridlocked'.
The following link describes with more details what you can do to analyze the problem and what you can try before giving up,
Can't format my usb drive. I have already tried with mkdosfs and gparted
The drive is read-only: I do not mean that there is a read-only file system, but that the drive is readable but not writable (like a
CDROM or DVD). This might be caused by some help system or competing
system, so it is worthwhile to try according to this list,
- On some pendrives and on many memory cards there is a small mechanical switch for write protection, that can toggle between
read/write and read-only. You might have set it read-only without
intention. - Reboot the computer and try again to restore or wipe the first megabyte with mkusb.
- Disconnect other USB devices. Sometimes USB devices can disturb the function for each other.
- Try other USB ports, and/or other card adapters.
- Try another computer.
- Try another operating system (Windows, MacOS) in another computer.
- If you still cannot wipe the first megabyte of the drive, and the drive is read-only, it is probably 'gridlocked', and the next stage is
that it will be completely 'bricked'. There is a limit, when you have
to accept that the pendrive is damaged beyond repair, at least with
tools available to normal users like you and me. See this link:
Pendrive lifetime
- On some pendrives and on many memory cards there is a small mechanical switch for write protection, that can toggle between
Your USB stick might be failing physically
- Please read the whole answer before you start doing things with your USB stick!
Save your files to another drive, while you can still read them!After that, unmount and try to mount the partition manually with
UUID=C84D-2766
.sudo umount /dev/sdx?
where
x
is the drive letter (in your questionb
, so/dev/sdb?
)sudo mount -U C84D-2766 /mnt
You can check with
sudo lsblk -f
and try to write to the partition.
If that does not work, try to repair the file system.
The UUID tells me that it is a FAT file system, and it is best to repair it with Windows tools (either via the graphical user interface in Windows or with
chkdsk /f X:
where X: is the drive letter in Windows.
This link has more details and alternatives,
Repair the partition table and file system of a pendrive
If that does not work, try to restore the drive to a standard storage device with mkusb according to these links,
help.ubuntu.com/community/mkusb
help.ubuntu.com/community/mkusb/wipe
Please notice that this will delete all files, so you must save the files before doing it.
If that does not work, the USB stick is probably 'gridlocked'.
The following link describes with more details what you can do to analyze the problem and what you can try before giving up,
Can't format my usb drive. I have already tried with mkdosfs and gparted
The drive is read-only: I do not mean that there is a read-only file system, but that the drive is readable but not writable (like a
CDROM or DVD). This might be caused by some help system or competing
system, so it is worthwhile to try according to this list,
- On some pendrives and on many memory cards there is a small mechanical switch for write protection, that can toggle between
read/write and read-only. You might have set it read-only without
intention. - Reboot the computer and try again to restore or wipe the first megabyte with mkusb.
- Disconnect other USB devices. Sometimes USB devices can disturb the function for each other.
- Try other USB ports, and/or other card adapters.
- Try another computer.
- Try another operating system (Windows, MacOS) in another computer.
- If you still cannot wipe the first megabyte of the drive, and the drive is read-only, it is probably 'gridlocked', and the next stage is
that it will be completely 'bricked'. There is a limit, when you have
to accept that the pendrive is damaged beyond repair, at least with
tools available to normal users like you and me. See this link:
Pendrive lifetime
- On some pendrives and on many memory cards there is a small mechanical switch for write protection, that can toggle between
edited Apr 26 '18 at 15:38
answered Apr 26 '18 at 15:28
sudodussudodus
25.8k33178
25.8k33178
add a comment |
add a comment |
The only thing that worked for me was to install GParted from Ubuntu Software, reformat and create a new partition on the device (/dev/sdb in my case). Not sure if this was a problem with the filesystem on the USB stick or a bug within Ubuntu.
New contributor
add a comment |
The only thing that worked for me was to install GParted from Ubuntu Software, reformat and create a new partition on the device (/dev/sdb in my case). Not sure if this was a problem with the filesystem on the USB stick or a bug within Ubuntu.
New contributor
add a comment |
The only thing that worked for me was to install GParted from Ubuntu Software, reformat and create a new partition on the device (/dev/sdb in my case). Not sure if this was a problem with the filesystem on the USB stick or a bug within Ubuntu.
New contributor
The only thing that worked for me was to install GParted from Ubuntu Software, reformat and create a new partition on the device (/dev/sdb in my case). Not sure if this was a problem with the filesystem on the USB stick or a bug within Ubuntu.
New contributor
New contributor
answered 10 hours ago
Theodor StoicanTheodor Stoican
1
1
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f968951%2fusb-stick-appears-as-read-only-file-how-can-i-make-it-writable%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Did you try to plug it into a Windows machine? Maybe the controller of the USB stick is damaged.
– M. Dm.
Oct 25 '17 at 8:58
3
When that happens out of the blue it usually means the stick is busted. Replace it as it will no longer work.
– user692175
Oct 25 '17 at 14:06