<?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>14161</bug_id>
          
          <creation_ts>2020-12-28 01:28:15 +0000</creation_ts>
          <short_desc>poky-altcfg with custom fsuuid ESP failed to boot</short_desc>
          <delta_ts>2021-01-06 09:13:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>System Startup</product>
          <component>system-startup</component>
          <version>unspecified</version>
          <rep_platform>NUC</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chee Yang">chee.yang.lee</reporter>
          <assigned_to name="Chee Yang">chee.yang.lee</assigned_to>
          <cc>kevin.tian</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>88821</commentid>
    <comment_count>0</comment_count>
    <who name="Chee Yang">chee.yang.lee</who>
    <bug_when>2020-12-28 01:28:15 +0000</bug_when>
    <thetext>unable to boot genericx86-64 poky-altcfg using custom fsuuid ESP on hardware(NUC), but wic image is able to boot on qemu.
 
local.conf:
DISTRO = &quot;poky-altcfg&quot;
WKS_file = &quot;custom.wks&quot;
MACHINE = &quot;genericx86-64&quot;

custom.wks :
part /boot --source bootimg-efi --fsuuid 1a2b3c4d --sourceparams=&quot;loader=systemd-boot&quot; --ondisk sda --label msdos --active --align 1024 --use-uuid
part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid
part swap --ondisk sda --size 44 --label swap1 --fstype=swap --use-uuid
bootloader --ptable gpt --timeout=5 --append=&quot;rootwait rootfstype=ext4 console=ttyS0,115200 console=tty0&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88822</commentid>
    <comment_count>1</comment_count>
    <who name="Chee Yang">chee.yang.lee</who>
    <bug_when>2020-12-28 02:46:41 +0000</bug_when>
    <thetext>able to boot after changing the fsuuid to 0x1A2B3C4D 

amendment: boot issue can reproduce in qemu too</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88873</commentid>
    <comment_count>2</comment_count>
    <who name="Chee Yang">chee.yang.lee</who>
    <bug_when>2021-01-06 09:13:17 +0000</bug_when>
    <thetext>so it is due to fstab not updated properly on certain fsuuid.  This commit should have fixed it https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=3fa6a47aeb24dacf3f3b5cb4d7bad763619baf54</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>