Installer hangs idle before populating root-fs with directories, "Saving installed packages..."
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Trying to install the Xubuntu 20200408 amd64 ISO from USB, Try (safe graphics mode) on Lenovo E495 (AMD Ryzen 7 mobile CPU) - not sure if the CPU might have something to do with this but probably not.
Nothing obvious in the logs I've checked.
Currently the system has been sitting idle for almost 2 hours with the ubiquity GUI showing "Saving installed packages...".
I'm doing a custom partitioning that I've done for years.
Before the installer is started I use gdisk to create the EFI-SP and 2 dm-crypt partitions for /boot/ and LVM respectively.
I use cryptsetup luksFormat --type=xxx ... on the partitions then open them as LUKS_BOOT and LUKS_VG respectively.
I create the VG and several LVs for rootfs, var, home, usr_local.
I format each as ext4 with labels matching the LV name, and format LUKS_BOOT as well.
I format the EFI-SP as vfat with FAT16.
In partman's "Something Else" I then select each LV and set its mountpoint and do not choose to format it (again) since I wish to retain the labels.
I get passed the User Info questions then it idles whilst showing "Saving installed packages...".
The root file-system directory structure hasn't been created:
root@xubuntu:~# mount | grep rootfs
/dev/mapper/
root@xubuntu:~# find /tmp/tmp.
/tmp/tmp.
/tmp/tmp.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubiquity 20.04.9
ProcVersionSign
Uname: Linux 5.4.0-21-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu24
Architecture: amd64
CasperVersion: 1.443
Date: Wed Apr 8 19:36:52 2020
InstallCmdLine: BOOT_IMAGE=
LiveMediaBuild: Xubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200408)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)
Reviewing the source it looks to be stalling in partman/ finish. d/apt_clone_ save
I added 'set -x' to top of that file in the live system and captured the following in its syslog. Looks like there's a failure to create the root-fs directory structure and so there is no mountpoint for the /var/ file-system:
xubuntu@xubuntu:~$ ls -latr /tmp/tmp. GRbQsIC1FI/
total 20
drwx------ 2 root root 16384 Apr 8 17:02 lost+found
drwxr-xr-x 3 root root 4096 Apr 8 17:02 .
drwxrwxrwt 20 root root 500 Apr 8 21:06 ..
--- syslog --- install/ title install/ title install/ title install/ apt_clone_ save install/ apt_clone_ save install/ apt_clone_ save
Apr 8 20:01:02 xubuntu ubiquity: + db_progress START 0
Apr 8 20:01:02 xubuntu ubiquity: 1 ubiquity/
Apr 8 20:01:02 xubuntu ubiquity: + _db_cmd PROGRESS START
Apr 8 20:01:02 xubuntu ubiquity: 0 1 ubiquity/
Apr 8 20:01:02 xubuntu ubiquity: + _db_internal_IFS= #011
Apr 8 20:01:02 xubuntu ubiquity:
Apr 8 20:01:02 xubuntu ubiquity: + IFS=
Apr 8 20:01:02 xubuntu ubiquity: + printf %s\n PROGRESS START 0 1 ubiquity/
Apr 8 20:01:02 xubuntu ubiquity: + IFS=
Apr 8 20:01:02 xubuntu ubiquity:
Apr 8 20:01:02 xubuntu ubiquity: + read -r _db_internal_line
Apr 8 20:01:02 xubuntu ubiquity: + IFS= #011
Apr 8 20:01:02 xubuntu ubiquity:
Apr 8 20:01:02 xubuntu ubiquity: + RET=OK
Apr 8 20:01:02 xubuntu ubiquity: + return 0
Apr 8 20:01:02 xubuntu ubiquity: + db_progress INFO ubiquity/
Apr 8 20:01:02 xubuntu ubiquity: + _db_cmd PROGRESS INFO ubiquity/
Apr 8 20:01:02 xubuntu ubiquity: + _db_internal_IFS= #011
Apr 8 20:01:02 xubuntu ubiquity:
Apr 8 20:01:02 xubuntu ubiquity: + IFS=
Apr 8 20:01:02 xubuntu ubiquity: + printf %s\n PROGRESS INFO ubiquity/
Apr 8 20:01:02 xubuntu ubiquity: + IFS=
Apr 8 20:01:02 xubuntu ubiquity:
Apr 8 20:01:02 xubuntu ubiquity: + read -r _db_internal_line
Apr 8 20:01:02 xubuntu ubiquity: + IFS= #011
Apr 8 20:01:02 xubuntu ubiquity:
Apr 8 20:01:02 xubuntu ubiquity: + RET=OK
Apr 8 20:01:02 xubuntu ubiquity: + return 0
Apr 8 20:01:02 xubuntu ubiquity: + mount /dev/mapper/ ELLOE00- rootfs /tmp/tmp.GRbQsIC1FI ELLOE00- var ]
Apr 8 20:01:02 xubuntu ubiquity: + [ -n /dev/mapper/
Apr 8 20:01:02 xubuntu kernel: [ 3188.701770] EXT4-fs (dm-2): mounted filesystem with ordered data mode. Opts: (null)
Apr 8 20:01:02 xubuntu ubiquity: + mount /dev/mapper/ ELLOE00- var /tmp/tmp. GRbQsIC1FI/ var GRbQsIC1FI/ var: mount point does not exist.
Apr 8 20:01:02 xubuntu ubiquity: mount: /tmp/tmp.
Apr 8 20:01:02 xubuntu ubiquity[24878]: debconffilter_done: ubiquity. components. partman_ commit (current: ubi-timezone) installer/ language preseeded to 'en_GB:en' (seen: false) installer/ country preseeded to 'GB' (seen: true) installer/ locale preseeded to 'en_GB.UTF-8' (seen: true) 0;US;en_ US.UTF. ..
Apr 8 20:01:04 xubuntu ubiquity[24878]: switched to page timezone
Apr 8 20:01:06 xubuntu localechooser: info: debian-
Apr 8 20:01:06 xubuntu localechooser: info: debian-
Apr 8 20:01:06 xubuntu localechooser: info: debian-
Apr 8 20:01:06 xubuntu localechooser: info: Preseeded language ignored: unknown language code
Apr 8 20:01:06 xubuntu localechooser: info: Language = 'en'
Apr 8 20:01:06 xubuntu localechooser: info: line=en;