Installing inside LVM fails: Installer mounts root itself and then complians that root is mounted

Hi, I decided to make the step from Ubuntu to Manjaro but unfortunately I’m already stuck during the install-process.

Short version: During the disk formating the installer mounts the designated root partition and immediately fails, complaining that the file system is mounted and can’t be deleted. (Could not delete file system: file system on ‘/dev/VolumeGroup/root’ is mounted.)

Long version: I want to keep my current (somewhat complex) disk-setup consisting of a few windows partitions, one partition for /boot one for gpt bios and a large logical volume that holds my /home and root partition.

Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system     Name                  Flags
 1      1049kB  368MB   367MB   ntfs            Basic data partition  hidden, diag
 2      368MB   577MB   209MB   fat32                                 boot, esp
 3      578MB   595MB   16.8MB
 4      595MB   62.0GB  61.4GB  ntfs            Basic data partition  msftdata
 5      62.0GB  62.9GB  903MB   ntfs                                  hidden, diag
 6      62.9GB  367GB   304GB   ntfs                                  msftdata
 8      367GB   401GB   33.6GB  linux-swap(v1)                        swap
10      401GB   2000GB  1600GB                                        lvm
lvdisplay
  --- Logical volume ---
  LV Path                /dev/VolumeGroup/home
  LV Name                home
  VG Name                VolumeGroup
  LV UUID                fPVNqd-Xl3j-edje-ECSx-K5et-U1Hf-5zGwPk
  LV Write Access        read/write
  LV Creation host, time ubuntu, 2016-01-09 20:58:05 +0100
  LV Status              available
  # open                 1
  LV Size                1000.00 GiB
  Current LE             256000
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:0
   
  --- Logical volume ---
  LV Path                /dev/VolumeGroup/server
  LV Name                server
  VG Name                VolumeGroup
  LV UUID                PQ5KXo-XVZR-cpgP-uIpE-1eOj-NVKH-WUUdkv
  LV Write Access        read/write
  LV Creation host, time ubuntu, 2016-01-09 20:58:19 +0100
  LV Status              available
  # open                 1
  LV Size                339.96 GiB
  Current LE             87031
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:1
   
  --- Logical volume ---
  LV Path                /dev/VolumeGroup/root
  LV Name                root
  VG Name                VolumeGroup
  LV UUID                Y4DtL1-q1LD-k32K-a9f6-YVP1-baxJ-iwjBjF
  LV Write Access        read/write
  LV Creation host, time neon, 2021-04-21 22:26:35 +0200
  LV Status              available
  # open                 1
  LV Size                150.00 GiB
  Current LE             38400
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:2

Here is what I did: I started the Manjaro Installer from the live system. Set everything up and chose manual partitioning. Set the root-lvm to “format as ext4” and mount as /. After that I set up the other partitions to my liking. After that I double-checked that all partitions were unmounted befor I clicked “Start installation”

Here is what I happend: The installation process started as expected and set up the first partitions (/boot and the gpt-boot) without problems. After that I noticed in an underlying dolphin-window that alle partitions became mounted (the small icon in the device list changed) and the installation failed with the following message:

Create filesystem ext4 on partition ‘/dev/VolumeGroup/root’


Job: Delete file system on ‘/dev/VolumeGroup/root’

Could not delete file system: file system on ‘/dev/VolumeGroup/root’ is mounted.

I repeated the process twice, each time with the same result. What is going on here? Why is the installer mounting the partitions in the first place and how can I stop this from happening to go on with the installation? Any help is appreciated!

I’ve also made a log of all terminal-outputs during installation. I can’t see much, but maybe some of you can see a problem?

KDE Plasma has a new setting conflicting with the installer. The setting in question is System settings → Hardware → Removable Storage → Removable devices.

it is a known issue - I have counted at least 5-6 incidents the past month or so.

Uncheck the boxes for all know devices and restart the installer.

It is also known the Calamares installer does not shine at LVM.

1 Like

That fixed it and my install did run. So its off to a new problem :slight_smile: Thank you for your help!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.