bionic install with D-I produces corrupt filesystem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
finish-install (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Repro:
1) install to empty disk image from ubuntu-
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/
May 17 22:57:39 finish-install: info: Running /usr/lib/
May 17 22:57:39 finish-install: info: Running /usr/lib/
May 17 22:57:39 finish-install: info: Running /usr/lib/
May 17 22:57:39 finish-install: info: Running /usr/lib/
May 17 22:57:39 finish-install: info: Running /usr/lib/
May 17 22:57:40 finish-install: info: Running /usr/lib/
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/
May 17 22:57:40 finish-install: info: Running /usr/lib/
May 17 22:57:40 finish-install: warning: /usr/lib/
May 17 22:57:40 finish-install: info: Running /usr/lib/