13
kiki
4y

fdisk, cfdisk, diskpart and other tools CAN SUCK MY DICK.

I needed to restore my raspberry pi microsd from 200ish MB back to 16 GB and could find NO WAY of restoring it from my pc. maybe there is some ajbd -asdkasd -adkahdh IUYGFG_&38726283746 sdkfjksjf command that does that but I don't give a shit.

I plugged it into my camera instead. One second and my microsd was restored.

Canon doesn't care about your fancy partitions and other shit, it's just fucking blasting, it is like IN YO FACE. I love it.

Comments
  • 6
    mkfs.vfat -F32 /dev/mmcblk0

    Or with diskpart: clean -> eject -> insert -> "Would you like to initialize blah blah blah" [Yes]
  • 0
    @gronostaj I tried the first one but it just cleaned that 200mb and made them FAT. maybe I used different keys though
  • 4
    You may have used /dev/mmcblk0p1. SDs are superfloppies by default, they don't have a partition table, just a single filesystem spanning entire /dev/mmcblk0. If you had it partitioned, there was also /dev/mmcblk0p1 and it's easy to get confused.

    Nice hack though.
  • 1
    @gronostaj yes, exactly. You’re right. There was two numbers
  • 2
    @gronostaj Some 5.x kernel has it so by default, SD cards are no longer superfloppies, but normal drives. So sda, sdb, ...
  • 0
    I have good luck with Belena Etcher... and of course Pi Imager...

    And just Etcher (try to find a reputable download)

    And Macs built in DiskUtility is surprisingly good.

    But when a card is really fucking nuked, sometimes popping it in the ole Nikon does work.
Add Comment