I have Ubuntu 15.04 with a default full disk encryption installed on my chromebook Pixel with linux-samus kernel patch and everything is working fine. I've just tried compiling a newer version of the kernel (4.1), but when I'm trying to boot it I'm getting an error where I would normally enter the disk encryption password:

Cannot initialize device-mapper. Is dm_mod kernel module loaded?

I'm guessing something is missing in kernel config, any idea what that is? This is the kernel config file.

  • I don't see any BLK_DEV_DM (aka «Device Mapper Support») in your kernel config. That sure could explain your issue.
    – user86969
    Jun 21, 2015 at 16:12
  • @Nasha Should I add something like BLK_DEV_DM=y somewhere then?
    – Caballero
    Jun 21, 2015 at 16:26
  • No, definitely not. You should instead run make menuconfig (or make nconfig) and check it from there. It's under «Device drivers» > «Multiple devices driver support (RAID and LVM)» > «Device mapper support». Put a star in front of the latter.
    – user86969
    Jun 21, 2015 at 16:34
  • @Nasha It works, you should make it an answer.
    – Caballero
    Jun 21, 2015 at 17:13

1 Answer 1


The Device Mapper driver is missing. Run make nconfig or make menuconfig:

    Device Drivers  --->
    [*] Multiple devices driver support (RAID and LVM)  --->
        <*>   Device mapper support

and recompile your kernel.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.