commit 68a54b61f2a2ad52b4511161d83d67396543489c parent 606ac31402b3890f0aca0c6e40db25df48a88084 Author: sin <sin@2f30.org> Date: Sat, 15 Mar 2014 14:27:13 +0000 Use fallocate to create the img file instead of dd This is *much* faster. Diffstat:
M | stuff/create-bootable | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stuff/create-bootable b/stuff/create-bootable @@ -13,7 +13,7 @@ root=$1 img=$2 mnt="/mnt/morpheus" -dd if=/dev/zero of=$img bs=512M count=4 +fallocate -l 2G $img ( cat << EOF o