From a2fd8ef539c5e30a33b60d867ba7523fbdac8ecd Mon Sep 17 00:00:00 2001 From: Paul Le Guen de Kerneizon Date: Tue, 17 Feb 2026 11:06:37 +0100 Subject: [PATCH 1/2] modules/mount: update rootfs volume group name Since [1], rootfs volume groupe name is no longer `vg2` but `vg1`. [1]: https://github.com/seapath/build_debian_iso/commit/472a9118376182bb186ac56a1f30e8b363e489c7 Signed-off-by: Paul Le Guen de Kerneizon --- src/modules/mount/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/mount/main.py b/src/modules/mount/main.py index 998bf5f..e3e0caf 100644 --- a/src/modules/mount/main.py +++ b/src/modules/mount/main.py @@ -130,7 +130,7 @@ def get_partitions(device_name, seapath_flavor): libcalamares.utils.error(f"Failed to list partitions of {device_name}.") raise - rootfs_partition_index = partitions.index("/dev/mapper/vg2-root") + rootfs_partition_index = partitions.index("/dev/mapper/vg1-root") rootfs_partition = partitions[rootfs_partition_index] else: rootfs_partition = partitions[3] From 0ef9617422e3ddec73d6fd13699a087dc04a7b8d Mon Sep 17 00:00:00 2001 From: Paul Le Guen de Kerneizon Date: Tue, 17 Feb 2026 11:15:14 +0100 Subject: [PATCH 2/2] modules/rawimage: use error instead of warning Currently, if this exception is triggered, only a warning is raised, making the installer to not exit on error, and to display the final installation page, that can lead to think that installation succeed. Signed-off-by: Paul Le Guen de Kerneizon --- src/modules/rawimage/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/rawimage/main.py b/src/modules/rawimage/main.py index 1d112f5..bda0284 100644 --- a/src/modules/rawimage/main.py +++ b/src/modules/rawimage/main.py @@ -195,7 +195,7 @@ def remove_volume_group(mount_point): ["/usr/sbin/vgremove", "-y", vg_name], check=True ) except subprocess.CalledProcessError: - libcalamares.utils.warning(f"Failed to disable volume group on: {mount_point}") + libcalamares.utils.error(f"Failed to disable volume group on: {mount_point}") raise