Last active
November 20, 2023 13:09
-
-
Save BSN32/7f856b491968e18032c436277ef527cb to your computer and use it in GitHub Desktop.
Get only filled areas image with DD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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