Toradex Easy Installer: How to define a DISK-ID in image.json


Is there a way to define the disk id when creating a new partition? Using the Easy Installer we need to reach the following configuration:

root@colibri-imx6s:~# sfdisk -d /dev/mmcblk2
label: dos
label-id: 0xaf21b8ae
device: /dev/mmcblk2
unit: sectors

If it is not supported by the image.json configuration file, can we use sfdisk in the script to set the disk id by script?

Many thanks for your feedback!


Hi @AndreasM,
It seems that putting a label directly is not supported by the configuration. However, it should be possible for you to call sfdisk on the wrapup script and apply this information.

Best regards,
Rafael Beims