Can't format USB flash drive, says it's read only
location: ubuntuforums.com - date: September 26, 2013
I wanted to transfer something over to my laptop so I decided to use an old 16GB flash drive, had to format it first though. So, I plugged it in, went into fdisk, removed all partitions, made a new partition and when I tried to write, it gave me the following message:
The partition table has been altered!
Calling ioctl() to re-read partition table.
Error closing file
Nothing happened at all, that was not what I expected it to do. So I tried to format one of the existing partitions instead:
# mkfs.ext2 /dev/sdb2
Which gave me this:
/dev/sdb2: Read-only file system while setting up superblock
# hdparm -r0 /dev/sdb
setting readonly to 0 (off)
readonly = 0 (off)
/dev/sdb2: Read-only file system while setting up superblock
*sigh* No results. So, does anyone have any ideas on how can I format this thing? It's only that one flash drive that makes problems, others work perfectly, I tried googl
Cannot format USB flash drive
location: ubuntuforums.com - date: June 21, 2011
This is a Windows problem, but I hope I can ask here. There are many knowledgeable people here and maybe Ubuntu has a solution.
Copying in Win7 from my USB-stick it got write protected!
In Win 7 I have tried the following to remove wp:
1. changing properties
2. Change keys in regedit regedit (HKEY_LOCAL_MACHINE\SYSTEM\CurrrentControlSet\Cont rol\ and select New -> Key.
Enter the name StorageDevicePolicies ... )
3. Format in DOS-prompt, Win7 or Linux
4. Low level format with two different pgms (LLF and one from apacer, apacer pgm did not find stick though)
5. diskpart (attributes disk clear readonly
6. Linux: null device with dd. Chmod, rm -R *
7. Total Commander, Gparted.
It is not possible to remove the write protect. I cannot use the stick.
In Linux it looks like I can read and write the stick but not format it. But it only looks like files get written to the stick. At next mount the files are not there. (I naturally use "safe removal".)
Format USB Flash Drive to be compatible on Windows, Linux and OS X [duplicate]
location: linuxexchange.com - date: January 1, 1970
Which Large File System Format to use for USB Flash drive compatible with Ubuntu/Mac/Windows?
I am trying to copy my data from Linux (Fedora ) to Windows OS? My 16 gb usb should be formatted in which format?
My file is around 12 GB that I need to copy in USB Flash Drive.
Then I have to run my program on Mac Computers which have Unix installed them.
flash drive mounting as read only
- date: March 1, 2012
Hi! I have a Kensington Flash Drive that I bought a month ago, formatted as NTFS, and have been using happily since then. Suddenly I'm discovering that Ubuntu treats it as Read-Only. Can anyone possibly help me to puzzle this out?
Here are the listings of mount and cat /etc/fstab. The drive is called sprite. I use it in both Windows and Ubuntu, but mainly Ubuntu. I am running Ubuntu 11.10.
/dev/sda5 on / type ext4 (rw,errors=remount-ro,commit=0)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm ty
USB Flash Drive: No Media Detected; Format gets: exit code 1: cannot open /dev/sdb:
location: linuxquestions.com - date: August 9, 2011
I'm trying to troubleshoot a 8gb USB flash drive which linux (ubuntu narwhal) recognizes but is unable to properly mount or format.
In disk utility, it shows as
FLASH Drive SM_USB20
Capacity No Media Detected
Serial No (this is present and valid)
SMART Status Not Supported
When I try to format the drive, i get several optiobns intlucing Master Boot Record, GUID table, none, and Apple. Doesn't matter which option I pick, I get the same error for all of them:
"An error occurred while performin an operation on "FLASH Drive SM_USB20" (FLASH Drive SM_USB20): the operation failed"
with a drop-down details box which says:
"Error creating partition table: helper exited with exit code 1: cannot open /dev/sdb: No medium found"
I did search the site and found a similar thread however it did not address the no medium found issue and also the op's issue was not resolved.
When I stick this thumb drive into a macint
usb flash drive format error
location: ubuntuforums.com - date: March 21, 2012
Hi, I have a problem with a 16gb usb flash drive. The problem arose after trying to install a version of ubuntu (version Qbuntu, ubuntu 10.04 modified by University of Barcelona faculty of chemistry), but the installation failed. then i tried to format the usb in ubuntu and this failed with message "Error creating file system: helper exited with exit code 1: Error calling fsync (2) on / dev/sdc1: Input / output error". then i tried to format it in windows and failed again with the classic error "disk is write protected" and then i tried many solutions (regedit-writeprotect /, usbwp /, ..) but none worked. the usb has lever , and as I am a newbie with ubuntu, i dont know what to do. if anyone have any solution please reply. Thank you.
How to format a usb flash drive
location: linuxquestions.com - date: April 19, 2006
firstly I am not sure if it's more hardware than software issue.
Anyway I have a 512MB flash drive/ radio. I used it to transfer files from a win98 in work to Fedora Core 3/winXP system back home.
First the XP stopped to recognise the drive saying it was unformatted. It didn't mind me much since fedora worked fine as win98 also.
But then win98 failed and finally fedora also.
Now only Suse 10 recognise it but it crashes after a while if I see it with Konqueror.
I tried to format it with XP failde, I figured with linux it would be ok if I choose fat32.
With mkfs.ext3 all seemed to work but when the process is over nothing has changed. Old data are still on the flash. The same occur with mkfs.fat (or something like that I can't remember whether is fat32 or fat).
How could I low level format it. And I guess formatting means lossing all data right. I can't figure why is this happening.
My radio now it doesn't work either and just displays "wrong file
USB flash drive (Pen drive) mounts read only
location: linuxquestions.com - date: December 8, 2006
This is driving me nuts.
I have FC5.
I have a USB flash drive of 512 MB.
When I insert this into a USB port, the drive is automatically mounted. But it mounts read only. I am not able to delete, copy, change permissions etc of any file on the disk.
It seems strange.
I have gone to the "Removable Drives and Media" in the preference menu, but nowhere any control is provided.
When I mount it by giving "mount -t vfat -o rw /dev/sdb1 /media/disk", it mounts. But again when I try to delete a file, It gives the error "read-only file system".
Surprisingly, in my home PC (with FC5) when I insert this drive I find that the I am able to delete, copy etc etc.
Any help friends ?
Also friends, can we format this flash drive ?
Thanks in advance
[SOLVED] USB Flash Drive Read Only
location: ubuntuforums.com - date: August 24, 2008
Earlier this evening, I copied some files to a 16 GB flash drive. When I was done, I right clicked on the desktop icon and selected unmount. A dialog box which said it was safe to remove popped up. So I removed it. A little while later I plugged it back in to recopy a file I had changed. Only one the video podcast folder and my bookmark back-up is displayed on the drive. Yet, it says there are 8 files with 12.1 GB of the 16 being free. It won't let me do anything with it cause it says it is read-only.
How do I get full access back?
[SOLVED] Usb flash drive error: Unable to read mount point
location: linuxquestions.com - date: November 18, 2010
See attached screenshot.
Let me know what to do.
Also I have all files it asks for installed including dostools
Btw I used usb creator, then went to gparted and did something. The system is fat 32 now but with same message, not including ext4 part. Just the mount point message, and something about dosftools and mtools, wihich also are installed.
Page: 1 2 3 4 5 6 7 8 9 10