Calamares Install fail - Lubuntu Noble 24.04 - Could not unmount target system

Bug #2056647 reported by Richard Pratt

This bug report will be marked for expiration in 12 days if no further activity occurs. (find out why)

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calamares (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

When attempting an install of Lubuntu 24.04 Daily build 07.03.24 using manual partitioning with partitions across two devices, the install failed with an error (see screenshot) indicating failure to unmount /var partition.

Error Installation failed
Could not unmount target system
The device '/dev/sda3' is mounted in the target system.
It is mounted at '/tmp/calamares-root-7ckays/var'.
The device could not be unmounted.

Calamares install session log indicates a timeout waiting for umount to complete (>10000ms) for /var.

When inspecting the mount state sometime after failure, the partition appeared to be unmounted, suggesting the timeout was not long enough.

Note there may be a relevant info here https://github.com/calamares/calamares/issues/2006

Calamares log session found at
/home/lubuntu.cache/calamares/session.log

Manual partition scheme
Devices mmc (built in eMMC SSD) + sda (USB 3.0 128gb stick formatted ext4)
/dev/mmcblk0p0 /boot/efi fat32
/dev/mmcblk0p1 / ext4
/dev/sda1 /home ext4
/dev/sda2 /usr ext4
/dev/sda3 /var ext4

Revision history for this message
Richard Pratt (rattyp) wrote :
Revision history for this message
Richard Pratt (rattyp) wrote :
Richard Pratt (rattyp)
description: updated
description: updated
description: updated
Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

Looking at the linked bug report, the issue was simply caused by having /var on a separate partition. I tried to do a much more simple scheme with just / and /var (both ext4) and had no problems. Admittedly that bug report seems to be specific to BTRFS and it results in a different error related to trying to unmount something that wasn't mounted. tl;dr all that has nothing to do with your situation.

I have a sneaking suspicion your problem is somewhat related to your hardware itself. So the first thing I would try to do is to reproduce the problem with the exact same setup. Assuming you can do that, I would try to try other permutations as well as try eliminating variables to see if you can figure out what the culprit is. I'd suggest:
 1. Trying to flip which device has which partition scheme
 2. Trying to do the whole partition scheme on one device, then the other
 3. Using a simpler partition scheme, perhaps where the other device has only a /var partition and let /home and /usr just live under /
 4. Using the simpler partition scheme on one device or the other
etc.

Changed in calamares (Ubuntu):
status: New → Incomplete
Revision history for this message
Richard Pratt (rattyp) wrote :

09.03.24 Initial case - Install fails (per bug description)
   Lubuntu 24.04 Daily build 07.03.24 using manual partitioning
   Manual partition scheme
      Devices mmc (built in eMMC SSD) + sda (USB 3.0 128gb stick formatted ext4)
        /dev/mmcblk0p0 /boot/efi fat32
        /dev/mmcblk0p1 / ext4
        /dev/sda1 /home ext4
        /dev/sda2 /usr ext4
        /dev/sda3 /var ext4

15.03.24 Retest - Manual partition scheme with /var on eMMC rather than on USB - install SUCCESS
   Manual partition scheme
      Devices mmc (built in eMMC SSD) + sda (USB 3.0 128gb stick formatted ext4)
        /dev/mmcblk0p0 /boot/efi fat32
        /dev/mmcblk0p1 /var ext4
        /dev/sda1 / ext4

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.