From: "Javier Juan Martínez Cabezón" <tazok.id0@gmail.com>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] How to manipulate an encrypted partition in a switched_root environment.
Date: Tue, 05 Jun 2012 15:46:25 +0200 [thread overview]
Message-ID: <4FCE0DB1.4040601@gmail.com> (raw)
In-Reply-To: <4FCDF62E.5010701@dataways.gr>
>
> Inside the switched_root system, I do e2fsck or dumpe2fs on /dev/sda2,
> where sda2 is that encrypted partitionand it returns: bad superblock and
> stuff like this.In the ramdisk I had the /dev/mapper/enc device, but in
> switched_root system I don't have it. I only have /dev/mapper/control.
Since sda2 is encrypted e2fsck cant find superblock and fs data. You
must pass e2fsck to the fs unlocked.
Look for which device is mounted as rootfs and do e2fsck to this one.
prev parent reply other threads:[~2012-06-05 13:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-05 12:06 [dm-crypt] How to manipulate an encrypted partition in a switched_root environment Tamateas Kostas
2012-06-05 13:46 ` Javier Juan Martínez Cabezón [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FCE0DB1.4040601@gmail.com \
--to=tazok.id0@gmail.com \
--cc=dm-crypt@saout.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox