Skip to content

Instantly share code, notes, and snippets.

@BSN32
Last active November 20, 2023 13:09
Show Gist options
  • Save BSN32/7f856b491968e18032c436277ef527cb to your computer and use it in GitHub Desktop.
Save BSN32/7f856b491968e18032c436277ef527cb to your computer and use it in GitHub Desktop.
Get only filled areas image with DD
Dikte sadece dolu alanı almak için:
rootfs:
512Mbyte * 1024Kb *1024 Byte
Bootloader:
16Mbyte * 1024Kb *1024 Byte
== 553648128 bytes
blocksize = 4096
553648128 / 4096 = 135168 block
dd if=/dev/sdb of=/tmp/sdb.img bs=4096 count=135168 conv=sync
Firmware Recovery
dd /tmp/if=sdb.img of=/dev/sdb conv=sync bs=4096
============================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment