[Bug 1070934] Re: /scripts/local/cryptroot can't find /dev/mapper/vgubuntu-root

Steve Langasek steve.langasek at canonical.com
Thu Nov 8 07:52:40 UTC 2012


On Wed, Nov 07, 2012 at 04:19:56PM -0000, flrtx wrote:
> Since there has been no activity here since a few days now and I have to
> manually select the right kernel at every boot, I'd like to reask my
> question: Is it a good idea to run "update-initramfs -u -k all" or do I
> risk loosing the working initramfs for the 3.2 kernel?

You definitely *don't* want to do that, that will regenerate the initramfs
for the previous kernel and there's a very good chance it will cause it to
be affected by this issue.  Sorry, hadn't replied yet because I was hoping
to be able to make a suggestion for how to debug the actual issue - it's
still not clear to me what's happening here and how to debug it.

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

Title:
  /scripts/local/cryptroot can't find /dev/mapper/vgubuntu-root

Status in “cryptsetup” package in Ubuntu:
  Incomplete

Bug description:
  I upgraded my netbook from Ubuntu 12.04 to 12.10 and now it won't boot.
  It is encrypted using cryptsetup and a LVM with a sperate home partition, that means 4 partitions in total:
  - /dev/sda1 unencrypted, mounted to /boot
  - /dev/sda2 encrypted as lukslvm containing vgubuntu-root (/), vgubuntu-home (/home) and swap

  After I've typed in my password, I get the following error message:
  /scripts/local/cryptroot: line 1: can't open /dev/mapper-vgubuntu-root: no such file

  Then, some other processes are started but at some point everything
  just stops and I don't get to a working system.

  I appreciate any kind of help. My computer simply doesn't work at all
  so I'd be glad if this could be solved soon. Thanks.

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




More information about the foundations-bugs mailing list