I was able to re-produce this in a QEMU/KVM setup using https://releases.ubuntu.com/22.04.1/ubuntu-22.04.1-desktop-amd64.iso. My installation also failed at the 'Initializing Key Store' stage, however I failed to copy my logs before deleting the VM. From the attached UbiquitySyslog.txt, I think this is the relevant part:
Jun 2 04:16:53 ubuntu ubiquity: I: Initializing Key Store
Jun 2 04:16:53 ubuntu ubiquity: Device /dev/zvol/rpool/keystore does not exist or access denied.
Jun 2 04:16:53 ubuntu ubiquity[6225]: log-output -t ubiquity /usr/share/ubiquity/zsys-setup init
Jun 2 04:16:53 ubuntu ubiquity[6225]: Starting the installation
Jun 2 04:16:53 ubuntu systemd-udevd[11969]: zd0: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/zd0' failed with exit code 1.
Jun 2 04:16:53 ubuntu ubiquity[6225]: debconffilter_done: ubi-timezone (current: ubi-timezone)
Jun 2 04:16:53 ubuntu ubiquity[6225]: Step_before = stepLocation
Jun 2 04:16:53 ubuntu ubiquity[6225]: switched to page usersetup
Jun 2 04:16:53 ubuntu ubiquity: Traceback (most recent call last):
Jun 2 04:16:53 ubuntu ubiquity: File "/usr/share/ubiquity/install.py", line 769, in <module>
Jun 2 04:16:53 ubuntu ubiquity: install = Install()
Jun 2 04:16:53 ubuntu ubiquity: File "/usr/share/ubiquity/install.py", line 69, in __init__
Jun 2 04:16:53 ubuntu ubiquity: assert os.path.ismount(self.target), \
Jun 2 04:16:53 ubuntu ubiquity: AssertionError: Failed to mount the target: /target
FWIW, I think my error was different, but still at the 'Initializing Key Store' stage.
I was able to re-produce this in a QEMU/KVM setup using https:/ /releases. ubuntu. com/22. 04.1/ubuntu- 22.04.1- desktop- amd64.iso. My installation also failed at the 'Initializing Key Store' stage, however I failed to copy my logs before deleting the VM. From the attached UbiquitySyslog.txt, I think this is the relevant part:
Jun 2 04:16:53 ubuntu ubiquity: I: Initializing Key Store rpool/keystore does not exist or access denied. ubiquity/ zsys-setup init udevd[11969] : zd0: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/zd0' failed with exit code 1. ubiquity/ install. py", line 769, in <module> ubiquity/ install. py", line 69, in __init__ ismount( self.target) , \
Jun 2 04:16:53 ubuntu ubiquity: Device /dev/zvol/
Jun 2 04:16:53 ubuntu ubiquity[6225]: log-output -t ubiquity /usr/share/
Jun 2 04:16:53 ubuntu ubiquity[6225]: Starting the installation
Jun 2 04:16:53 ubuntu systemd-
Jun 2 04:16:53 ubuntu ubiquity[6225]: debconffilter_done: ubi-timezone (current: ubi-timezone)
Jun 2 04:16:53 ubuntu ubiquity[6225]: Step_before = stepLocation
Jun 2 04:16:53 ubuntu ubiquity[6225]: switched to page usersetup
Jun 2 04:16:53 ubuntu ubiquity: Traceback (most recent call last):
Jun 2 04:16:53 ubuntu ubiquity: File "/usr/share/
Jun 2 04:16:53 ubuntu ubiquity: install = Install()
Jun 2 04:16:53 ubuntu ubiquity: File "/usr/share/
Jun 2 04:16:53 ubuntu ubiquity: assert os.path.
Jun 2 04:16:53 ubuntu ubiquity: AssertionError: Failed to mount the target: /target
FWIW, I think my error was different, but still at the 'Initializing Key Store' stage.