Elementary OS 8.0 : Installation failed on commiting logical partitions (OS error 5)
What Happened?
Hello,
When I'm on the Elementary OS 8.0 ‘live’ session (elementaryos-8.0-stable.20241122rc.iso), I launch the installation, connect WiFi, select the French language, the appropriate keyboard, the installation disk, automatic partitioning (but without encryption).
When I click on ‘Install’, I get this error quickly and systematically :
vgcreate failed with with status: 5 (Input/output error (os error 5))
Steps to Reproduce
- Boot on Live USB
- Launch installation
- Connect WiFi, select language and keyboard setup
- Select installation drive
- Select automatic partitioning
- Select "no encryption"
- Select installation with or without proprietary drivers (I tested both)
- Click install
Expected Behavior
Installation OK
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
ERROR: errored while installing system: failed to commit logical partitions: unable to create volume group 'data_jXhIH' on "/dev/mapper/data_jXhIH": 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_jXhIH' on "/dev/mapper/data_jXhIH": vgcreate failed with status: 5 (Input/output error (os error 5))
Hardware Info
Laptop Samsung Serie 5 Ultra NP530U3B-A02FR with 8gb RAM and 250 Gb SSD
UPDATE : I successfully manage to install Elementary OS on my laptop by :
- Going to custom install
- Suppress all partitions thru GParted
- Format the (last and principal) LVM one to EXT4
- Suppress this last partition
- Go back and launch installation by default
The thing is : the previous system on my laptop was Elementary OS 7.1 and I already did the partitioning and installation by default :thinking:
Using 8.0 ISO:
I have the same failure but with a different error "os error 3":
ERROR: errored while installing system: failed to commit logical partitions: unable to create volume group 'data' on "/dev/mapper/data": vgcreate failed with status: 3 (No such process (os error 3)) INFO: Install error: failed to commit logical partitions: unable to create volume group 'data' on "/dev/mapper/data": vgcreate failed with status: 3 (No such process (os error 3))
This happens when the destination disk is already partitioned. Even if I choose to fully erase the disk.
If the disk is totally partition free, there is no error.