Advertisement
Guest User

Fuckered SanDisk MicroSD Card 2

a guest
Jan 5th, 2014
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. sudo ddrescue /dev/mmcblk0 card_backup
  2.  
  3.  
  4. Press Ctrl-C to interrupt
  5. rescued: 32096 kB, errsize: 0 B, current rate: 11796 kB/s
  6. ipos: 32047 kB, errors: 0, average rate: 9153 kB/s
  7. opos: 32047 kB, time from last successful read: 0 s
  8. Finished
  9.  
  10. sudo fsck.vfat -f -p /dev/mmcblk0
  11.  
  12. dosfsck 3.0.12, 29 Oct 2011, FAT32, LFN
  13. Logical sector size is zero.
  14.  
  15. sudo dd if=/dev/zero of=/dev/mmcblk0
  16. dd: writing to `/dev/mmcblk0': No space left on device
  17. 62689+0 records in
  18. 62688+0 records out
  19. 32096256 bytes (32 MB) copied, 8.08628 s, 4.0 MB/s
  20.  
  21. sudo hdparm -r0 /dev/mmcblk0
  22.  
  23. /dev/mmcblk0:
  24. setting readonly to 0 (off)
  25. readonly = 0 (off)
  26.  
  27. sudo fdisk /dev/mmcblk0
  28. Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
  29. Building a new DOS disklabel with disk identifier 0x55325113.
  30. Changes will remain in memory only, until you decide to write them.
  31. After that, of course, the previous content won't be recoverable.
  32.  
  33. Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement