The problem seems to be in the calamares configuration. The initramfs
task is being called before the target's live-* packages have been
removed. This is specifically warned about in the calamares initramfs
module but we see the timestamps of the initramfs task are before the
live-* packages are removed:

# in the live system

root@lubuntu:/usr/lib/x86_64-linux-gnu/calamares/modules/initramfs# cat
README.md

## initramfs module

This module is specific to Debian based distros. Post installation on Debian
the initramfs needs to be updated so as to not interrupt the boot process
with a error about fsck.ext4 not being found.

## Debian specific notes

If you're using live-build to build your ISO and setup the runtime env
make sure that you purge the live-\* packages on the target system
before running this module, since live-config dpkg-diverts update-initramfs
and can cause all sorts of fun issues.


#
# chroot to the installed target
#

root@lubuntu:/# grep -n initramfs /var/log/installer/debug
81:     "/etc/calamares/modules/initramfscfg.conf" 
82:     "/usr/share/calamares/modules/initramfscfg.conf" 
84:     "/etc/calamares/modules/initramfs.conf" 
85:     "/usr/share/calamares/modules/initramfs.conf" 
313:2019-06-18 - 21:25:43 [6]: Starting job "initramfscfg" 
316:2019-06-18 - 21:25:43 [6]: Job file 
"/usr/lib/x86_64-linux-gnu/calamares/modules/initramfscfg/main.py" 
317:2019-06-18 - 21:25:43 [6]: Job description from pretty_name "initramfscfg" 
= "Configuring initramfs." 
318:2019-06-18 - 21:25:43 [6]: Starting job "initramfs" 
321:2019-06-18 - 21:25:43 [6]: Job file 
"/usr/lib/x86_64-linux-gnu/calamares/modules/initramfs/main.py" 
322:2019-06-18 - 21:25:43 [6]: Job description from pretty_name "initramfs" = 
"Creating initramfs." 
323:2019-06-18 - 21:25:43 [6]: Running "chroot" 
("/tmp/calamares-root-kp3scv8s", "update-initramfs", "-k", "all", "-c", "-t") 


root@lubuntu:/# cat /var/log/apt/history..log
...
Start-Date: 2019-06-18  21:26:38
Commandline: apt-get --purge -q -y remove ^live-* calamares-settings-lubuntu 
calamares hunspell-en-us zram-config cifs-utils
Purge: hunspell-en-us:amd64 (1:2018.04.16-1), calamares-settings-lubuntu:amd64 
(1:19.10.1), casper:amd64 (1.408), lupin-casper:amd64 (0.57build1), 
calamares:amd64 (3.2.7-0ubuntu1), cifs-utils:amd64 (2:6.8-2), 
calamares-settings-ubuntu-common:amd64 (1:19.10.1), zram-config:amd64 (0.5)
End-Date: 2019-06-18  21:26:48

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1829805

Title:
  Lubuntu Eoan Daily Image fails to boot after install on KVM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1829805/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to