با سلام
آقا من یه فلش ۳۲ گیگ دارم که با برنامه disks فرمتش کردم و حالا هیچ سیستم عاملی این فلش رو نمیشناسه.توی اینترنت خیلی سرچ کردم ولی به جایی نرسیم.
وقتی فلشو میندازم برنامه disks میشناسه و حجمش رو هم نشون میده ولی گزینه فرمت فعال نیست.ولی برنامه Gpart کلا نمیشناسه.
اینم خروجی دستورات فرمت که میزنم.:
fdisk -l
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 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
Disklabel type: dos
Disk identifier: 0x4531f9d5
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 1026047 1024000 500M 7 HPFS/NTFS/exFAT
/dev/sda2 1026048 126978047 125952000 60.1G 7 HPFS/NTFS/exFAT
/dev/sda3 126980094 976771071 849790978 405.2G f W95 Ext'd (LBA)
/dev/sda5 126980096 232869887 105889792 50.5G 7 HPFS/NTFS/exFAT
/dev/sda6 297408512 717918207 420509696 200.5G 7 HPFS/NTFS/exFAT
/dev/sda7 717920256 976771071 258850816 123.4G 7 HPFS/NTFS/exFAT
/dev/sda8 290953278 297395279 6442002 3.1G 82 Linux swap / Solaris
/dev/sda9 * 232871936 290953215 58081280 27.7G 83 Linux
Partition table entries are not in disk order.
Disk /dev/sdb: 28.9 GiB, 31037849600 bytes, 60620800 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
و وقتی میخوام وارد fdisk بشم:
root@dhcppc1:~# fdisk /dev/sdb
Welcome to fdisk (util-linux 2.27.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
fdisk: cannot open /dev/sdb: Read-only file system
وقتی میخوام فرمتش کنم:
root@dhcppc1:~# sudo mkfs.vfat /dev/sdb1
mkfs.fat 3.0.28 (2015-05-16)
/dev/sdb1: No such file or directory
root@dhcppc1:~# sudo mkfs.vfat /dev/sdb
mkfs.fat 3.0.28 (2015-05-16)
mkfs.vfat: unable to open /dev/sdb: Read-only file system
وقتی میخوام unmout کنم:
root@dhcppc1:~# umount /dev/sdb
umount: /dev/sdb: not mounted
اینم خروجی دیمسیج:
root@dhcppc1:~# dmesg | tail
[ 1651.673432] usb 4-1.3: SerialNumber: 1511219440200058
[ 1651.673852] usb-storage 4-1.3:1.0: USB Mass Storage device detected
[ 1651.673977] scsi host5: usb-storage 4-1.3:1.0
[ 1652.674482] scsi 5:0:0:0: Direct-Access ADATA USB Flash Drive 1.00 PQ: 0 ANSI: 6
[ 1652.675320] sd 5:0:0:0: Attached scsi generic sg2 type 0
[ 1652.675850] sd 5:0:0:0: [sdb] 60620800 512-byte logical blocks: (31.0 GB/28.9 GiB)
[ 1652.676236] sd 5:0:0:0: [sdb] Write Protect is on
[ 1652.676244] sd 5:0:0:0: [sdb] Mode Sense: 23 00 80 00
[ 1652.676735] sd 5:0:0:0: [sdb] Write cache: disabled, read cache: disabled, doesn't support DPO or FUA
[ 1652.684858] sd 5:0:0:0: [sdb] Attached SCSI removable disk
این رو هم امتحان کردم ولی جواب نداد:
root@dhcppc1:~# sudo hdparm -r0 /dev/sdb
/dev/sdb:
setting readonly to 0 (off)
readonly = 0 (off)
root@dhcppc1:~# fdisk /dev/sdb
Welcome to fdisk (util-linux 2.27.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
fdisk: cannot open /dev/sdb: Read-only file system