HP pendrive no estado somente leitura [duplicado]

0
$ dmesg | tail
[1103808.031688] usb 2-2: SerialNumber: A0325H14RA77001200
[1103808.032241] usb-storage 2-2:1.0: USB Mass Storage device detected
[1103808.032523] scsi host6: usb-storage 2-2:1.0
[1103809.203868] scsi 6:0:0:0: Direct-Access     hp       v210w            1100 PQ: 0 ANSI: 4
[1103809.204550] sd 6:0:0:0: Attached scsi generic sg2 type 0
[1103809.207667] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[1103809.215288] sd 6:0:0:0: [sdb] 31195648 512-byte logical blocks: (16.0 GB/14.9 GiB)
[1103809.216046] sd 6:0:0:0: [sdb] Write Protect is on
[1103809.216050] sd 6:0:0:0: [sdb] Mode Sense: 43 00 80 00
[1103809.220912]  sdb: sdb1

$ fsck -n /dev/sdb1
fsck from util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
Warning!  /dev/sdb1 is mounted.
fsck.ext2: Permission denied while trying to open /dev/sdb1
You must have r/o access to the filesystem or be root

$ fdisk -l
fdisk: cannot open /dev/loop0: Permission denied
fdisk: cannot open /dev/loop1: Permission denied
fdisk: cannot open /dev/loop2: Permission denied
fdisk: cannot open /dev/sda: Permission denied
fdisk: cannot open /dev/sdb: Permission denied

$ sudo hdparm -r0 /dev/sdb1
/dev/sdb1:
 setting readonly to 0 (off)
 readonly      =  0 (off)

$ fdisk -l
fdisk: cannot open /dev/loop0: Permission denied
fdisk: cannot open /dev/loop1: Permission denied
fdisk: cannot open /dev/loop2: Permission denied
fdisk: cannot open /dev/sda: Permission denied
fdisk: cannot open /dev/sdb: Permission denied

$ umount /dev/sdb1

$ sudo mkfs -t vfat /dev/sdb1
mkfs.fat 3.0.28 (2015-05-16)
mkfs.vfat: unable to open /dev/sdb1: Read-only file system

Como posso disponibilizar o pendrive para uso normal? Eu uso o Ubuntu 16.04

    
por Ramraj V 18.07.2017 / 10:22

0 respostas