Thu May 17 09:04:00 EDT 2018

Tuning sdcard.img

Partition table seems to be misaligned:

# parted /dev/mmcblk0
GNU Parted 3.2
Using /dev/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) unit s                                                           
(parted) p                                                                
Model: SD N1BW1 (sd/mmc)
Disk /dev/mmcblk0: 4016128s
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End       Size      Type     File system  Flags
 1      1s      32768s    32768s    primary  fat16        boot, lba
 2      32769s  1081344s  1048576s  primary  ext4

Where is this configured?


It doesn't specify much for partition table layout.
Looks like this is relevant:

So to customize, copy that script elsewhere and modify it.