Skip to content

Conversation

@h8d13
Copy link
Contributor

@h8d13 h8d13 commented Dec 28, 2025

Aims to address #4045 #4046

I then did sanity check with 3rd attempt without encryption same settings LVM BTRFS, and got "signature exists" errors (this why i tried the wipefs call).

(That being said/done) For real clean-ups we should have kind of like traps in bash (especially test this running from a host, since you'd need to check the devices are not still there /dev/ArchinstallVg/root (which i believe they are, from earlier testing my main rig) And should really happen at the very end (even after synchronizing disks).

image

Tested LVM against both of these and without encryption

@h8d13 h8d13 changed the title Lvm on LUKS fixes Lvm2/LUKS fixes Dec 28, 2025
@h8d13
Copy link
Contributor Author

h8d13 commented Dec 29, 2025

I might actually have introduced the new bug when using while. When trying to address #3424 , so I apologize for the mistake. So for this one I did empirical testing: Testing all 3: BTRFS/LVM/LUKS2(on/off).

Please feel free to test as-well git clone -b dot-hotfix-lvm https://github.com/h8d13/archinstall-patch

I'll mark the PR as open/ready for review. But obviously this should be addressed further.

@h8d13 h8d13 marked this pull request as ready for review December 29, 2025 10:19
@h8d13 h8d13 requested a review from Torxed as a code owner December 29, 2025 10:19
@h8d13 h8d13 changed the title Lvm2/LUKS fixes Lvm2/LUKS fixes/Mirror Logic Dec 29, 2025
# original return
return sorted(region_list, key=lambda mirror: (mirror.score, mirror.speed))
# Sort by speed descending (higher is better) - fastest mirrors first
return sorted(region_list, key=lambda mirror: -mirror.speed)
Copy link
Member

Choose a reason for hiding this comment

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

Could we move this to a separate PR? Just to not fix two things in one, in case one needs to be reverted :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sry bout that was frustrated at mirrors when testing

Copy link
Member

Choose a reason for hiding this comment

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

10/10 understand 😅

@Torxed Torxed merged commit 747385a into archlinux:master Dec 29, 2025
9 checks passed
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.

2 participants