installer icon indicating copy to clipboard operation
installer copied to clipboard

Elementary OS 8.0 : Installation failed on commiting logical partitions (OS error 5)

Open DansLeRuSH opened this issue 1 year ago • 2 comments

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))

2024-11-27-08-54-54-729

Steps to Reproduce

  1. Boot on Live USB
  2. Launch installation
  3. Connect WiFi, select language and keyboard setup
  4. Select installation drive
  5. Select automatic partitioning
  6. Select "no encryption"
  7. Select installation with or without proprietary drivers (I tested both)
  8. 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

DansLeRuSH avatar Dec 04 '24 11:12 DansLeRuSH

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:

DansLeRuSH avatar Dec 06 '24 16:12 DansLeRuSH

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.

pferrucci avatar Jan 12 '25 13:01 pferrucci