You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After replacing the bundled kernel with the hwe version on Ubuntu 22.04 (using replace-kernel) and adding an autoinstall script (using add-autoinstall-config), the installer gets stuck after casper-premount.
Error message: 'mount: mounting /dev/sr0 on /cdrom failed: No such device'
If I remove either of add-autoinstall-config or replace-kernel, booting and installation works fine as expected. However, the combination results in installation getting stuck on this error.
Expected behavior
Being able to both replace the kernel and use autoinstall together.
Hmm. How are you providing the install media to the (I presume) VM? As a cdrom or as some other kind of block device? If you make two livefs_editor invocations, one to replace the kernel and one to add the autoinstall does that work?
This looks like the live media isn't being found for some reason, this is usually because the initrd and media have got out of sync with what UUID they are looking for. But it could be something else I guess.
Thank you! Replacing the kernel in a separate invocation before the rest solved the issue!
I'll just add another step to my build for now 🙂
How are you providing the install media to the (I presume) VM?
As a cdrom using VirtualBox - i.e. Virtual Drive
Totally unrelated to the bug report but I think you need a version: 1 in there.
Thanks for the heads up! It's there in the original source, but I apparently got a bit overboard with reducing to a minimal reproducible example and didn't notice since it was never invoked.
Thank you! Replacing the kernel in a separate invocation before the rest solved the issue! I'll just add another step to my build for now slightly_smiling_face
Huh that's interesting. I should see if I can reproduce this (I haven't tried yet, I admit)
Current behavior
After replacing the bundled kernel with the hwe version on Ubuntu 22.04 (using replace-kernel) and adding an autoinstall script (using add-autoinstall-config), the installer gets stuck after casper-premount.
Error message: 'mount: mounting /dev/sr0 on /cdrom failed: No such device'
If I remove either of
add-autoinstall-config
orreplace-kernel
, booting and installation works fine as expected. However, the combination results in installation getting stuck on this error.Expected behavior
Being able to both replace the kernel and use autoinstall together.
Reproduce
pre-seed.yaml:
Meta
Original ISO Version: Ubuntu Server 22.04 (daily build, downloaded 31.01.2023)
livefs-editor hash: 2dd0179
The text was updated successfully, but these errors were encountered: