It would appear this message comes from:

eval $(fstype < "$NEWROOT")

on line 295 of:

/usr/share/initramfs-tools/scripts/local-top/cryptroot

It seems to be a timing issue. An extra udev_settle seems to fix it:

udev_settle
eval $(fstype < "$NEWROOT")

Then rebuild the initramfs:

update-initramfs -u

To be honest I'm not exactly sure it's udev it's waiting for or whether
this just introduced a delay. I don't expect it to fix much apart from
the message. I still had a bootable system even with the message.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1273261

Title:
  Cryptsetup error during boot: /scripts/local-top/cryptroot: line 1:
  can't open /dev/mapper/ubuntu--vg-root: no such file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1273261/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to