Created
November 14, 2016 12:45
-
-
Save thiagomgo/273bf9c2181e8b4c324bf33c8d8d2d90 to your computer and use it in GitHub Desktop.
Script to re-write the device blocks to the appropriate size.
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
#/bin/bash | |
# Issue: Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes. | |
# | |
DEVICE_USB=/dev/sdb | |
sudo dd if=/dev/zero of=$DEVICE_USB bs=2048 count=32 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment