[Bug 1871689] Re: Installer hangs idle before populating root-fs with directories, "Saving installed packages..."
TJ
ubuntu at iam.tj
Wed Apr 8 20:10:26 UTC 2020
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 at 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 ---
Apr 8 20:01:02 xubuntu ubiquity: + db_progress START 0
Apr 8 20:01:02 xubuntu ubiquity: 1 ubiquity/install/title
Apr 8 20:01:02 xubuntu ubiquity: + _db_cmd PROGRESS START
Apr 8 20:01:02 xubuntu ubiquity: 0 1 ubiquity/install/title
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/install/title
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/install/apt_clone_save
Apr 8 20:01:02 xubuntu ubiquity: + _db_cmd PROGRESS INFO ubiquity/install/apt_clone_save
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/install/apt_clone_save
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
Apr 8 20:01:02 xubuntu ubiquity: + [ -n /dev/mapper/ELLOE00-var ]
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
Apr 8 20:01:02 xubuntu ubiquity: mount: /tmp/tmp.GRbQsIC1FI/var: mount point does not exist.
Apr 8 20:01:02 xubuntu ubiquity[24878]: debconffilter_done: ubiquity.components.partman_commit (current: ubi-timezone)
Apr 8 20:01:04 xubuntu ubiquity[24878]: switched to page timezone
Apr 8 20:01:06 xubuntu localechooser: info: debian-installer/language preseeded to 'en_GB:en' (seen: false)
Apr 8 20:01:06 xubuntu localechooser: info: debian-installer/country preseeded to 'GB' (seen: true)
Apr 8 20:01:06 xubuntu localechooser: info: debian-installer/locale preseeded to 'en_GB.UTF-8' (seen: true)
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;0;US;en_US.UTF-8;;console-setup
Apr 8 20:01:06 xubuntu localechooser: info: Set debian-installer/language = 'en'
Apr 8 20:01:06 xubuntu localechooser: info: Default country = 'US'
Apr 8 20:01:06 xubuntu localechooser: info: Default locale = 'en_US.UTF-8'
Apr 8 20:01:06 xubuntu localechooser: info: Set debian-installer/consoledisplay = 'console-setup'
Apr 8 20:01:06 xubuntu localechooser: info: Set debian-installer/country = 'GB'
Apr 8 20:01:07 xubuntu localechooser: info: Set debian-installer/locale = 'en_GB.UTF-8'
Apr 8 20:01:07 xubuntu localechooser: info: System locale (debian-installer/locale) = 'en_GB.UTF-8'
Apr 8 20:01:07 xubuntu localechooser: info: Set debian-installer/language = 'en_GB:en'
Apr 8 20:01:07 xubuntu ubiquity[24878]: Not installing yet, partitioned: False, timezone_set True
Apr 8 20:01:07 xubuntu ubiquity[24878]: debconffilter_done: ubi-timezone (current: ubi-timezone)
Apr 8 20:01:07 xubuntu ubiquity[24878]: Step_before = stepLocation
Apr 8 20:01:07 xubuntu ubiquity[24878]: switched to page usersetup
Apr 8 20:01:28 xubuntu ubiquity[24878]: debconffilter_done: ubi-usersetup (current: ubi-usersetup)
Apr 8 20:01:28 xubuntu ubiquity[24878]: Step_before = stepUserInfo
** Description changed:
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 at xubuntu:~# mount | grep rootfs
/dev/mapper/ELLOE00-rootfs on /tmp/tmp.woX6753mbL type ext4 (rw,relatime)
root at xubuntu:~# find /tmp/tmp.woX6753mbL/
/tmp/tmp.woX6753mbL/
/tmp/tmp.woX6753mbL/lost+found
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubiquity 20.04.9
ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
Uname: Linux 5.4.0-21-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu24
Architecture: amd64
CasperVersion: 1.443
Date: Wed Apr 8 19:36:52 2020
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/xubuntu.seed quiet splash ---
LiveMediaBuild: Xubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200408)
ProcEnviron:
- TERM=xterm-256color
- PATH=(custom, no user)
- LANG=C.UTF-8
- SHELL=/bin/bash
+ TERM=xterm-256color
+ PATH=(custom, no user)
+ LANG=C.UTF-8
+ SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1871689
Title:
Installer hangs idle before populating root-fs with directories,
"Saving installed packages..."
Status in ubiquity package in Ubuntu:
New
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 at xubuntu:~# mount | grep rootfs
/dev/mapper/ELLOE00-rootfs on /tmp/tmp.woX6753mbL type ext4 (rw,relatime)
root at xubuntu:~# find /tmp/tmp.woX6753mbL/
/tmp/tmp.woX6753mbL/
/tmp/tmp.woX6753mbL/lost+found
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubiquity 20.04.9
ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
Uname: Linux 5.4.0-21-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu24
Architecture: amd64
CasperVersion: 1.443
Date: Wed Apr 8 19:36:52 2020
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/xubuntu.seed quiet splash ---
LiveMediaBuild: Xubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200408)
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1871689/+subscriptions
More information about the foundations-bugs
mailing list