From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from extdelivery1.dodo.com.au (extdelivery1.dodo.com.au [123.2.6.232]) by mail.server123.net (Postfix) with ESMTP for ; Sat, 21 May 2016 21:05:03 +0200 (CEST) Received: from extspam2.internal (extspam2.internal [10.20.4.19]) by extdelivery1.dodo.com.au (Postfix) with ESMTP id 15DB3239FA for ; Sun, 22 May 2016 04:59:08 +1000 (AEST) Received: from extrelay1.dodo.com.au (extrelay1.internal [10.20.4.24]) by extspam2.internal (Postfix) with ESMTP id 0C3BF2040C for ; Sun, 22 May 2016 04:58:50 +1000 (AEST) Received: from hjbmx.ddns.net (101.106.150.122.sta.dodo.net.au [122.150.106.101]) by extrelay1.dodo.com.au (Postfix) with ESMTP id EB15920147 for ; Sun, 22 May 2016 04:58:49 +1000 (AEST) Received: from c7dt.localdomain (unknown [192.168.0.118]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hjbmx.ddns.net (Postfix) with ESMTPSA id 0BD5F1C0F7C for ; Sun, 22 May 2016 04:58:49 +1000 (AEST) References: <066bd431719b6afc60cf696b1a7f6ede@whitehouse.kiwi.nz> From: Hugh Bragg Message-ID: <5740AFE8.5060302@dodo.com.au> Date: Sun, 22 May 2016 04:58:48 +1000 MIME-Version: 1.0 In-Reply-To: <066bd431719b6afc60cf696b1a7f6ede@whitehouse.kiwi.nz> Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: 8bit Subject: Re: [dm-crypt] /sbin/cryptsetup: not found on boot after Grub repair - manual mounting works List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de It sounds like you need to update-grub Assuming your grub configurations haven't changed since the original build, you're probably looking for something like this: https://askubuntu.com/questions/145241/how-do-i-run-update-grub-from-a-livecd Hugh On 22/05/16 00:14, Aaron wrote: > Hello, > > I would really appreciate any help to make my system boot properly > again. I can manually mount my encrypted partitions and they unlock > correctly, so I'm pretty sure that I haven't lost my data, but > something that used to work in the Ubuntu 16.04 boot process to unlock > and boot the partitions must have broken, as whenever I boot now, > typing my password no longer unlocks and boots Ubuntu. Instead it says: > “cryptsetup: cryptsetup failed, bad password or options?” > > If I press escape and get to the console output, it says: > /scripts/local-top/cryptroot: line 1: /sbin/cryptsetup: not found over > and over. > > In case the history is relevant, I recently had to reinstall Windows > on a dual-boot machine. That meant that I had to use boot repair to > get my Grub back. I now have what seems to be a working Grub, but when > I boot into Ubuntu and enter my password into the “Please unlock disk > sda6_crypt”, it fails as described. > http://paste.ubuntu.com/16443425/ > was the output of the boot-repair reconfiguration of Grub. > > I booted in with a live CD and chrooted into my installation. I did an > apt-get update and apt-get upgrade and I see the following in the output: > Processing triggers for initramfs-tools (0.122ubuntu8) ... > update-initramfs: Generating /boot/initrd.img-4.4.0-22-generic > device-mapper: table ioctl on sda6_crypt failed: No such device or > address > Command failed > cryptsetup: WARNING: failed to determine cipher modules to load for > sda6_crypt > > I asked for help here: > https://answers.launchpad.net/ubuntu/+source/cryptsetup/+question/293750 > but nobody has had any ideas so far. > > Any ideas would be greatly, greatly appreciated. > > Kind regards, > > Aaron > _______________________________________________ > dm-crypt mailing list > dm-crypt@saout.de > http://www.saout.de/mailman/listinfo/dm-crypt