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 Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1829805

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

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Context: The live environment appears to function properly and install
  proceeds as expected with no noticeable errors.

  Expected results: After a system reboot the virtual machine enters the
  graphical environment

  Actual Results: After rebooting the virtual machine a kernel panic
  error screen appears. I will attempt to attach the screenshot after
  submitting this bug report.

  The collected data is from the live environment as the installed
  environment will not boot.

  lubuntu@lubuntu:~$ lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu Eoan Ermine (development branch)
  Release:        19.10
  Codename:       eoan

  lubuntu@lubuntu:~$ apt-cache policy grub2
  grub2:
    Installed: (none)
    Candidate: 2.02+dfsg1-12ubuntu2
    Version table:
       2.02+dfsg1-12ubuntu2 500
          500 cdrom://Lubuntu 19.10 _Eoan Ermine_ - Alpha amd64 (20190519) 
eoan/universe amd64 Packages
          500 http://archive.ubuntu.com/ubuntu eoan/universe amd64 Packages

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: grub2 (not installed)
  ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6
  Uname: Linux 5.0.0-13-generic x86_64
  ApportVersion: 2.20.10-0ubuntu27
  Architecture: amd64
  CasperVersion: 1.407
  CurrentDesktop: LXQt
  Date: Tue May 21 00:30:39 2019
  LiveMediaBuild: Lubuntu 19.10 "Eoan Ermine" - Alpha amd64 (20190519)
  SourcePackage: grub2
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to