elementary / elementary/installer

Failure to install on VM - Installer loops

Open
#878 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Vala
Stars
182
Forks
53
Avg merge
2d 16h
Merged PRs (30d)
1

Description

### What Happened?

Every time I try to install elementaryOS 8.0.1 on a VM in GNOME Boxes, the installer fails on different steps and starts to loop.

Btw: the installer fails on real hardware as well, but doesn't loop.

### Steps to Reproduce

1. Open GNOME Boxes
1. Create a VM using the ISO elementaryos-8.0-stable.20250314rc.iso
1. Allocate 4GB RAM and 20GB HDD
1. Just spam next (autopartition, no encryption, keyboard tried regular english and PT-BR ABNT2, tried with and without third party drivers)
1. Try to install and see the installer looping

### Expected Behavior

Proper instalation with no loops.

### OS Version

8.x (Circe)

### Session Type

Classic Session (X11, This is the default)

### Software Version

Latest release (I have run all updates)

### Log Output

```shell
On one of the times I was able to retrieve a log, this is what I got.

INFO: getting device at /dev/sda
INFO: obtaining disk information from /dev/sda
INFO: obtaining serial model from /dev/sda
INFO: opening disk at /dev/sda
INFO: obtaining partition information from /dev/sda1
INFO: obtaining partition information from /dev/sda2
INFO: specifying to write new table on /dev/sda
INFO: unmount all partitions on /dev/sda
DEBUG: get block size for "/sys/class/block/sda"
DEBUG: get block size for "/sys/class/block/sda"
INFO: checking if 4096:2542967 overlaps
DEBUG: get block size for "/sys/class/block/sda"
DEBUG: get block size for "/sys/class/block/sda"
DEBUG: get block size for "/sys/class/block/sda"
INFO: checking if 2542968:41938943 overlaps
DEBUG: get block size for "/sys/class/block/sda"
DEBUG: get block size for "/sys/class/block/sda"
INFO: getting logical device named 'data_W5PhD'
DEBUG: get block size for "/sys/class/block/data_W5PhD"
DEBUG: get block size for "/sys/class/block/data_W5PhD"
DEBUG: get block size for "/sys/class/block/data_W5PhD"
DEBUG: get block size for "/sys/class/block/data_W5PhD"
DEBUG: get block size for "/sys/class/block/data_W5PhD"
DEBUG: get block size for "/sys/class/block/data_W5PhD"
DEBUG: get block size for "/sys/class/block/data_W5PhD"
DEBUG: get block size for "/sys/class/block/data_W5PhD"
ERROR: libdistinst: pointer in FFI is null
ERROR: libdistinst: pointer in FFI is null
ERROR: libdistinst: pointer in FFI is null
INFO: starting initializing step
INFO: Initializing
INFO: getting device at /dev/sda
INFO: config.squashfs: found at /cdrom/casper/filesystem.squashfs
INFO: verifying if keyfiles have paths
INFO: obtaining disk information from /dev/sda
INFO: obtaining serial model from /dev/sda
INFO: opening disk at /dev/sda
INFO: obtaining partition information from /dev/sda1
INFO: obtaining partition information from /dev/sda2
INFO: devices to modify: ["/dev/sda1", "/dev/sda2"]
INFO: obtaining list of physical volumes
INFO: volume map: {"/dev/sda2": Some("data")}
INFO: searching for device maps to deactivate
INFO: pvs: ["/dev/mapper/data-root", "/dev/mapper/data-swap"]
INFO: obtaining logical volumes on data
INFO: deactivating 'data'
INFO: executing vgchange with ["-ffyan", "data"]
INFO: unmounting devices
INFO: child_dev "/dev/sda1" has mount_opt None
INFO: child_dev "/dev/sda2" has mount_opt None
INFO: unmount all partitions with a target on /dev/sda
INFO: starting partitioning step
INFO: obtaining list of physical volumes
INFO: /dev/sda: Committing changes to disk
INFO: committing changes to /dev/sda: Disk {
model_name: "ATA QEMU HARDDISK",
serial: "QEMU_HARDDISK_QM00001",
device_path: "/dev/sda",
file_system: None,
mount_point: None,
size: 41943040,
device_type: "PED_DEVICE_SCSI",
table_type: Some(
Msdos,
),
read_only: false,
mklabel: true,
partitions: [
PartitionInfo {
bitflags: 4,
number: -1,
ordering: -1,
start_sector: 4096,
end_sector: 2542967,
part_type: Primary,
filesystem: Some(
Ext4,
),
flags: [
PED_PARTITION_BOOT,
],
name: None,
device_path: "",
mount_point: None,
target: Some(
"/boot",
),
original_vg: None,
volume_group: None,
key_id: None,
identifiers: PartitionIdentifiers {
id: None,
label: None,
part_label: None,
part_uuid: None,
path: None,
uuid: None,
},
},
PartitionInfo {
bitflags: 4,
number: -1,
ordering: -1,
start_sector: 2542968,
end_sector: 41938943,
part_type: Primary,
filesystem: Some(
Lvm,
),
flags: [],
name: None,
device_path: "",
mount_point: None,
target: None,
original_vg: None,
volume_group: Some(
(
"data_W5PhD",
None,
),
),
key_id: None,
identifiers: PartitionIdentifiers {
id: None,
label: None,
part_label: None,
part_uuid: None,
path: None,
uuid: None,
},
},
],
}
INFO: getting device at /dev/sda
INFO: obtaining disk information from /dev/sda
INFO: obtaining serial model from /dev/sda
INFO: opening disk at /dev/sda
INFO: obtaining partition information from /dev/sda1
INFO: obtaining partition information from /dev/sda2
INFO: generating diff of disk at /dev/sda
INFO: proposed layout:
-1: 4096 - 2542967
-1: 2542968 - 41938943
INFO: /dev/sda: executing remove operations
INFO: using wipefs to wipe signatures from "/dev/sda"
INFO: executing wipefs with ["-a", "/dev/sda"]
INFO: writing Msdos table on /dev/sda
INFO: opening device at /dev/sda
INFO: committing changes to /dev/sda
INFO: syncing device at /dev/sda
INFO: opening device at /dev/sda
INFO: opening disk at /dev/sda
INFO: syncing device at /dev/sda
INFO: /dev/sda: executing change operations
INFO: opening device at /dev/sda
INFO: syncing device at /dev/sda
INFO: /dev/sda: executing creation operations
INFO: creating partition (PartitionCreate { path: "/dev/sda", start_sector: 4096, end_sector: 2542967, format: true, file_system: Some(Ext4), kind: Primary, flags: [PED_PARTITION_BOOT], label: None }) on /dev/sda
INFO: opening device at /dev/sda
INFO: creating new partition with 2538871 sectors: 4096 - 2542967
INFO: opening disk at /dev/sda
INFO: committing new partition (4096:2542967) on /dev/sda
INFO: committing changes to /dev/sda
INFO: syncing device at /dev/sda
INFO: getting device at /dev/sda
INFO: opening disk at /dev/sda
INFO: creating partition (PartitionCreate { path: "/dev/sda", start_sector: 2542968, end_sector: 41938943, format: true, file_system: Some(Lvm), kind: Primary, flags: [], label: None }) on /dev/sda
INFO: opening device at /dev/sda
INFO: creating new partition with 39395975 sectors: 2542968 - 41938943
INFO: opening disk at /dev/sda
INFO: committing new partition (2542968:41938943) on /dev/sda
INFO: committing changes to /dev/sda
INFO: syncing device at /dev/sda
INFO: getting device at /dev/sda
INFO: opening disk at /dev/sda
INFO: executing blockdev with ["--flushbufs", "--rereadpt", "/dev/sda"]
INFO: executing format operations
INFO: formatting /dev/sda1 with Ext4
INFO: executing mkfs.ext4 with ["-F", "-q", "-E", "lazy_itable_init", "/dev/sda1"]
INFO: formatting /dev/sda2 with Lvm
INFO: reloading disk information for /dev/sda
INFO: getting device at /dev/sda
INFO: obtaining disk information from /dev/sda
INFO: obtaining serial model from /dev/sda
INFO: opening disk at /dev/sda
INFO: obtaining partition information from /dev/sda1
INFO: obtaining partition information from /dev/sda2
INFO: checking for mount target at 4096
INFO: checking for mount target at 2542968
INFO: deactivating 'data'
INFO: executing vgchange with ["-ffyan", "data"]
INFO: executing blockdev with ["--flushbufs", "--rereadpt", "/dev/sda"]
INFO: activating 'data'
INFO: executing vgchange with ["-ffyay", "data"]
INFO: executing vgcreate with ["-ffy", "data_W5PhD", "/dev/sda2"]
ERROR: partitioning error: failed to commit logical partitions: unable to create volume group 'data_W5PhD' on "/dev/mapper/data_W5PhD": vgcreate failed with status: 5 (Input/output error (os error 5))
ERROR: errored while installing system: failed to commit logical partitions: unable to create volume group 'data_W5PhD' on "/dev/mapper/data_W5PhD": vgcreate failed with status: 5 (Input/output error (os error 5))
INFO: Install error: failed to commit logical partitions: unable to create volume group 'data_W5PhD' on "/dev/mapper/data_W5PhD": vgcreate failed with status: 5 (Input/output error (os error 5))
```

### Hardware Info

GNOME Boxes 48.0 stable

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.