[yocto] wic: Setting partition id value?

Usman, Fahad Fahad_Usman at mentor.com
Wed Feb 10 23:31:15 PST 2016


On 02/11/2016 07:03 AM, Jon Szymaniak wrote:
> I ran into this problem as well, but with parted. My hack was to use 
> dd to write the correct type ID into the image's MBR after I finished 
> creating the partitions on the image file.
Thanks Jon Szymaniak,
I was also thinking about a similar solution, the reason wic has this 
limitation is probably because it uses parted under the hood and parted 
doesn't allow you to set the partition id to an arbitrary value. A safer 
way to do this might be with the help of fdisk as it allows you to 
change partition's system id using the 't' sub command in interactive 
mode. But I am looking for a way to do this using existing options in wic.

Regards,
Fahad Usman.



More information about the yocto mailing list