Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #175591

Re: Wheezy no longer accepts my passwords to open /home and /mnt partitions on boot

Path csiph.com!2.us.feeder.erje.net!feeder.erje.net!2.eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news.unit0.net!news.panservice.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From Pascal Hambourg <pascal@plouf.fr.eu.org>
Newsgroups linux.debian.user
Subject Re: Wheezy no longer accepts my passwords to open /home and /mnt partitions on boot
Date Fri, 09 Dec 2016 21:30:01 +0100
Message-ID <sMzXP-7Mo-3@gated-at.bofh.it> (permalink)
References <sM041-2pi-11@gated-at.bofh.it> <sMk2K-6sN-13@gated-at.bofh.it>
X-Original-To debian-user@lists.debian.org
X-Mailbox-Line From debian-user-request@lists.debian.org Fri Dec 9 20:28:17 2016
Old-Return-Path <pascal@plouf.fr.eu.org>
X-Amavis-Spam-Status No, score=-6.9 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
User-Agent Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.4.0
MIME-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 8bit
X-Mailing-List <debian-user@lists.debian.org> archive/latest/715164
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/63dab533-97b9-7e8c-df0e-0e36e695533e@plouf.fr.eu.org
Approved robomod@news.nic.it
Lines 45
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 9 Dec 2016 21:27:59 +0100
X-Original-Message-ID <63dab533-97b9-7e8c-df0e-0e36e695533e@plouf.fr.eu.org>
X-Original-References <96FAD103-0864-4472-9005-500E2787E3EF@teksavvy.com> <62a4c693-1067-d08e-4a43-9aef1b48528a@holgerdanske.com>
Xref csiph.com linux.debian.user:175591

Show key headers only | View raw


Le 09/12/2016 à 04:26, David Christensen a écrit :
> On 12/07/16 22:06, Ken Heard wrote:
>> In my Wheezy box I have two encrypted hard drive partitions,
>> /dev/mapper/md07_crypt for /home and /dev/mapper/md05_crypt for /mnt.
(...)
>> This morning, when I tried to boot this box, I found that the
>> passwords for those two partitions were not accepted.
(...)
>> BOOT was not cleanly unmounted, check forced.
>> BOOT: 245/120960 files (20.4% non-contiguous) 58505/241664 blocks
>> Fsck.ext4 No such file or directory while trying to open
>> /dev/mapper/md07_crypt.
>> Possibly non-existent device?
>> VAR: recovering journal

Looks like some other filesystems were not cleanly unmounted. Could it 
be related ?

>> [warn] A maintenance shell will now be started. CONTROL-D will
>> terminate the shell and resume system boot ... (warning)
>> Give root password form maintenance
>> (or type CONTROL-D to continue):
>>
>> After entering the root password the root bang appeared.
(...)
>> I hope that somebody or bodies can tell me what to do to make this
>> computer usable again -- short of having to do a completely new
>> installation.

It depends what you mean by "usable".
If you just want to complete the init process, then comment out the 
/home line in /etc/fstab.

The first things you want to do is to check that /dev/md* exist and are 
active, and check the keyboard layout by typing the passphrases in 
cleartext.

> If you don't care about the data on that drive, wipe it and do a fresh
> install.
>
> If you do care and don't have a backup

Then you are a fool. Encryption means "I prefer losing the data than 
having it disclosed". I guess you didn't make a backup of the master key 
or the LUKS header with cryptsetup ?

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Wheezy no longer accepts my passwords to open /home and /mnt partitions on boot Ken Heard <kenslists@teksavvy.com> - 2016-12-08 07:10 +0100
  Re: Wheezy no longer accepts my passwords to open /home and /mnt  partitions on boot David Christensen <dpchrist@holgerdanske.com> - 2016-12-09 04:30 +0100
    Re: Wheezy no longer accepts my passwords to open /home and /mnt  partitions on boot Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-12-09 21:30 +0100

csiph-web