Created
February 27, 2018 12:18
-
-
Save blissini/4352f83bbbea67503bb7c84f89e41956 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
root@grml ~ # blockdev --getsize64 /dev/sda | |
999653638144 | |
root@grml ~ # blockdev --getsize64 /dev/sdb | |
299506860032 | |
root@grml ~ # blockdev --getsize64 /dev/sdc | |
500107862016 | |
openssl enc -aes-256-ctr -pass pass:"$(dd if=/dev/urandom bs=128 count=1 2>/dev/null | base64)" -nosalt </dev/zero | pv -bartpes <DISK_SIZE> | dd bs=64K of=/dev/sda |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment