<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>10775</bug_id>
          
          <creation_ts>2016-12-07 18:18:38 +0000</creation_ts>
          <short_desc>hddimg incorrect partition table</short_desc>
          <delta_ts>2017-04-21 23:27:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BSPs</product>
          <component>bsps-meta-intel</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Todor Minchev">todor.minchev</reporter>
          <assigned_to name="Todor Minchev">todor.minchev</assigned_to>
          <cc>eduard.bartosh</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>68914</commentid>
    <comment_count>0</comment_count>
    <who name="Todor Minchev">todor.minchev</who>
    <bug_when>2016-12-07 18:18:38 +0000</bug_when>
    <thetext>This is the partition table of hddimg, which seems to be derived from the build host. The image boots OK when deployed to a NUC target, but we&apos;ll need to figure out if this is something that can cause issues in the future.

fdisk -l  core-image-minimal-intel-corei7-64-20161207173434.hddimg

Disk core-image-minimal-intel-corei7-64-20161207173434.hddimg: 28.9 MiB, 30308352 bytes, 59196 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x20ac7dda

Device                                                    Boot      Start        End    Sectors   Size Id Type
core-image-minimal-intel-corei7-64-20161207173434.hddimg1 ?    3224498923 3657370039  432871117 206.4G  7 HPFS/NTF
core-image-minimal-intel-corei7-64-20161207173434.hddimg2 ?    3272020941 5225480974 1953460034 931.5G 16 Hidden F
core-image-minimal-intel-corei7-64-20161207173434.hddimg3 ?             0          0          0     0B 6f unknown
core-image-minimal-intel-corei7-64-20161207173434.hddimg4        50200576  974536369  924335794 440.8G  0 Empty</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68942</commentid>
    <comment_count>1</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-12-08 15:53:05 +0000</bug_when>
    <thetext>Does hddimg have partition table at all?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68946</commentid>
    <comment_count>2</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-12-08 15:57:55 +0000</bug_when>
    <thetext>Here is the output of fdisk -l for qemux86-64 machine:

$ /sbin/fdisk -l ./tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64-2016120223*.hddimg

Disk ./tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64-20161202233134.hddimg: 25.7 MiB, 26892288 bytes, 52524 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70263</commentid>
    <comment_count>3</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2017-01-30 18:46:41 +0000</bug_when>
    <thetext>JFYI: There is a proposal and ongoing activity of getting rid of hddimg: http://lists.openembedded.org/pipermail/openembedded-architecture/2016-December/000359.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72780</commentid>
    <comment_count>4</comment_count>
    <who name="Todor Minchev">todor.minchev</who>
    <bug_when>2017-04-21 23:27:05 +0000</bug_when>
    <thetext>hddimg images infer their partition table from the partition table of the host on which they are generated. Closing this as we are removing hddimg.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>