bionic install with D-I produces corrupt filesystem

Bug #1771901 reported by Doug Zongker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
finish-install (Ubuntu)
New
Undecided
Unassigned

Bug Description

Repro:
1) install to empty disk image from ubuntu-18.04-server-amd64.iso
2) accept all defaults except don't use LVM (not sure if this makes a difference, but I pick "Guided - use entire disk")
3) run e2fsck on resulting disk image, see errors

I think this happens because the target disk is not correctly unmounted prior to being powered off:

May 17 22:57:39 finish-install: info: Running /usr/lib/finish-install.d/65partman-md
May 17 22:57:39 finish-install: info: Running /usr/lib/finish-install.d/70mtab
May 17 22:57:39 finish-install: info: Running /usr/lib/finish-install.d/90base-installer
May 17 22:57:39 finish-install: info: Running /usr/lib/finish-install.d/90console
May 17 22:57:39 finish-install: info: Running /usr/lib/finish-install.d/94random-seed
May 17 22:57:39 finish-install: info: Running /usr/lib/finish-install.d/94save-logs
May 17 22:57:40 finish-install: info: Running /usr/lib/finish-install.d/95umount
May 17 22:57:40 finish-install: umount: can't unmount /target: Device or resource busy
May 17 22:57:40 finish-install: umount: can't unmount /dev/pts: Device or resource busy
May 17 22:57:40 finish-install: umount: can't unmount /dev: Device or resource busy
May 17 22:57:40 finish-install: umount: can't unmount /run: Device or resource busy
May 17 22:57:40 finish-install: umount: can't unmount /: Invalid argument
May 17 22:57:40 finish-install: info: Running /usr/lib/finish-install.d/97release-dhcp-lease
May 17 22:57:40 finish-install: info: Running /usr/lib/finish-install.d/98exit-installer
May 17 22:57:40 finish-install: warning: /usr/lib/finish-install.d/98exit-installer returned error code 1
May 17 22:57:40 finish-install: info: Running /usr/lib/finish-install.d/99reboot

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.