Hi Jan,
> The requested kiwi-ng log is attached as well ad the 'blkid' of the
> loop device from the .raw files
Thanks much for the details. I have checked the information you provided.
So the grub.cfg says:
root=UUID=b43a7ca6-6658-47d3-be16-25a7f9e026f7
and the blkid value for the .raw disk file matches this value:
ID_FS_LABEL=ROOT
ID_FS_UUID=b43a7ca6-6658-47d3-be16-25a7f9e026f7
the fstab also contains:
UUID=b43a7ca6-6658-47d3-be16-25a7f9e026f7 / xfs defaults 0 1
This part looks clean to me. Now the part that is broken. Your
attached grub.cfg lists the following:
search --no-floppy --fs-uuid --set=root 8c4bc876-1dd7-4b29-9a70-3313bb8f802e
The ID here has to match the UUID of the boot partition. As you use
an extra boot partition (not sure why) this ID should be:
ID_FS_LABEL=BOOT
ID_FS_UUID=db085b61-291f-4aee-a527-6217897e515e
So here is a mismatch. In fact the above ID 8c4b... does not appear
at all. The same non-existing ID is also present in the fstab
I wonder where this comes from and I'm not able to reproduce this.
I build a simple image with the following type:
<type image="vmx" filesystem="xfs" bootloader="grub2" bootpartition="true" bootfilesystem="ext4"/>
And all IDs used for root and boot were correctly added. Please note
when kiwi adds the UUIDs for e.g fstab it does that by a direct blkid
call to the device present at that time. This means the ID must
have been a valid at build time
What makes me really wonder is that the broken ID
"8c4bc876-1dd7-4b29-9a70-3313bb8f802e" does not appear at all
in the produced .raw disk file
So I'm sorry I don't have a solution for you at the moment because
I cannot reproduce the issue. Maybe you can check the following:
- Is there any script code that messes with the block IDs ?
- You don't need an extra boot partition for XFS so you could also
give bootpartition="false" a try
- Can you reproduce the issue when building with the latest
kiwi version from here:
https://download.opensuse.org/repositories/Virtualization:/Appliances:/Builder/SLE_15_SP3/
Hope this helps with some next steps
Cheers,