Server Images: Partitioning and file system are faulty #193
Labels
No labels
Ansible
basic support
Ansible
NFS server
Ansible/pxe
Ansible/Wildfly
distribution
bug
distribution
release test
distribution
rfe
documentation
improvement
documentation
new
documentation
review request
documentation
update required
meeting
need info
project
backup&restore
project
home server spin-off
project
LocalKDC
project
strengthening updates
status
in progress
status
on hold
status
pending activity
Working Group Organization
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
server/tickets#193
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
a) KVM Guest image (qcow2)
b) Aarch64 SBC raw image
@ngompa actioned to fix the LVM label part (the gap part needs further discussion)
So it appears we set it correctly and then accidentally blow it away. I'm discussing how to fix it with upstream kiwi folks.
https://github.com/OSInside/kiwi/issues/3036
@pboy , can you specify precisely what image files you mean, and give the literal commands and output you see issues with?
I'm trying to determine whether the kiwi changed fixed this, but the description isn't really precise enough. It sort of seems like this isn't "fixed", when I test current Rawhide images (which are built with the updated kiwi), but can you confirm?
I just tested with 0921 host and VM.
Same result. Using CLI with virt-install (our main user interface) infinite loop, same with Cockpit and serial console. After switching to graphical console (and restart required to activate graphic, according to message from Cockpit) the initial-setup screen showed up and I could complete i
Subsequent starts proceed as expected. The initial setup is disabled.
I still get error message: [FAILED] Failed to start systemd-repart.service - Repartition Root Disk.
And the LVM partition is still of the wrong type in fdisk / cfdisk.
That is an expected error as repart will fail for anything that isn't a GPT disk. Our bare metal ARM disks are MBR so that they are compatible with the Raspberry Pi 3.
We're testing x86_64 here, not ARM.
The Guest-Generic images are correct though, it's a GPT image, and it's set to the right values for GPT. Only the ARM Host-Generic images are MBR.
Both images' partition 3 use the partition type GUID/code defined in the UAPI Boot Loader Specification for the Linux extended boot partition. However, this partition is formatted XFS, therefore the type code is invalid. If the partition used for Linux boot will be XFS, then the type code needs to be linux file system data (83h on MBR, 0FC63DAF-8483-4772-8E79-3D69D8477DE4 on GPT).
On Fedora-Server-Guest-Generic-45-20260921.n.0.x86_64.qcow2, partition 4 is using the partition type code defined in the UAPI Discoverable Partitions Specification for a root partition on x86-64 architecture. This type code cannot be used for LVM members. The type code for this partition should be E6D6D379-F507-44C2-A23C-238F2A3DF928 on GPT and EAh on MBR. It's possible 0FC63DAF-8483-4772-8E79-3D69D8477DE4 and 83h are still OK. I'm not aware of any spec or tool that conflicts or enforces partition type codes on LVM members.
Filed a bug here: https://github.com/OSInside/kiwi/issues/3090