I can't install Arch Linux ARM to an USB mass storage device (MP3 player) in a Samsung Chromebook XE303C12 because cgpt gives me an "invalid sector size" error and I can't copy an image from a 512b sector drive to it.
$this->bbcode_second_pass_code('', 'localhost / # fdisk /dev/sda
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.
Command (m for help): g
Created a new GPT disklabel (GUID: 07F9946E-6BCE-499F-BFCC-6BDA2EB6B647).
Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
localhost / # cgpt create /dev/sda
WARNING: Primary GPT header is invalid
WARNING: Secondary GPT header is invalid
localhost / # cgpt add -i 1 -t kernel -b 8192 -s 32768 -l Kernel -S 1 -T 5 -P 10 /dev/sda
ERROR: GptSanityCheck() returned 4: GPT_ERROR_INVALID_SECTOR_SIZE
localhost / # cgpt show /dev/sda
ERROR: GptSanityCheck() returned 4: GPT_ERROR_INVALID_SECTOR_SIZE
localhost / # fdisk /dev/sda
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.
Command (m for help): i
No partition is defined yet!
Command (m for help): ^C')