$ make usb-image Location to write image file [/some/project/export/usb.img]: usb-ovp-host.img ... fdisk -H 255 -S 63 -C 378 -l -u ./img_tmp.0 # OUTPUT: # OUTPUT: Disk ./img_tmp.0: 3109 MB, 3109027840 bytes # OUTPUT: 255 heads, 63 sectors/track, 377 cylinders, total 6072320 sectors # OUTPUT: Units = sectors of 1 * 512 = 512 bytes # OUTPUT: Sector size (logical/physical): 512 bytes / 512 bytes # OUTPUT: I/O size (minimum/optimal): 512 bytes / 512 bytes # OUTPUT: Disk identifier: 0xd8ec2912 # OUTPUT: # OUTPUT: Device Boot Start End Blocks Id System # OUTPUT: ./img_tmp.0p1 * 2048 133119 65536 e W95 FAT16 (LBA) # OUTPUT: ./img_tmp.0p2 133120 6072319 2969600 83 Linux dd if=./img_tmp.0 of=./img_tmp.0-tmp bs=0 count=1 # OUTPUT: dd: invalid number `0' mv ./img_tmp.0-tmp ./img_tmp.0 # OUTPUT: mv: cannot stat `./img_tmp.0-tmp': No such file or directory ... # Copying files mcopy -o /some/project/layers/wrlcompat/data/syslinux/help.txt /some/project/layers/wrlcompat/data/syslinux/splash.lss /some/project/layers/wrlcompat/data/syslinux/splash.txt m: # OUTPUT: init M: non DOS media # OUTPUT: Cannot initialize 'M:' # OUTPUT: Bad target m: ERROR: executing: mcopy -o /some/project/layers/wrlcompat/data/syslinux/help.txt /some/project/layers/wrlcompat/data/syslinux/splash.lss /some/project/layers/wrlcompat/data/syslinux/splash.txt m: 2>&1 - return 256 make: *** [usb-image] Error 1