[SOLVED] usb drive: cannot remount block device /dev/sdb1 read-write, is write-protected
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
usb drive: cannot remount block device /dev/sdb1 read-write, is write-protected
hi, i have a usb thumb drive that has been running my xbmc full install for a couple of years. now it wont boot and i suspect its because the drive keeps complaining about being write-protected:
[schneidz@hyper ~]$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Bus 001 Device 012: ID 13fe:5200 Kingston Technology Company Inc.
[schneidz@hyper ~]$ sudo fdisk -l /dev/sdb
Disk /dev/sdb: 31.0 GB, 31009800192 bytes
255 heads, 63 sectors/track, 3770 cylinders, total 60566016 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc3072e18
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 20482047 10240000 83 Linux
/dev/sdb2 20482048 60534783 20026368 83 Linux
[schneidz@hyper ~]$ mount
/dev/sdb1 on /media/d9788d9b-9612-4983-830d-3ca680e715fe type ext2 (ro,nosuid,nodev,relatime,seclabel,errors=continue,uhelper=udisks)
/dev/sdb2 on /media/xbmc-data type ext2 (ro,nosuid,nodev,relatime,seclabel,errors=continue,uhelper=udisks)
[schneidz@hyper ~]$ sudo hdparm -r0 /dev/sdb
setting readonly to 0 (off)
readonly = 0 (off)
[schneidz@hyper ~]$ sudo mount -o remount,rw /dev/sdb1
mount: cannot remount block device /dev/sdb1 read-write, is write-protected
[schneidz@hyper ~]$ fsck -v /dev/sdb1
fsck from util-linux 2.19.1
e2fsck 1.41.14 (22-Dec-2010)
fsck.ext2: Read-only file system while trying to open /dev/sdb1
Disk write-protected; use the -n option to do a read-only
check of the device.
how to remove the write-protection (gparted wont format it) ?
i am able to copy all the files off of it but i just cant modify any of the files.