Calamares Install fail - Lubuntu Noble 24.04 - Could not unmount target system
This bug report will be marked for expiration in 12 days if no further activity occurs. (find out why)
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
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:/
Calamares log session found at
/home/lubuntu.
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
description: | updated |
description: | updated |
description: | updated |
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.