From: "Usman, Fahad" <Fahad_Usman@mentor.com>
To: Jon Szymaniak <jon.szymaniak@gmail.com>
Cc: yocto@yoctoproject.org
Subject: Re: wic: Setting partition id value?
Date: Thu, 11 Feb 2016 12:31:15 +0500 [thread overview]
Message-ID: <56BC38C3.5040806@mentor.com> (raw)
In-Reply-To: <CANge7vX2N-mZXJsmJHTNfx7eRFohNgAanc7k=m37vF8eOaMyCw@mail.gmail.com>
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.
next prev parent reply other threads:[~2016-02-11 7:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-10 17:23 wic: Setting partition id value? Usman, Fahad
2016-02-11 2:03 ` Jon Szymaniak
2016-02-11 7:31 ` Usman, Fahad [this message]
2016-02-11 6:36 ` Ed Bartosh
2016-02-11 10:46 ` Usman, Fahad
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56BC38C3.5040806@mentor.com \
--to=fahad_usman@mentor.com \
--cc=jon.szymaniak@gmail.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.