Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dom0_kernel_installer: generate initramfs and use PARTUUID #3690

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pupacha
Copy link
Collaborator

@pupacha pupacha commented Mar 4, 2025

Using older initramfs does not work anymore as there are some kernel module dependencies. Hence, generate a new one. Also, replace UUID with PARTUUID since initramfs fails to understand the UUID.

While at it, update validate() method to check if node's os is Mariner.

@pupacha pupacha requested a review from weltling March 4, 2025 09:39
shell=True,
expected_exit_code=0,
).stdout.strip()
partuuid = node.execute(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can lsblk tool do this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, lsblk tool does not fetch UUID and PARTUUID.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you change lsblk to fetch the IDs?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed lsblk tool fetch UUID and PARTUUID

pupacha added 2 commits March 7, 2025 14:58
Fetch UUID for disks and UUID,PARTUUID for partitions.
Also, add find_partition_by_mountpoint.
Using older initramfs does not work anymore as there are some kernel
module dependencies. Hence, generate a new one. Also, replace UUID with
PARTUUID since initramfs fails to understand the UUID.
While at it, update validate() method to check if node's os is Mariner.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants