[solved]Howto recover rw-locked pendrive's data?

Getting your soundcard to work, using Debian on non-i386 hardware, etc

Re: Howto repair a particular pendrive to again read its dat

Postby bkpsusmitaa » 2017-10-15 11:00

Sorry, edited later, after p.H.'s post just below . Earlier, wrong post.
Tried:
Code: Select all
fsck.vfat partition1.img
Outputs:
Code: Select all
dosfsck 3.0.13, 30 Jun 2012, FAT32, LFN
There are differences between boot sector and its backup.
Differences: (offset:original/backup)
  65:01/00
1) Copy original to backup
2) Copy backup to original
3) No action
? 3
Reclaimed 39 unused clusters (638976 bytes).
Free cluster summary wrong (133999 vs. really 134038)
1) Correct
2) Don't correct
? 1
Leaving file system unchanged.
partition1.img: 1839 files, 521063/655101 clusters


Code: Select all
fsck.vfat -r /dev/sdc1

Code: Select all
dosfsck 3.0.13, 30 Jun 2012, FAT32, LFN
open: Read-only file system


No changes appear to have been made. Because of read-only?
Last edited by bkpsusmitaa on 2017-10-15 11:49, edited 2 times in total.
Freedom is impossible to conceive.
bkpsusmitaa
 
Posts: 333
Joined: 2009-07-04 06:32
Location: Home: Barrackpore and Mysore

Re: Howto repair a particular pendrive to again read its dat

Postby p.H » 2017-10-15 11:16

Of course. You must do it on the image file.
p.H
 
Posts: 161
Joined: 2017-09-17 07:12

[Solved]Howto repair a particular pendrive, read its data

Postby bkpsusmitaa » 2017-10-15 11:27

Yes,
Code: Select all
sudo fsck.vfat -r partition1.img
outputs:
Code: Select all
dosfsck 3.0.13, 30 Jun 2012, FAT32, LFN
There are differences between boot sector and its backup.
Differences: (offset:original/backup)
  65:01/00
1) Copy original to backup
2) Copy backup to original
3) No action
? 1
Reclaimed 39 unused clusters (638976 bytes).
Free cluster summary wrong (133999 vs. really 134038)
1) Correct
2) Don't correct
? 1
Perform changes ? (y/n) y
partition1.img: 1839 files, 521063/655101 clusters

And again:
Code: Select all
 sudo fsck.vfat -r partition1.img
this time yields;
Code: Select all
dosfsck 3.0.13, 30 Jun 2012, FAT32, LFN
partition1.img: 1839 files, 521063/655101 clusters

I would really like to thank you, p.H. for the consistent support you have provided. You are a patient and transparent person, a real teacher-material.
My good wishes.
There are very many questions that I would like to ask you. But I can gradually do it in a different manner.
Freedom is impossible to conceive.
bkpsusmitaa
 
Posts: 333
Joined: 2009-07-04 06:32
Location: Home: Barrackpore and Mysore

Now, time for some humour!

Postby bkpsusmitaa » 2017-10-15 12:07

Head_on_a_Stick wrote:@OP, your posts are too prolix.

Yes, of course!
better,
why not this!
Freedom is impossible to conceive.
bkpsusmitaa
 
Posts: 333
Joined: 2009-07-04 06:32
Location: Home: Barrackpore and Mysore

Previous

Return to Hardware

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable