LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-27-2016, 01:17 AM   #1
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Rep: Reputation: 11
Post Must I say goodbye to this Flash?


Hello.
I have a Flash drive with below information :
Code:
Bus 003 Device 004: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) 64MB QDI U2 DISK
I did below commands on Linux and you can see their result :
Code:
sudo mkfs.ext2 /dev/sdc
mke2fs 1.42.5 (29-Jul-2012)
/dev/sdc is entire device, not just one partition!
Proceed anyway? (y,n) y
/dev/sdc: Read-only file system while setting up superblock
Code:
sudo fsck -fy /dev/sdc
fsck from util-linux 2.20.1
e2fsck 1.42.5 (29-Jul-2012)
fsck.ext2: Read-only file system while trying to open /dev/sdc
Disk write-protected; use the -n option to do a read-only
check of the device.
Code:
sudo hdparm -r0 /dev/sdc

/dev/sdc:
 setting readonly to 0 (off)
 readonly      =  0 (off)
Code:
sudo dumpe2fs /dev/sdc
dumpe2fs 1.42.5 (29-Jul-2012)
dumpe2fs: Bad magic number in super-block while trying to open /dev/sdc
Couldn't find valid filesystem superblock.
How can I fix it?
 
Old 08-27-2016, 08:31 AM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
One more before you throw it into the garbage bin.
Code:
dd if=/dev/zero of=/dev/sdc bs=516
Writing it raw might be able to break through.
 
Old 08-27-2016, 08:35 AM   #3
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by malekmustaq View Post
One more before you throw it into the garbage bin.
Code:
dd if=/dev/zero of=/dev/sdc bs=516
Writing it raw might be able to break through.
dd: opening `/dev/sdc': Read-only file system
 
Old 08-27-2016, 10:23 AM   #4
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
Quote:
Bad magic number in super-block while trying to open /dev/sdc
Couldn't find valid filesystem superblock.
One thing that might work is to find a Windows computer and reformat the drive with Windows. I've rescued a couple micro SD cards this way for sure, and I think I've rescued a USB thumbdrive or two in the past. Basically, I wanted to format the SD cards to ext2, but no matter how many times I tried, I'd get that error when trying to mount the card a second time. And gparted couldn't deal with it. But I could reformat it on a Windows 7 computer.
 
Old 08-28-2016, 01:30 AM   #5
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by IsaacKuo View Post
One thing that might work is to find a Windows computer and reformat the drive with Windows. I've rescued a couple micro SD cards this way for sure, and I think I've rescued a USB thumbdrive or two in the past. Basically, I wanted to format the SD cards to ext2, but no matter how many times I tried, I'd get that error when trying to mount the card a second time. And gparted couldn't deal with it. But I could reformat it on a Windows 7 computer.
Windows show same error
 
Old 08-28-2016, 02:25 AM   #6
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
Oh well, it was worth a shot.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Goodbye Linux... angryfirelord General 9 08-24-2007 07:22 PM
goodbye Fedora droyoliver Fedora - Installation 1 06-21-2007 08:32 AM
FLASH FLASH XP Home and Samba Fix FLASH FLASH zollodav Linux - Networking 1 02-19-2006 01:16 AM
well, looks like I'll be saying goodbye.... Basslord1124 General 12 03-11-2005 06:32 AM
Goodbye Debia londonboi Debian 39 05-11-2004 04:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration