# Pastebin zQB0lNAe max@uscentral:/mnt/bigdisk/ubuntu$ fallocate my-image.img -l 1000000000 max@uscentral:/mnt/bigdisk/ubuntu$ fdisk my-image.img Welcome to fdisk (util-linux 2.27.1). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Device does not contain a recognized partition table. Created a new DOS disklabel with disk identifier 0x40664b03. Command (m for help): n Partition type p primary (0 primary, 0 extended, 4 free) e extended (container for logical partitions) Select (default p): Using default response p. Partition number (1-4, default 1): First sector (2048-1953124, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (2048-1953124, default 1953124): Created a new partition 1 of type 'Linux' and of size 952.7 MiB. Command (m for help): w The partition table has been altered. Syncing disks. max@uscentral:/mnt/bigdisk/ubuntu$ fdisk -l my-image.img Disk my-image.img: 953.7 MiB, 1000000000 bytes, 1953125 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x40664b03 Device Boot Start End Sectors Size Id Type my-image.img1 2048 1953124 1951077 952.7M 83 Linux