After using Ubuntu 16.04's Startup Disk Creator to create a live (16.04) environment on my 4GB USB drive, I'm unable to create additional partitions (tried both FAT, Ext4, primary and logical) in the remaining unused space.
The 'Disks' application throws this error when I try to create an additional partition on the drive:
Error creating partition on /dev/sdb: Command-line `parted --align optimal --script "/dev/sdb" "mkpart primary ext2 1420MiB 3488977919b"' exited with non-zero exit status 1: Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes. (udisks-error-quark, 0)
The 'cfdisk' application throws another error when trying to do the same:
Start sector 2893824 out of range.
What am I missing?
dd
as described in the top answer should fix it.dd
command, which does a 'raw write' of an OS to another medium like USB drive. 'Raw write' usually renders the rest of the disk unusable. You should reformat the USB drive, download an Ubuntu ISO file and use Unetbootin to create a Live Ubuntu from that ISO file.